Hello,
Can anyone point to a bare metal (without Linux) example or an app note for initializing GPIO pins/or am LED for the iMX8QM MEK board ? Is the SCU FW to be used for this ?
Thanks
Solved! Go to Solution.
Hi rkohli2000
yes SCFW should be used,
one can look at M4 SDK_2.8.0_MEK-MIMX8QM
..boards/mekmimx8qm/driver_examples/gpio
https://mcuxpresso.nxp.com/en/welcome
..src\scfw_export_mx8qm_b0\platform\board\mx8qm_mek\board.c
function board_init()
FGPIO_PinInit(FGPIOA, 1U, &config);
FGPIO_PinWrite(FGPIOA, 1U, 1U);
Best regards
igor
Hi rkohli2000
yes SCFW should be used,
one can look at M4 SDK_2.8.0_MEK-MIMX8QM
..boards/mekmimx8qm/driver_examples/gpio
https://mcuxpresso.nxp.com/en/welcome
..src\scfw_export_mx8qm_b0\platform\board\mx8qm_mek\board.c
function board_init()
FGPIO_PinInit(FGPIOA, 1U, &config);
FGPIO_PinWrite(FGPIOA, 1U, 1U);
Best regards
igor