Can anyone mention the steps required to intitialize the flextimer for quadrature decoder mode in imx7?

cancel
Showing results for 
Search instead for 
Did you mean: 

Can anyone mention the steps required to intitialize the flextimer for quadrature decoder mode in imx7?

334 Views
tan_k
Contributor II

I am trying to go through the initialization procedure that is given in the reference manual for imx7. Can someone help with the sequence in which the registers need to be initialized to run the flextimer in quadrature decoder mode? Also when do I need to write protection disable in FTMx_MODE? 

Labels (1)
1 Reply

173 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Tanmay,

It have enable automatically in your linux BSP: CONFIG_PWM_FSL_FTM=y

Regards

0 Kudos