689476c576
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
525 B
525 B
1 | D0 | GPIO_09 |
---|---|---|
2 | D1 | GPIO_10 |
3 | D2 | GPIO_AD_05 |
4 | D3 | GPIO_AD_06 |
5 | D4 | GPIO_08 |
6 | D5 | GPIO_01 |
7 | D6 | GPIO_AD_01 |
8 | D7 | GPIO_AD_02 |
9 | D8 | GPIO_SD_02 |
10 | D9 | GPIO_03 |
11 | D10 | GPIO_AD_05 |
12 | D11 | GPIO_AD_04 |
13 | D12 | GPIO_AD_03 |
14 | D13 | GPIO_AD_06 |
15 | D14 | GPIO_01 |
16 | D15 | GPIO_02 |
17 | CUR_A | GPIO_AD_01 |
18 | CUR_B | GPIO_AD_02 |
19 | CUR_C | GPIO_AD_07 |
20 | VOLT_DCB | GPIO_AD_09 |
21 | CUR_DCB | GPIO_AD_10 |
22 | A0 | GPIO_AD_07 |
23 | A1 | GPIO_AD_09 |
24 | A2 | GPIO_AD_10 |
25 | A3 | GPIO_AD_14 |
26 | A4 | GPIO_AD_01 |
27 | A5 | GPIO_AD_02 |
28 | PWM_AT | GPIO_02 |
29 | PWM_AB | GPIO_01 |
30 | PWM_BT | GPIO_04 |
31 | PWM_BB | GPIO_03 |
32 | PWM_CT | GPIO_06 |
33 | PWM_CB | GPIO_05 |
34 | ENC_A | GPIO_AD_05 |
35 | ENC_B | GPIO_AD_06 |
36 | LED_GREEN | GPIO_11 |