Hello,
Devkit-S12XE includes a bug on the PORT J2. This document shows the correct connection.
The pin designation in the schematic, QSG, and pin markings on the board does not correspond to the connection on the board.
Schematic:
https://www.nxp.com/downloads/en/schematics/DEVKIT-S12XE-SCH.pdf
QSG:
https://www.nxp.com/docs/en/quick-reference-guide/DEVKIT-S12XE-QSG.pdf
Pin markings on the board:
In particular, these are the following pin numbers of PORT J2 where the bug was found: 16, 17, 18, 19
The real connection is as follows:
I hope it helps,
Best regards,
Diana