![Infineon Technologies TC1784 User Manual Download Page 234](http://html.mh-extra.com/html/infineon-technologies/tc1784/tc1784_user-manual_2055446234.webp)
TC1784
System Control Unit (SCU)
User´s Manual
3-51
V1.1, 2011-05
32-bit SCU, V1.18
If EDIS is set to 1, a Sleep Mode request is disregarded by the module and the module
continues its operation.
Suspend Mode Control
During emulation and debugging of TC1784 applications, the execution of an application
program can be suspended. When an application is suspended, normal operation of the
application’s program is halted, and the TC1784 begins (or resumes) executing a special
debug monitor program. If bit SPEN is set, the operation of the peripheral module is
stopped when the Suspend Mode request is generated. If SPEN is cleared, the module
does not react to the Suspend Mode request and continues its normal operation. This
feature allows each peripheral module to be adapted to the unique requirements of the
application being debugged. Setting SPEN bits is usually performed by a debugger.
This feature is necessary because application requirements typically determine whether
on-chip modules should be stopped or left running when an application is suspended for
debugging. For example, a peripheral unit that is controlling the motion of an external
device through motors in most cases must not be stopped so as to prevent damage of
the external device due to the loss of control through the peripheral. On the other hand,
it makes sense to stop the system timer while the debugger is actively controlling the chip
because it should only count the time when the user’s application is running.
Note that it is never appropriate for application software to set the SPEN bit. The
Suspend Mode should only be set by a debug software. To guard against application
software accidently setting SPEN, bit SPEN 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 SPEN bit that has been set by a debugger.
Entering Disabled Mode
Software can request that a peripheral unit be put into Disabled Mode by setting DISR.
A module will also be put into Disabled Mode if the Sleep Mode is requested and the
module is configured to allow Sleep Mode.
In Secure Shut-off Mode, a module first finishes any operation in progress, then
proceeds with an orderly shut down. When all sub-components of the module are ready
to be shut down, the module signals its clock control unit, that turns off the clock to this
peripheral unit, that it is now ready for shut down. The status bit DISS is updated by the
peripheral unit accordingly.
During emulation and debugging, it may be necessary to monitor the instantaneous state
of the machine – including all or most of its modules – at the moment a software
breakpoint is reached. In such cases, it may not be desired that the kernel of a module
finish whatever transaction is in progress before stopping, because that might cause
important states in this module to be lost. Fast Shut-off Mode, controlled by bit FSOE, is
available for this situation.
Summary of Contents for TC1784
Page 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Page 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Page 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...