PWM Trigger for ADC Conversion

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

PWM Trigger for ADC Conversion

671 Views
sachin922185
Contributor II

Hello Team,

Please help me to trigger the ADC channel of S32K148 by FTM4 PWM channel in rising edge.

Please provide Configuration details in processor Expert tool.

Thanks & Regards,

Sachin N

Tata Technologies LTD

0 Kudos
1 Reply

645 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

you can refer to some motor control ref. design, e.g. https://www.nxp.com/design/development-boards/automotive-motor-control-solutions/arm-based-solutions.... It uses FTM-PDB-ADC synchronization. 

You can also refer to below example
https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-PDB-ADC-DMA-S32DS-ARM-2018-R1/ta-p/...
PDB is triggered by LPIT, but you can add FTM module generating PWM signal and modify TRGMUX to route FTM external trigger to PDB. FTM ext trigger is generated when the channel (n) match occurs (FTM counter = C(n)V), so must be enabled in FTM module configuration. 

BR, Petr

0 Kudos