IMXRT1020 PWM Phase shift

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMXRT1020 PWM Phase shift

686 Views
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 Kudos
2 Replies

677 Views
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

652 Views
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 Kudos