GPIO input/output examples on i.MX8 QuadMax bare metal

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

GPIO input/output examples on i.MX8 QuadMax bare metal

ソリューションへジャンプ
1,448件の閲覧回数
rkohli2000
Contributor III

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

 

ラベル(1)
0 件の賞賛
返信
1 解決策
1,434件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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

 

SCFW Porting Kit​

..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

 

元の投稿で解決策を見る

1 返信
1,435件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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

 

SCFW Porting Kit​

..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