Hello everyone
I am using s32k342,I configured the external rising edge trigger ADC sampling.
Now I want to sample the motor current with a little time lag on the rising edge, roughly at the position of the pwm midpoint, how to configure it?
解決済! 解決策の投稿を見る。
Hello,
This depend on how you generate PWM signals.
1. FlexPWM, you can use LCU to delay the measurement.
2. eMIOS - here you can use the free channel on the group which is generating PWM. You will have a synchronous 7-8 channels with same time base.
You can refer to Application note:
https://www.nxp.com/webapp/Download?colCode=AN13884
Best regards,
Peter
Hello,
This depend on how you generate PWM signals.
1. FlexPWM, you can use LCU to delay the measurement.
2. eMIOS - here you can use the free channel on the group which is generating PWM. You will have a synchronous 7-8 channels with same time base.
You can refer to Application note:
https://www.nxp.com/webapp/Download?colCode=AN13884
Best regards,
Peter