English
Language : 

K60P100M100SF2RM Datasheet, PDF (1055/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Chapter 39 FlexTimer (FTM)
Table 39-249. FTM Behavior When the Chip Is in BDM Mode (continued)
BDMMODE
10
FTM
Counter
Stopped
11
Functional
mode
CH(n)F Bit FTM Channels Output
is not set
The channels outputs are frozen
when the chip enters in BDM
mode
can be set Functional mode
Writes to MOD, CNTIN, and C(n)V Registers
Writes to these registers bypass the registers
buffers
Functional mode
Note that if BDMMODE[1:0] = 2’b00 then the channels outputs remain at the value
when the chip enters in BDM mode, since the FTM counter is stopped. However, the
following situations modify the channels outputs in this BDM mode.
• Write any value to CNT register (Counter Reset). In this case, the FTM counter is
updated with the CNTIN register value and the channels outputs are updated to the
initial value – except for those channels set to output compare mode.
• FTM counter is reset by PWM synchronization mode (FTM Counter
Synchronization). In this case, the FTM counter is updated with the CNTIN register
value and the channels outputs are updated to the initial value – except for channels
in output compare mode.
• In the channels outputs initialization (Initialization), the channel (n) output is forced
to the CH(n)OI bit value when the value 1 is written to INIT bit.
Note
It is expected that the BDMMODE[1:0] = 2’b00 is not used
with the fault control (Fault Control). Even if the fault control is
enabled and a fault condition exists, the channels outputs values
are as defined above.
39.4.27 Intermediate Load
The PWMLOAD register allows software to update the MOD, CNTIN, and C(n)V
registers with the content of the register buffer at a defined load point. In this case it is
not required to use the PWM synchronization control.
A possible loading point is when the FTM counter wraps from MOD value to CNTIN
value. This loading point is always enabled. Another possible loading point is at the
channel (j) match (FTM counter = C(j)V). This loading point is enabled when CHjSEL =
1. The following figure shows some examples of enabled loading points.
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.
1055