Code: Select all
pi@raspberrypi:~ $ raspi-gpio get 14
GPIO 14: level=1 fsel=4 alt=0 func=TXD0
pi@raspberrypi:~ $ raspi-gpio get 15
GPIO 15: level=1 fsel=4 alt=0 func=RXD0
Code: Select all
pi@raspberrypi:~ $ raspi-gpio get 14
GPIO 14: level=1 fsel=4 alt=0 func=TXD0
pi@raspberrypi:~ $ raspi-gpio get 15
GPIO 15: level=1 fsel=4 alt=0 func=RXD0
Code: Select all
dtoverlay=pi3-miniuart-bt
enable_uart=1
Code: Select all
● hciuart.service - Configure Bluetooth Modems connected by UART
Loaded: loaded (/lib/systemd/system/hciuart.service; enabled)
Active: activating (start) since Fri 2016-09-23 14:46:04 UTC; 33s ago
Control: 420 (hciattach)
CGroup: /system.slice/hciuart.service
└─420 /usr/bin/hciattach /dev/serial1 bcm43xx 460800 noflow -
Code: Select all
● hciuart.service - Configure Bluetooth Modems connected by UART
Loaded: loaded (/lib/systemd/system/hciuart.service; enabled)
Active: failed (Result: exit-code) since Fri 2016-09-23 14:46:42 UTC; 1min 38s ago
Process: 420 ExecStart=/usr/bin/hciattach /dev/serial1 bcm43xx 460800 noflow - (code=exited, status=1/FAILURE)
Code: Select all
dtoverlay=pi3-miniuart-bt
core_freq=250
Code: Select all
ExecStart=/usr/bin/hciattach /dev/serial1 bcm43xx 460800 noflow -
@PhilE,PhilE wrote:With pi3-miniuart-bt applied, enable_uart=1 does nothing at all because the uart is enabled by default.
Code: Select all
dtoverlay=pi3-disable-bt
Code: Select all
sudo systemctl disable hciuart
Code: Select all
dtoverlay=pi3-disable-bt
Code: Select all
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=....
Code: Select all
sudo service disable hciuart
Code: Select all
disable: unrecognized service
Try running:yoodog wrote:but running
Code: Select all
sudo service disable hciuart
gave me this
Code: Select all
disable: unrecognized service
Code: Select all
sudo systemctl disable hciuart
A bad '/boot/cmdline.txt' file can crash a Pi. The only part you should remove from this file is "console=serial0,115200", the rest of the file must stay exactly as it is. The '/boot/cmdline.txt' file must only contain 1 line, take care not to split the line when editing, and do not try to add comments.yoodog wrote:and removed this from cmdline.txt.
Code: Select all
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=....
after reboot Pi fails with VFS panic - odd, will try again on a clean install of latest noob.
Well spotted - I've corrected my post. Thanks.sudo systemctl disable hciuart
Code: Select all
sudo systemctl disable hciuart
Code: Select all
dtoverlay=pi3-disable-bt
Code: Select all
ls -l /dev/serial*
PhilE wrote:Those 54 GPIOs are the full complement of those provided by the BCM283x. TXD0 and RXD0 are on GPIOs 32 and 33 because ttyAMA0 is used to drive the Bluetooth modem on a Pi3. I can also tell from that output that you don't have "enable_uart=1" in config.txt, otherwise TXD1 and RXD1 (ttyS0) would be selected on GPIOs 14 and 15.
Not possible. The only accessible GPIO pins that can be used to connect to the Pi's UARTs are physical pins 8 &10, so you can only connect to 1 UART. This applies to all models of the Pi, except the Compute Module series.rodizio wrote:Now I would like to:
- Disable BT and have both the hardware and software serial ports accessible on some pins for external connections.
- Do the same on the Pi Zero and Pi1/2
Is that possible somehow?