1f6cb8f047
This commit adds support for machine.I2S on the mimxrt port. The I2S API is consistent with the existing stm32, esp32, and rp2 implementations. I2S features: - controller transmit and controller receive - 16-bit and 32-bit sample sizes - mono and stereo formats - sampling frequencies from 8kHz to 48kHz - 3 modes of operation: - blocking - non-blocking with callback - uasyncio - configurable internal buffer - optional MCK Tested with the following development boards: - MIMXRT1010_EVK, MIMXRT1015_EVK, MIMXRT1020_EVK, MIMXRT1050_EVK - Teensy 4.0, Teensy 4.1 - Olimex RT1010 - Seeed ARCH MIX Tested with the following I2S hardware peripherals: - UDA1334 - GY-SPH0645LM4H - WM8960 codec on board the MIMXRT boards and separate breakout board - INMP441 - PCM5102 - SGTL5000 on the Teensy audio shield Signed-off-by: Mike Teachman <mike.teachman@gmail.com>
1.3 KiB
1.3 KiB
1 | J3_04 | GPIO_B1_11 |
---|---|---|
2 | J3_05 | GPIO_B1_06 |
3 | J3_06 | GPIO_EMC_41 |
4 | J3_07 | GPIO_EMC_40 |
5 | J3_08 | GPIO_B1_05 |
6 | J3_09 | GPIO_B1_04 |
7 | J3_10 | GPIO_B1_08 |
8 | J3_11 | GPIO_B1_07 |
9 | J3_12 | GPIO_B1_09 |
10 | J3_13 | GPIO_B1_10 |
11 | J3_14 | GPIO_AD_B0_14 |
12 | J3_15 | GPO_AD_B0_15 |
13 | J3_16 | GPIO_AD_B1_00 |
14 | J3_17 | GPIO_AD_B1_01 |
15 | J3_19 | GPIO_AD_B0_13 |
16 | J3_20 | GPIO_AD_B0_12 |
17 | J4_04 | GPIO_AD_B1_04 |
18 | J4_05 | GPIO_AD_B1_05 |
19 | J4_06 | GPIO_AD_B1_06 |
20 | J4_07 | GPIO_AD_B1_07 |
21 | J4_08 | GPIO_AD_B1_08 |
22 | J4_09 | GPIO_AD_B1_09 |
23 | J4_10 | GPIO_AD_B1_10 |
24 | J4_11 | GPIO_AD_B1_11 |
25 | J4_12 | GPIO_AD_B1_12 |
26 | J4_13 | GPIO_AD_B1_13 |
27 | J4_14 | GPIO_AD_B1_14 |
28 | J4_15 | GPIO_AD_B1_15 |
29 | J4_16 | GPIO_AD_B1_02 |
30 | J4_17 | GPIO_AD_B1_03 |
31 | J4_19 | GPIO_AD_B0_07 |
32 | J4_20 | GPIO_AD_B0_06 |
33 | J5_32 | GPIO_B0_00 |
34 | J5_28 | GPIO_B0_01 |
35 | J5_29 | GPIO_B0_02 |
36 | J5_30 | GPIO_B0_03 |
37 | J5_04 | GPIO_B0_04 |
38 | J5_05 | GPIO_B0_05 |
39 | J5_06 | GPIO_B0_06 |
40 | J5_07 | GPIO_B0_07 |
41 | J5_08 | GPIO_B0_08 |
42 | J5_12 | GPIO_B0_09 |
43 | J5_13 | GPIO_B0_10 |
44 | J5_14 | GPIO_B0_11 |
45 | J5_15 | GPIO_B0_12 |
46 | J5_16 | GPIO_B0_13 |
47 | J5_17 | GPIO_B0_14 |
48 | J5_22 | GPIO_B0_15 |
49 | J5_23 | GPIO_B1_00 |
50 | J5_24 | GPIO_B1_01 |
51 | J5_25 | GPIO_B1_02 |
52 | J5_26 | GPIO_B1_03 |
53 | J5_34 | GPIO_AD_B1_15 |
54 | J5_35 | GPIO_AD_B1_14 |
55 | J5_36 | GPIO_AD_B1_13 |
56 | J5_37 | GPIO_AD_B1_12 |
57 | J5_42 | GPIO_AD_B1_00 |
58 | J5_43 | GPIO_AD_B1_01 |
59 | J5_50 | GPIO_AD_B0_02 |
60 | LED_RED | GPIO_AD_B0_09 |
61 | LED_GREEN | GPIO_AD_B0_10 |
62 | LED_BLUE | GPIO_AD_B0_11 |
63 | MCK | GPIO_AD_B1_09 |
64 | SCK_RX | GPIO_AD_B1_11 |
65 | WS_RX | GPIO_AD_B1_10 |
66 | SD_RX | GPIO_AD_B1_12 |
67 | SCK_TX | GPIO_AD_B1_14 |
68 | WS_TX | GPIO_AD_B1_15 |
69 | SD_TX | GPIO_AD_B1_13 |