microbit-foundation / dev-docs

The content of the tech.microbit.org site
https://tech.microbit.org
Other
55 stars 70 forks source link

hardware/schematic.md #392

Open vdarshak opened 1 year ago

vdarshak commented 1 year ago

Error: UART_INT_RX/TX are shown incorrect (reversed) in schematic and pin map.

https://github.com/microbit-foundation/microbit-v2-hardware/blob/main/V2.21/MicroBit_V2.2.1_nRF52820%20schematic.PDF The schematic shows: UART_INT_RX: P0.06 UART_INT_TX: P1.08

The same reflects in the pin diagram (https://tech.microbit.org/hardware/schematic/#v2-pinmap) P0.06 | UART_INT_RX | PTA18   P1.08 | UART_INT_TX | PTA19

This seems incorrect considering for interfacing processor (KL27 QFN32), PTA18 is LPUART1_RX and PTA19 is LPUART1_TX. The correct pins should be TX on P0.06 and RX on P1.08.

The same can be verified through the code https://github.com/lancaster-university/codal-microbit-v2/blob/master/model/MicroBitIO.h (lines 282/283) Code shows TX on 0.06 and RX on 1.08, which I verified by writing standalone test code.