![Infineon Technologies XC2200 User Manual Download Page 474](http://html1.mh-extra.com/html/infineon-technologies/xc2200/xc2200_user-manual_2055439474.webp)
XC2200 Derivatives
System Units (Vol. 1 of 2)
System Control Unit (SCU)
User’s Manual
6-214
V2.1, 2008-08
SCU, V1.13
resulting (without any change in the reset configuration) in a permanent reset of the type
configured by RSTCON1.WDT.
The information about the first WDT reset request is stored in bit
.WDTCSOE
(see
). The bit is set when a WDT overflow had occured in Prewarning
Mode and a reset was generated. If the bit STMEM0.WDTCSOE is already set then a
double WDT reset event has occurred and a permanent reset request is generated.
The bit is cleared by any Power-on Reset or when bit STMEM0.WDTCSOE is cleared.
A correct service of the WDT does not clear this bit nor do any access to the WDT related
registers or commands. Therefore, if correct WDT-servicing has been done after the first
WDT reset and a next WDT reset must not immediately lead to a double error state,
application software has to clear STMEM0.WDTCSOE, too.
Note: After the double WDT reset request trigger is generated the counter is stopped
after the overflow.
Port Configuration during WDT Reset
The behavior of the ESRx ports can be defined with respect to the reset type by bit field
ESRCFGx.PC. For the coding of PC see
. The allows to signal the occurence
of a reset.
The configuration of the GPIOS ports depends on the reset type. In case of an
Application Reset the pad configuration is unchanged
1)
, in case of an Internal Application
Reset the ports are configured for input.
6.11.3.3 Suspend Mode Support
In an enabled and active debug session, the Watchdog functionality can lead to
unintended resets. Therefore, to avoid these resets, the OCDS can control whether the
WDT is enabled or disabled (default after reset). This is done via bit CBS_IOSR.DB.
1)
Ports P2.[2:0] and P10.[12:0] are set to input during the execution of the Application
Reset.
Table 6-18
OCDS Behavior of WDT
WDTCS.DS
CBS_DBGSR.DBGEN
CBS_IOSR.DB
WDT Action
1
X
X
Stopped
0
0
X
Running
0
1
0
Stopped
0
1
1
Running