NOTE
It is recommended to use only one PWM Edge Dithering
(channel (n) PWM Edge Dithering or channel (n+1) PWM
Edge Dithering) at a time.
For the generation of 0% PWM in the channel (n) (with channel
(n) ELSB:ELSA = 2'b10) using Combine mode and PWM Edge
Dithering, it is recommended to use:
• (C(n)V < CNTIN or C(n)V > MOD) and (channel (n)
FRACVAL is zero) and
• (channel (n+1) FRACVAL is zero).
For the generation of 100% PWM in the channel (n) (with
channel (n) ELSB:ELSA = 2'b10) using Combine mode and
PWM Edge Dithering, it is recommended to use:
• (C(n)V = CNTIN) and (channel (n) FRACVAL is zero) and
• (C(n+1)V < CNTIN or C(n+1)V > MOD) and (channel (n
+1) FRACVAL is zero).
41.5.34.2.4 Modified Combine PWM Mode
In the Modified Combine PWM mode, the PWM edge dithering can be done:
• in the channel (n) match (FTM counter = C(n)V) edge or
• in the channel (n+1) match (FTM counter = C(n+1)V) edge.
The channel (n) match edge dithering is enabled when a non-zero value is written to the
channel (n) FRACVAL.
For the channel (n) match edge dithering, the channel (n) has an internal 5-bit
accumulator. At the end of each PWM period, the channel (n) FRACVAL value is added
to the channel (n) accumulator. When this accumulator overflows (that is, the result of the
adding is greater or equal than 0x20), the accumulator remains with the rest of the
subtraction: (the result of this adding - 0x20).
If there was not the overflow of the channel (n) accumulator in the current PWM period,
the channel (n) match edge is not modified, that is, it happens on channel (n) match.
However, if there was the overflow of the channel (n) accumulator, the channel (n) match
edge happens when (FTM counter = C(n)V + 0x0001).
The following figure shows an example of the channel (n) match edge dithering when the
channels (n) and (n+1) are in Modified Combine PWM mode.
Chapter 41 FlexTimer Module (FTM)
MWCT101xS Series Reference Manual, Rev. 3, 07/2019
NXP Semiconductors
1287
Содержание MWCT101 S Series
Страница 2: ...MWCT101xS Series Reference Manual Rev 3 07 2019 2 NXP Semiconductors...
Страница 42: ...MWCT101xS Series Reference Manual Rev 3 07 2019 42 NXP Semiconductors...
Страница 50: ...Conventions MWCT101xS Series Reference Manual Rev 3 07 2019 50 NXP Semiconductors...
Страница 70: ...Aliased bit band regions MWCT101xS Series Reference Manual Rev 3 07 2019 70 NXP Semiconductors...
Страница 78: ...Pinout diagrams MWCT101xS Series Reference Manual Rev 3 07 2019 78 NXP Semiconductors...
Страница 96: ...WCT101xS safety concept MWCT101xS Series Reference Manual Rev 3 07 2019 96 NXP Semiconductors...
Страница 130: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 130 NXP Semiconductors...
Страница 200: ...Initialization application information MWCT101xS Series Reference Manual Rev 3 07 2019 200 NXP Semiconductors...
Страница 284: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 284 NXP Semiconductors...
Страница 430: ...Functional Description MWCT101xS Series Reference Manual Rev 3 07 2019 430 NXP Semiconductors...
Страница 472: ...Application Information MWCT101xS Series Reference Manual Rev 3 07 2019 472 NXP Semiconductors...
Страница 508: ...Reset memory map and register descriptions MWCT101xS Series Reference Manual Rev 3 07 2019 508 NXP Semiconductors...
Страница 528: ...Module clocks MWCT101xS Series Reference Manual Rev 3 07 2019 528 NXP Semiconductors...
Страница 634: ...SRAM configuration MWCT101xS Series Reference Manual Rev 3 07 2019 634 NXP Semiconductors...
Страница 696: ...Initialization and application information MWCT101xS Series Reference Manual Rev 3 07 2019 696 NXP Semiconductors...
Страница 818: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 818 NXP Semiconductors...
Страница 960: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 960 NXP Semiconductors...
Страница 970: ...Memory Map and Register Definition MWCT101xS Series Reference Manual Rev 3 07 2019 970 NXP Semiconductors...
Страница 992: ...ADC calibration scheme MWCT101xS Series Reference Manual Rev 3 07 2019 992 NXP Semiconductors...
Страница 1118: ...Application information MWCT101xS Series Reference Manual Rev 3 07 2019 1118 NXP Semiconductors...
Страница 1294: ...Initialization Procedure MWCT101xS Series Reference Manual Rev 3 07 2019 1294 NXP Semiconductors...
Страница 1348: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 1348 NXP Semiconductors...
Страница 1366: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 1366 NXP Semiconductors...
Страница 1514: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 1514 NXP Semiconductors...
Страница 1726: ...Debug and security MWCT101xS Series Reference Manual Rev 3 07 2019 1726 NXP Semiconductors...
Страница 1740: ...Initialization application information MWCT101xS Series Reference Manual Rev 3 07 2019 1740 NXP Semiconductors...
Страница 1760: ...MWCT101xS Series Reference Manual Rev 3 07 2019 1760 NXP Semiconductors...