English
Language : 

S912XHZ512F1VAG Datasheet, PDF (443/978 Pages) Freescale Semiconductor, Inc – Covers MC9S12XHZ384, MC9S12XHZ256
Chapter 11 Motor Controller (MC10B12CV2) Block Description
Table 11-11. Corresponding Registers and Pin Names for each PWM Channel Pair
PWM Channel
Pair Number
PWM
Channel
Control
Register
Duty Cycle Register
Channel Number
Pin
Names
MCMC2
1
MCMC3
MCDC2
MCDC3
PWM Channel 2
PWM Channel 3
M1C0M
M1C0P
M1C1M
M1C1P
MCMC4
2
MCMC5
MCDC4
MCDC5
PWM Channel 4
PWM Channel 5
M2C0M
M2C0P
M2C1M
M2C1P
MCMC6
3
MCMC7
MCDC6
MCDC7
PWM Channel 6
PWM Channel 7
M3C0M
M3C0P
M3C1M
M3C1P
MCMC8
4
MCMC9
MCDC8
MCDC9
PWM Channel 8
PWM Channel 9
M4C0M
M4C0P
M4C1M
M4C1P
MCMC10
5
MCMC11
MCDC10
MCDC11
PWM Channel 10
PWM Channel 11
M5C0M
M5C0P
M5C1M
M5C1P
11.4.1.1.1 Dual Full H-Bridge Mode (MCOM = 11)
PWM channel pairs x and x + 1 operate in dual full H-bridge mode if both channels have been enabled
(MCAM[1:0]=01, 10, or 11) and both of the corresponding output mode bits MCOM[1:0] in both PWM
channel control registers are set.
A typical configuration in dual full H-bridge mode is shown in Figure 11-10. PWM channel x drives the
PWM output signal on either MnC0P or MnC0M. If MnC0P drives the PWM signal, MnC0M will be
output either high or low depending on the RECIRC bit. If MnC0M drives the PWM signal, MnC0P will
be an output high or low. PWM channel x + 1 drives the PWM output signal on either MnC1P or MnC1M.
If MnC1P drives the PWM signal, MnC1M will be an output high or low. If MnC1M drives the PWM
signal, MnC1P will be an output high or low. This results in motor recirculation currents on the high side
drivers (RECIRC = 0) while the PWM signal is at a logic high level, or motor recirculation currents on the
low side drivers (RECIRC = 1) while the PWM signal is at a logic low level. The pin driving the PWM
signal is determined by the S (sign) bit in the corresponding duty cycle register and the state of the
RECIRC bit. The value of the PWM duty cycle is determined by the value of the D[10:0] or D[8:2] bits
respectively in the duty cycle register depending on the state of the FAST bit.
MC9S12XHZ512 Data Sheet, Rev. 1.06
Freescale Semiconductor
443