English
Language : 

MC68HC708MP16 Datasheet, PDF (129/398 Pages) Freescale Semiconductor, Inc – Microcontrollers
Technical Data — MC68HC708MP16
Section 9. Pulse Width Modulator for Motor Control
(PWMMC)
9.1 Contents
9.2 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
9.3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
9.4 Timebase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
9.4.1 Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
9.4.2 Prescaler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
9.5 PWM Generators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
9.5.1 Load Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
9.5.2 PWM Data Overflow and Underflow Conditions . . . . . . . . 142
9.6 Output Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
9.6.1 Selecting Six Independent PWMs
or Three Complementary PWM Pairs . . . . . . . . . . . . . 142
9.6.2 Dead-Time Insertion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
9.6.3 Top/Bottom Correction . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
9.6.3.1 Manual Correction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
9.6.3.2 Automatic Correction . . . . . . . . . . . . . . . . . . . . . . . . . . .154
9.6.4 Output Polarity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .156
9.6.5 Output Port Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
9.7 Fault Protection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
9.7.1 Fault Condition Input Pins . . . . . . . . . . . . . . . . . . . . . . . . . 164
9.7.1.1 Fault Pin Filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
9.7.1.2
9.7.1.3
9.7.2
Automatic Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Manual Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
Software Output Disable . . . . . . . . . . . . . . . . . . . . . . . . . . 168
9.7.3 Output Port Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
9.8 Initialization and the PWMEN Bit . . . . . . . . . . . . . . . . . . . . . . 169
9.9 PWM Operation in Wait Mode . . . . . . . . . . . . . . . . . . . . . . . . 171
9.10 PWM Operation in Break Mode . . . . . . . . . . . . . . . . . . . . . . .171
MC68HC708MP16 — Rev. 3.1
Freescale Semiconductor Pulse Width Modulator for Motor Control (PWMMC)
Technical Data
129