Backup Watchdog Timer (BWT) Module
MCF52211 ColdFire® Integrated Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor 7-5

7.2.2.4 Backup Watchdog Timer Service Register (WSR)

The WSR is shown in Figure 7-5, and is used to instruct the BWT to reset its internal counter to the value
in WMR[WM]. This is known as servicing the BWT. To do so, the software must write the two values
0x5555 and 0xAAAA, in that order, to WSR. These two write operations must be completed before the
BWT timeout period is reached (i.e., WCNTR[WC] reaches zero). If these operations are not completed
before the end of the timeout period, the BWT asserts a system reset.
The software can execute other instructions between the two write instructions required to service the
BWT (0x5555 and 0xAAAA). All instructions, however, must be completed before the timeout period is
reached to prevent a reset.
W riting any values other than 0x5555 or 0xAAAA to the WSR resets the servicing sequence. The software
must then begin the sequence again (writing 0x5555 and 0xAAAA to WSR) to service the BWT.
This register must be written as a whole.
IPSBAR
Offset: 0x14_0004 (WCNTR)
Access: Supervisor read/write
1514131211109876543210
RWC
W
Reset1111111111111111
Figure 7-4. Backup Watchdog Timer Count Register (WCNTR)
Table 7-4. WCNTR Field Descriptions
Field Description
15–0
WC
BWT counter. This field reflects the current value in the BWT counter.
IPSBAR
Offset: 0x14_0006 (WSR)
Access: Supervisor read/write
1514131211109876543210
RWS
W
Reset0000000000000000
Figure 7-5. Backup Watchdog Timer Service Register (WSR)
Table 7-5. WSR Field Descriptions
Field Description
15–0
WS
BWT service field. To service the BWT, the software must write the values 0x5555 and 0xAAAA, in that order, to this
field before the BWT timeout period is reached.