English
Language : 

MC9S08DN60_08 Datasheet, PDF (284/356 Pages) Freescale Semiconductor, Inc – Microcontrollers
Chapter 15 Timer/PWM Module (S08TPMV3)
EPWM mode
TPMxMODH:TPMxMODL = 0x0007
TPMxCnVH:TPMxCnVL = 0x0005
RESET (active low)
BUS CLOCK
TPMxCNTH:TPMxCNTL
0
1 2 3 4 5 6 7 0 1 2 ...
CLKSB:CLKSA BITS
00
MSnB:MSnA BITS
00
ELSnB:ELSnA BITS
00
TPMv2 TPMxCHn
01
10
10
TPMv3 TPMxCHn
CHnF BIT
(in TPMv2 and TPMv3)
Figure 0-1. Generation of high-true EPWM signal by TPM v2 and v3 after the reset
EPWM mode
TPMxMODH:TPMxMODL = 0x0007
TPMxCnVH:TPMxCnVL = 0x0005
RESET (active low)
BUS CLOCK
TPMxCNTH:TPMxCNTL
0
1 2 3 4 5 6 7 0 1 2 ...
CLKSB:CLKSA BITS
00
MSnB:MSnA BITS
00
ELSnB:ELSnA BITS
00
TPMv2 TPMxCHn
01
10
01
TPMv3 TPMxCHn
CHnF BIT
(in TPMv2 and TPMv3)
Figure 0-2. Generation of low-true EPWM signal by TPM v2 and v3 after the reset
The following procedure can be used in TPM v3 (when the channel pin is also a port pin) to emulate
the high-true EPWM generated by TPM v2 after the reset.
MC9S08DN60 Series Data Sheet, Rev 3
284
Freescale Semiconductor