Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UART on Pi zero #428

Open
eiffel31 opened this issue Sep 29, 2021 · 4 comments
Open

UART on Pi zero #428

eiffel31 opened this issue Sep 29, 2021 · 4 comments

Comments

@eiffel31
Copy link

On this page https://pinout.xyz/pinout/uart#
UARTs available for Pi 2, 3, 4 are listed. Adding Pi zero could be helpful.

Thanks for this very practical website.

@lurch
Copy link
Contributor

lurch commented Sep 29, 2021

The pinout on the Pi Zero is identical to the pinout on the Pi2 & Pi3 (and the Pi1 A+ / B+).

@lurch
Copy link
Contributor

lurch commented Sep 29, 2021

I've also just spotted that that page lists GPIOs 0, 4, 8, 12 & 14 as "TXD" and GPIOs 1, 5, 9, 13 & 15 as "RXD"; but fails to differentiate that some are for different UARTs.

And I was confused by GPIOs 0, 1, 4, 5, 8 & 9 being listed as UART pins, when https://elinux.org/RPi_BCM2835_GPIOs claims that they aren't, until I realised that this is also including the UART pins for Pi4 https://elinux.org/RPi_BCM2711_GPIOs
(In which case, https://pinout.xyz/pinout/i2c and https://pinout.xyz/pinout/spi should probably also list the additional I2C and SPI pins available on the Pi 4? See also #322 )

Gadgetoid added a commit that referenced this issue Oct 26, 2021
Add an new "supported:" property to overlay pins in order to declare which Pi versions this feature is supported on.
@Gadgetoid
Copy link
Collaborator

Raised a new PR - #431 - to try and address this.

Looks like the elinux wiki has a bug, listing GPIO3 both for UART2 CTS and RTS. I've assumed so and labelled GPIO2/GPIO3.

@lurch
Copy link
Contributor

lurch commented Oct 27, 2021

Looks like the elinux wiki has a bug, listing GPIO3 both for UART2 CTS and RTS.

I've just fixed that typo, thanks 👍 (the big table above that was correct, the typo was only in the second table)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants