Freescale Semiconductor MPC8313E Family Reference Manual page 246

Powerquicc ii pro integrated processor
Hide thumbs Also See for MPC8313E:
Table of Contents

Advertisement

System Configuration
Software watchdog timer causes a hard reset (this is the default value after hard reset).
— Interrupt mode (SWCRR[SWRI] = 0).
Software watchdog timer causes a machine check interrupt to the core.
WDT prescaled/non-prescaled clock mode
The WDT counter clock can be prescaled by programming the SWCRR[SWPR] bit that controls
the divide-by-65,536 of the WDT counter.
— Prescale mode (SWCRR[SWPR] = 1)
The WDT clock is prescaled.
— Non-prescale mode (SWCRR[SWPR] = 0)
The WDT clock is not prescaled.
5.4.6
Initialization/Application Information
5.4.6.1
WDT Programming Guidelines
The software watchdog timer is enabled (by the default value of SWCRR[SWEN]) after reset. The
following initialization sequence of WDT is required:
WDT disabling
If the software watchdog timer is not needed, the user must clear SWCRR[SWEN] bit to disable
the WDT not later than its timer times out (~25.3 sec. for a 167-MHz system clock).
WDT initial servicing
If the software watchdog timer is to be used, the special service sequence, described in
Section 5.4.5.1, "Software Watchdog Timer Unit,"
later than the first WDT time-out (~25.3 sec. for a 167-MHz system clock).
Subsequently, periodical WDT servicing should be performed according to the programming
guidelines given in
5.5
Real Time Clock Module (RTC)
The following sections describe the theory of operation of the real time clock module (RTC) including a
definition of the external signals and the functions it serves. Additionally, the configuration, control, and
status registers are described. Note that individual chapters in this reference manual describe additional
specific initialization aspects for each individual block.
5.5.1
RTC Overview
The device platform provides a real time clock (RTC) timer suitable for timestamping or time and calendar
generation. It can maintain a one-second count which is unique over a period of approximately 136 years.
The RTC can be initialized by software with an initial count value using the real time counter load register
(RTLDR). It can also be programmed to generate an interrupt every second. The real time counter control
register (RTCTR) is used to enable or disable the various timer functions. The real time counter event
MPC8313E PowerQUICC II Pro Integrated Processor Family Reference Manual, Rev. 3
5-36
Section 5.4.5.1, "Software Watchdog Timer Unit."
must be executed after system reset and not
Freescale Semiconductor

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpc8313

Table of Contents