Quadrature Output Pulse Generation using Timers with 56F82748

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

Quadrature Output Pulse Generation using Timers with 56F82748

1,048 Views
sandeepn
Contributor II

How Can i generate Stream of Pulses(based on the speed at which my motor is spinning) which are to be quadrature in nature with Timers (Say Timer 0 & 1) with DSC 56F82748VLL. Also, Change the direction of Pulses based on the Direction of rotation. (This function is same as emulated encoder pulses. But to be generated from MCU) .

0 Kudos
2 Replies

959 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Sandeep,

I think you can use eFlexPWM module to generate the two signal with 90 degree shift, as the eFlexPWM has the function to generate the Phase Shifted PWMs.

I think you can use quadtimer to generate the two signal with 90 degree shift, when one timer is master, the other is slave. But it is easier to use eFlexPWM module.

Hope it can help you

B R

Xiangjun Rong

0 Kudos

842 Views
manikandanb
Contributor II

How to generate Quadrature output pulse using eflex pwm with DSC MC56F8247 controller using CodeWarrior v10.6.

0 Kudos