Quadrature pulse output generation with MC56F827 controller.

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

Quadrature pulse output generation with MC56F827 controller.

Jump to solution
1,526 Views
manikandanb
Contributor II

Hello all,

I need to generate the quadrature pulse (each with 90degree displacement) like the motor encoder signals. How to generate this with eFlex PWM in MC56F8247 microcontroller. What configuration should I made for this..??

I am using codeWarrior v10.6

Can anyone help me out for solving this.

 

Thanks in advance.

0 Kudos
Reply
1 Solution
1,514 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

As you know that the eFlexPWM module supports phase shift feature, so it i okay to generate the phase shift signals to simulate the PH_A and PH_B signal with PWM output signals.

I attach the example based on MC56F84789, pls refer to it.

BR

XiangJun Rong

View solution in original post

2 Replies
1,515 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

As you know that the eFlexPWM module supports phase shift feature, so it i okay to generate the phase shift signals to simulate the PH_A and PH_B signal with PWM output signals.

I attach the example based on MC56F84789, pls refer to it.

BR

XiangJun Rong

1,509 Views
manikandanb
Contributor II

Thanks for your response,

I will check the code.

0 Kudos
Reply