Are there 5 or 6 serial ports available?
If 6, what are the pins for UART #5?
If 5, what is the expected behavior of the constructor call `UART(5)`
Elaboration:
Looking at the doc for pyb.uart: https://micropython.org/doc/module/pyb/UART, it says
Then in the following paragraph:Construct a UART object on the given bus. bus can be 1-6...
UART(5) is not given. Does it exist?The physical pins of the UART busses are:
UART(4) is on XA: (TX, RX) = (X1, X2) = (PA0, PA1)
UART(1) is on XB: (TX, RX) = (X9, X10) = (PB6, PB7)
UART(6) is on YA: (TX, RX) = (Y1, Y2) = (PC6, PC7)
UART(3) is on YB: (TX, RX) = (Y9, Y10) = (PB10, PB11)
UART(2) is on: (TX, RX) = (X3, X4) = (PA2, PA3)
Thanks!