PWM Trigger for ADC Conversion

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

PWM Trigger for ADC Conversion

1,803 次查看
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 项奖励
回复
1 回复

1,777 次查看
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 项奖励
回复