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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

Jump to solution
558 Views
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?

 

0 Kudos
1 Solution
546 Views
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

View solution in original post

0 Kudos
2 Replies
547 Views
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 Kudos
538 Views
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 Kudos