IMXRT1020 PWM Phase shift

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

IMXRT1020 PWM Phase shift

1,077 次查看
Irv95G
Contributor II

Hi, im new to embeded sytems,

i am using the PWM sdk example on the RT1020 and i need to generate a 120 deg phase shift between modules 0,1 and 2 , any suggestions or what would be the approach to modify the sdk to do this?    

thanks. 

0 项奖励
回复
2 回复数

1,068 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Irv95G,

You may change the PWM shifts using the PHASEDLY registers for submodules 1-3 to indicate their delay from the submodule 0 timing. You may find more information in section  50.3.1.3 Phase Shifted PWMs of the i.MXRT1020 Reference Manual.

I hope that this information helps!

Regards,
Gustavo

1,043 次查看
Irv95G
Contributor II

Hi @gusarambula,

Thanks for the information,

is it possible to modify the PHASEDLY registers while using the sdk pwm example ? it seems to me that the sdk example needs you to specify pwm center/edge alined, not sure if this affects when trying to indicate PHASEDLY. I can not get a complete explanation from the manual, Could you tell me a little bit more about how this would be done in code.

appreciate your help. 

0 项奖励
回复