i.MX RT1060: What the difference in PWM and FlexIO PWM?

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

i.MX RT1060: What the difference in PWM and FlexIO PWM?

ソリューションへジャンプ
1,559件の閲覧回数
kenji
Contributor IV

Hi All

What the difference in PWM and FlexIO PWM?

II want to use PWM signal to control BLDC motor.
And, in each PWM period I want to do ADC for current sensing.

For this aim, I refer

  • evkmimxrt1060_flexio3_pwm
  • evkmimxrt1060_flexio_pwm
  • evkmimxrt1060_pwm

sample projects, but I don't really know the difference.

Below figure is the modify result of the evkmimxrt1060_pwm. Maybe this can use for BLDC control.

kenji_0-1625650434209.png

What I would like to know is whether FlexIO PWM is more suitable for controlling BLDC or not?

 

ラベル(7)
0 件の賞賛
返信
1 解決策
1,547件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Kenji,

If the microcontroller does have a dedicated FlexPWM module, as it’s the case with the i.MXRT1060, I would recommend using the FlexPWM module to generate the PWM signals.

The examples are similar but the FlexIO examples use the FlexIO modules to generate the PWM waveforms, instead of using the dedicated FlexPWM module.

I hope that this information helps.

Regards,
Gustavo

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,548件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Kenji,

If the microcontroller does have a dedicated FlexPWM module, as it’s the case with the i.MXRT1060, I would recommend using the FlexPWM module to generate the PWM signals.

The examples are similar but the FlexIO examples use the FlexIO modules to generate the PWM waveforms, instead of using the dedicated FlexPWM module.

I hope that this information helps.

Regards,
Gustavo

0 件の賞賛
返信
1,539件の閲覧回数
kenji
Contributor IV

The difference and intended use is not clear.
But I think, it's better to use FlexPWM for my aim.

Thank you.

0 件の賞賛
返信