TC1784
System Control Unit (SCU)
User´s Manual
3-52
V1.1, 2011-05
32-bit SCU, V1.18
If FSOE = 0, modules are stopped as described above. This is called Secure Shut-off
Mode. The module is allowed to finish whatever operation is in progress. If Fast Shut-off
Mode is selected (FSOE = 1), clock generation to the unit is stopped as soon as any
outstanding bus operation is finished. The clock control unit does not wait until the
module has finished its transaction. This option stops the unit’s clock as fast as possible,
and the state of the unit will be the closest possible to the time of the occurrence of the
software breakpoint.
Note: In all TC1784 modules except MultiCAN and DMA, the only shut down operating
mode that is available is the Fast Shut-off ModeTC1784, regardless of the state of
the FSOE bit.
Whether Secure Shut-off Mode or Fast Shut-off Mode is required depends on the
application, the needs of the debugger, and the type of unit. For example, the analog-to-
digital converter might allow the converter to finish a running analog conversion before
it can be suspended. Otherwise the conversion might be corrupted and a wrong value
could be produced when Suspend Mode is exited and the unit is enabled again. This
would affect further emulation and debugging of the application’s program.
On the other hand, if a problem is observed to relate to the operation of the external
analog-to-digital converter itself, it might be necessary to stop the unit as fast as possible
in order to monitor its current instantaneous state. To do this, the Fast Shut-off Mode
option would be selected. Although proper continuation of the application’s program
might not be possible after such a step, this would most likely not matter in such a case.
Note that it is never appropriate for application software to set the FSOE bit. Fast Shut-
off Mode should only be set by debug software. To guard against application software
accidently setting FSOE, bit FSOE is specially protected by the mask bit SBWE. The
SPEN bit can only be written if, during the same write operation, SBWE is set, too.
Application software should never set SBWE. In this way, user software can not
accidentally alter the value of the FSOE bit. Note that this is the same guard mechanism
used for the SPEN bit.
Module Clock Divider Control
Peripheral modules of the TC1784 can have a RMC control bit field in their CLC
registers. This Run Mode Clock control bit field makes it possible to slow down the CLC
clock via a programmable clock divider circuit.
A value of 00
H
in RMC disables the clock signals to these modules (CLC clock is
switched off). If RMC is not equal to 00
H
, the clock for a module register (
f
CLC
) accesses
is generated as
(3.16)
f
CLC
f
FPI
RMC
--------------
=
Содержание TC1784
Страница 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Страница 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Страница 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...