English
Language : 

MSE9S08QG8 Datasheet, PDF (8/8 Pages) Freescale Semiconductor, Inc – Mask Set Errata for Mask 3M77B
5. Turn clocks back on by writing to CLKS[1:0]
Unexpected Operation: The prescaler divider flip-flops begin counting from the prior value rather than
starting from zero. This can result in the counter detecting the first clock edge after restarting, either earlier
or later than expected.
Case 8: Center-Aligned PWM, Counter is Stopped, Reset, and Restarted when Counting Up and
Count Equals the Modulo Value
Description
This case is extremely unlikely to occur in any practical application because it would be very unusual to
stop or reset the TPM counter while using center-aligned PWM mode.
1. TPM counter is counting up in center-aligned PWM mode (second half of a PWM period)
2. Counter is stopped (write CLKS[1:0] = 0:0) when count equals modulo value (the direction would
normally change from up counting to down counting at the next clock edge)
3. Counter is reset to 0x0000 by writing any value to TPMxCNTH:TPMxCNTL
4. Counter is turned on again by writing to CLKS[1:0]
Unexpected Operation: Because the internal up/down indicator was not cleared when the counter was
reset, the counter begins counting down from 0x0000 to 0xFFFF–0xFFFE… This causes the timing of the
first PWM period after the counter reset to be longer than expected.
Mask Set Errata for 9S08QG8, Mask 3M77B
8
Freescale Semiconductor