GPT1 capture

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

GPT1 capture

1,150 次查看
lidy
Contributor I

Hi dear NXP colleague

iMX8X  iMX8QM-MEK

Our board is designed with reference to the iMX8QM-MEK board,GPT1_Capture pin connect to the pwm feedback of fan.

i have try to operate gpt1 from linux arm ,but register (0x5d150000) can'not ioremap .

i can't find other module use it . 

 

When I operate GPT1 from the m4 core0 error occurred.

lidy_0-1692849645965.png
 
how can i check which module use GPT1,and how to stop it ?

 

0 项奖励
回复
2 回复数

1,053 次查看
lidy
Contributor I

thanks @Zhiming_Liu 

i try to call GPT_Init but failed ,and unable to continue troubleshooting the problem.

code as:

lidy_0-1694085520427.png

lidy_1-1694085568406.png

program did't return in CLOCK_EnableClock or GPT_SoftwareReset.

how can i continue find the problem ?

did  you have any reference materials for use GPT1_Capture in imx8qm platform?

 

 

0 项奖励
回复

1,099 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @lidy 

The GPT1_CAPTURE can be pad of i2c2 , LSIO_GPIO0_IO18, LSIO_KPP0_ROW4 and LSIO_GPT1_CAPTURE. You should check these

0 项奖励
回复