Software Design
Designer Reference Manual
88
Freescale Semiconductor, Inc.
•
Phase commutated flag PC_F is set
•
Actual time (from timer counter register) = commutation time is
recorded in T_Cmt.
This interrupt is provided by the TIMACh3_Int() function.
Interrupt PWM Reload provides back-EMF zero crossing sensing. The
zero crossing input is sampled 2 or 3 times. The back-EMF state value
is compared with expecting (rising/falling) edge. If the value corresponds
with expecting edge, the zero crossing get flag ICR_F is set, and the
actual time (from timer counter register) = zero crossing time is recorded
in T_ZCros. This interrupt is provided by PWMMC_Int() function in
code_isr.c.
Software Design
For More Information On This Product,
Go to: www.freescale.com
DRM028 — Rev 0
MOTOROLA