0

Here is what I am trying to do: log on to linux running on a raspberry pi zero 2 W. But I also want to use the "real" UART PL011 (NOT the mini uart) for RS485 (modbus) at the same time.

On the arduino I had used previously I could use SoftwareSerial to get an extra serial port which worked reliably. I have to run the UART at 9600 baud 8 bit no parity 1 stop bit CRC. I suppose if the mini uart worked okay that would be acceptable but worse. The biggest problem is I keep reading

"The bluetooth/wireless module is disabled when you enable the PL011"

but no one says if the wifi specifically is disabled. I would try it but I am afraid to brick it due to the chip shortage. I found https://github.com/raspberrypi/documentation/blob/develop/documentation/asciidoc/computers/configuration/uart.adoc. Also if the linux console was previously on the PL011 (pins GPIO14,GPIO15) could I even log on at all or even brick the darn thing?

Is there some standard documentation I have not found yet? recommendation? thanx. I have no interest in bluetooth but would very much like to log on to the thing somehow preferably wifi and usb/serial as a backup.

1 Answers1

0

See How do I make serial work on the Raspberry Pi3 or later - specifically
"Finally if you don't use Bluetooth (or have undemanding uses) it is possible to swap the ports back in Device Tree. There is a miniuart-bt and disable-bt module which are described in /boot/overlays/README."

dtoverlay -h miniuart-bt will show help for miniuart-bt

NOTHING you can do in software will "brick the darn thing"

Milliways
  • 62,573
  • 32
  • 113
  • 225