5 4 3 2 1 0 1 2 3 4 5 6 5 4 3 2 1 0 1 2 3 4 5 6 7 6
channel (n) output
FTM counter
accumulator
0x1B
0x1E
overflow
0x01
4
5
channel (n) is in CPWM with high-true pulses
channel (n) ELSB:ELSA = 2'b10
CNTIN = 0x0000
MOD = 0x0006
FRACMOD = 0x03
C(n)V = 0x0003
T is the period of one unit of FTM counter
6
5
4
PWM period T1 =
2 x (MOD - CNTIN) x T =
0x000C x T
3 2 1 0 1 2 3 4 5 6 5 4 3 2
PWM period T2 =
[2 x (MOD - CNTIN) + 0x0001] x T =
0x000D x T
PWM period T2 =
[2 x (MOD - CNTIN) + 0x0001] x T =
0x000D x T
dithering
(two units of
FTM counter)
0x04
0x07
Figure 39-106. PWM Period Dithering with Up-Down Counting
NOTE
For the generation of 100% PWM signal in the channel (n)
(with channel (n) ELSB:ELSA = 2'b10) using CPWM mode
and PWM Period Dithering, it is recommended to use
(C(n)V[15] = 0) and (C(n)V > MOD + 1) and (MOD ≠
0x0000).
39.5.33.2 PWM Edge Dithering
The channel (n) internal accumulator used in the PWM edge dithering is reset when:
• the field VAL of the register C(n)V_MIRROR is updated with the value of its write
buffer,
• the FRACVAL is updated with the value of its write buffer, or
• the FTM counter is stopped.
NOTE
For the PWM edge dithering, the register C(n)V_MIRROR
should be used instead of the register C(n)V.
To avoid inconsistencies, the field FRACVAL is cleared when
the field VAL of the register C(n)V is updated with the value of
its write buffer.
The PWM edge dithering is not available:
• to the channel in input modes, and
• to the channel in output compare mode.
Functional description
Kinetis KE1xZ256 Sub-Family Reference Manual, Rev. 3, 07/2018
996
NXP Semiconductors
Summary of Contents for Kinetis KE1xZ256
Page 2: ...Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 2 NXP Semiconductors...
Page 178: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 178 NXP Semiconductors...
Page 356: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 356 NXP Semiconductors...
Page 410: ...Interrupts Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 410 NXP Semiconductors...
Page 604: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 604 NXP Semiconductors...
Page 634: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 634 NXP Semiconductors...
Page 674: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 674 NXP Semiconductors...
Page 820: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 820 NXP Semiconductors...
Page 1030: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1030 NXP Semiconductors...
Page 1052: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1052 NXP Semiconductors...
Page 1066: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1066 NXP Semiconductors...
Page 1268: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1268 NXP Semiconductors...
Page 1314: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1314 NXP Semiconductors...
Page 1316: ...Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1316 NXP Semiconductors...