Clarification on Apalis iMX8X SPI2 MXM3 pin number

Greetings,

We’ve been developing on the Apalis iMX8X for a while now and just recently noticed that toggling a number of GPIOs mapped to their MXM3 number resulted in the wrong LEDs lighting up.

Looking at the device tree, our understanding is that:

MXM3_235 corresponds to GPIO chip 1 line 0
MXM3_233 corresponds to GPIO chip 1 line 1
MXM3_231 corresponds to GPIO chip 1 line 2
MXM3_229 corresponds to GPIO chip 1 line 3

The Apalis iMX8X datasheet also agrees with this mapping. However, the Toradex Pinout Designer disagrees:

stating instead that:

MXM3_233 corresponds to GPIO chip 1 line 0
MXM3_231 corresponds to GPIO chip 1 line 1
MXM3_229 corresponds to GPIO chip 1 line 2
MXM3_235 corresponds to GPIO chip 1 line 3

After testing it on the actual hardware, we can confirm that the mapping provided by Toradex Pinout Designer is the correct one. Can anyone from Toradex verify our findings above?

Many thanks.

Yes, table on pages 29-31 of Apalis iMX8X has some errors. Thank you for pointing that out. We will fix it ASAP

Please use Table 3-1 X1 Connector and pinout designer for correct X1 pinout.

1 Like