How do I sample the midpoint of a motor current with an adc

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How do I sample the midpoint of a motor current with an adc

ソリューションへジャンプ
340件の閲覧回数
drfrefw123
Contributor I

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?

drfrefw123_0-1709107927544.png

 

0 件の賞賛
返信
1 解決策
294件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

This depend on how you generate PWM signals.

1. FlexPWM, you can use LCU to delay the measurement.

petervlna_0-1709627620595.png

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

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
295件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

This depend on how you generate PWM signals.

1. FlexPWM, you can use LCU to delay the measurement.

petervlna_0-1709627620595.png

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

0 件の賞賛
返信