FTM triger ADC through Trigmux and PDB for center aligned PWM

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

FTM triger ADC through Trigmux and PDB for center aligned PWM

224 Views
Kapila
Contributor II

Document Number: AN5303

In motor drive control for continuous ADC triggering FTM is used. The code is explained in AN5303.

However it is not clear from S32K RM how address or the MUX slected. 

Configure the TRGMUX module to trigger ADC0 by FTM0 through the PDB0 module by writing 0x16 to the SEL0 bit field in the TRGMUX_PDB0 register.

I could not understand how 0X16 is generated.

Thanks for explaining.

Regards,

Kanakaraju kappila 

0 Kudos
1 Reply

199 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @Kapila 

I have already answered your question in your other post. In case of any questions, please post them there.

 

B.R.

VaneB

0 Kudos