![]() The /dev/ttyAMA0 previously used to access the UART now connects to Bluetooth. This has a number of consequences for users of the serial interface. (The BCM2711 on the Pi4 has additional UARTs, but the same 2 UARTs as BCM2837 are used for default serial on pins 8 & 10 and Bluetooth.) The BCM2837 on the Raspberry Pi3, Pi3B+, Pi3A+, PiZeroW has 2 UARTs (as did its predecessors), however to support the Bluetooth functionality the fully featured PL011 UART was moved from the header pins to the Bluetooth chip and the mini UART made available on header pins 8 & 10. Then use /dev/serial0 in any code which accesses the Serial Port. This answer is still correct, and explains in more detail the nature of the changes, but most users of current Raspbian should just run sudo raspi-config Select Interfacing Options / Serial then specify if you want a Serial console (probably no) then if you want the Serial Port hardware enabled (probably yes).
0 Comments
Leave a Reply. |