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

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

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

跳至解决方案
1,308 次查看
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 项奖励
1 解答
1,296 次查看
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,297 次查看
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,288 次查看
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 项奖励