mirror of
https://github.com/licsber/micropython.git
synced 2024-09-21 17:40:24 +08:00
The implementation uses the LPUARTx devices. Up to 8 UARTs can be used, given that the pins are accessible. E.g. 8 on Teensy 4.1, 5 on MIMXRT1020_EVK. For Tennsy 4.0 and 4.1 the UART numbers are as printed on the pinout 1..N. The MIMXRT10xx-EVK boards have only one UART named, which gets the number 1. All other UART are assigned to different Pins: MIMXRT1010-EVK: D0/D1 UART 1 D6/D7 UART 2 A0/D4 UART 3 MIMXRT1020-EVK: D0/D1 UART 1 D6/D9 UART 2 D10/D12 UART 3 D14/D15 UART 4 A0/A1 UART 5 MIMXRT1050-EVK, MIMXRT1060-EVK, MIMXRT1064-EVK: D0/D1 UART 1 D7/D6 UART 2 D8/D9 UART 3 A1/A0 UART 4
545 B
545 B
1 | D0 | GPIO_AD_B1_07 |
---|---|---|
2 | D1 | GPIO_AD_B1_06 |
3 | D2 | GPIO_AD_B0_11 |
4 | D3 | GPIO_AD_B1_08 |
5 | D4 | GPIO_AD_B0_09 |
6 | D5 | GPIO_AD_B0_10 |
7 | D6 | GPIO_AD_B1_02 |
8 | D7 | GPIO_AD_B1_03 |
9 | D8 | GPIO_AD_B0_03 |
10 | D9 | GPIO_AD_B0_02 |
11 | D10 | GPIO_SD_B0_01 |
12 | D11 | GPIO_SD_B0_02 |
13 | D12 | GPIO_SD_B0_03 |
14 | D13 | GPIO_SD_B0_00 |
15 | D14 | GPIO_AD_B1_01 |
16 | D15 | GPIO_AD_B1_00 |
17 | A0 | GPIO_AD_B1_10 |
18 | A1 | GPIO_AD_B1_11 |
19 | A2 | GPIO_AD_B1_04 |
20 | A3 | GPIO_AD_B1_05 |
21 | A4 | GPIO_AD_B1_01 |
22 | A5 | GPIO_AD_B1_00 |
23 | RX | GPIO_AD_B1_07 |
24 | TX | GPIO_AD_B1_06 |
25 | SCL | GPIO_AD_B1_00 |
26 | SDA | GPIO_AD_B1_01 |
27 | SCK | GPIO_SD_B0_00 |
28 | SDI | GPIO_SD_B0_03 |
29 | SDO | GPIO_SD_B0_02 |
30 | CS | GPIO_SD_B0_01 |
31 | LED_GREEN | GPIO_AD_B0_09 |