Using the internal UART on RPi Zero?
Tristan M. (2946) 1036 posts |
I realised that my idea to make testing code on my Orange Pi PC using an esp8266 to control some things was over complicated. At it’s simplest it could be achieved using the UART pins on the GPIO conneccted directly to the UART pins of the OPiPC, and a GPIO pin to drive an electronic relay for power to the OPiPC. I started experimenting and realised I’d been here before and admitted defeat. The Pi UART in RO only appears to be able to receive and not transmit. I searched the internet for an explanation but found none. I tested the UART with an esp8266 and the Orange Pi PC. Same result. I also tried configuring the TX pin, and changing pullup settings just in case, but still nothing. |
Tristan M. (2946) 1036 posts |
I worked it out. To use internal32 on the Raspberry Pi Zero, I had to do the following with !Connector. Go to Choices → Serial Interface: Internal32 (obviously) Hit “OK” Going back to the menu, Output buffer returns to being ticked with 0 bytes. I cancel’d out of that. Just using a loopback connector for now, but this is good. It’s what I’ve wanted for the last couple of years honestly. The internal UART in RISC OS. |