mc9s12hz256v2 Freescale Semiconductor, Inc, mc9s12hz256v2 Datasheet - Page 272

no-image

mc9s12hz256v2

Manufacturer Part Number
mc9s12hz256v2
Description
Hcs12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Chapter 9 Motor Controller (MC10B8CV1)
9.4.1.1.1
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
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.
272
Pair Number
Table 9-10. Corresponding Registers and Pin Names for Each PWM Channel Pair (continued)
Channel
PWM
1
2
3
Dual Full H-Bridge Mode (MCOM = 11)
Channel Control
Register
MCMC2
MCMC3
MCMC4
MCMC5
MCMC6
MCMC7
PWM
MC9S12HZ256 Data Sheet, Rev. 2.05
Duty Cycle
Register
MCDC2
MCDC3
MCDC4
MCDC5
MCDC6
MCDC7
Figure
PWM Channel 2
PWM Channel 3
PWM Channel 4
PWM Channel 5
PWM Channel 6
PWM Channel 7
Channel
Number
9-10. PWM channel x drives the
Freescale Semiconductor
M1C0M
M1C1M
M2C0M
M2C1M
M3C0M
M3C1M
Names
M1C0P
M1C1P
M2C0P
M2C1P
M3C0P
M3C1P
Pin

Related parts for mc9s12hz256v2