Skip to content

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

Open

Description

@Liamolucko

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

Activity

  1. microbit-mark commented on Dec 8, 2021

    @microbit-mark
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions