GPT1 capture

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GPT1 capture

626 Views
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 Kudos
Reply
2 Replies

529 Views
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 Kudos
Reply

575 Views
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 Kudos
Reply