I encountered some problems when using some pads in IMX8QM MEK board as below:
#define SC_P_USDHC2_DATA0 238 /*!< CONN.USDHC2.DATA0, DMA.UART4.RX, LSIO.GPIO5.IO26 */
#define SC_P_USDHC2_DATA1 239 /*!< CONN.USDHC2.DATA1, DMA.UART4.TX, LSIO.GPIO5.IO27 */
#define SC_P_USDHC2_DATA2 240 /*!< CONN.USDHC2.DATA2, DMA.UART4.CTS_B, LSIO.GPIO5.IO28 */
#define SC_P_USDHC2_DATA3 241 /*!< CONN.USDHC2.DATA3, DMA.UART4.RTS_B, LSIO.GPIO5.IO29 */
When i configured those pads to UART mode but there is no UART signal comes out
When i tried configuring those pads to GPIO (GPIO5), i couldn't control the signal either. I did not observe the signal change when set the out put value from 0 to 1 and vice versa.
Note that our application running on M4, and those pads are assigned to M4 partition, core A35 does not run, only core M4 is running
Please refer to the M4 core software examples, included into the MCUXpresso SDK for the i.MX8QM MEK board. The SDK can be configured and downloaded from here:
https://mcuxpresso.nxp.com/en/select
Best Regards,
Artur