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 RX and TX seem to be backwards on pinmap #282

Open
Liamolucko opened this issue Feb 13, 2021 · 1 comment
Open

UART RX and TX seem to be backwards on pinmap #282

Liamolucko opened this issue Feb 13, 2021 · 1 comment

Comments

@Liamolucko
Copy link

Liamolucko commented Feb 13, 2021

Description

The V2 pinmap claims that UART_INTERNAL_RX is P0.06, and UART_INTERNAL_TX is P1.08 - however, they're the other way round in CODAL, and that's the way which actually seems to work:

#define MICROBIT_PIN_UART_TX                        P0_06
#define MICROBIT_PIN_UART_RX                        P1_08

Expected behaviour

UART_INTERNAL_RX should be P1.08, and UART_INTERNAL_TX should be P0.06.

It's possible I might be misunderstanding something though, so please tell me if I'm wrong.

Screenshots

image

@microbit-mark
Copy link
Contributor

Thanks for raising this. The data on this page is taken directly from the schematic. As you identify, in practice it seems like the labelling is the opposite way round. I believe the labels are taken from the interface perspective and not the target, which is why the labelling is confusing.

I have raised an issue to update the schematic. We will also update the page in the developer docs to add a note to clarify the UART pins

microbit-foundation/microbit-v2-hardware#5

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

2 participants