参数资料
型号: SAF-C515-LN
厂商: INFINEON TECHNOLOGIES AG
元件分类: 微控制器/微处理器
英文描述: 8-BIT, 16 MHz, MICROCONTROLLER, PQCC68
封装: PLASTIC, LCC-68
文件页数: 34/162页
文件大小: 771K
代理商: SAF-C515-LN
Semiconductor Group
8-1
Fail Safe Mechanisms
C515
8
Fail Safe Mechanisms
8.1
Watchdog Timer
8.1.1 General Operation
As a means of graceful recovery from software or hardware upset a watchdog timer is provided in
the C515. lf the software fails to clear the watchdog timer at least every 65532
ms (at 12 MHz clock
rate), an internal hardware reset will be initiated. The software can be designed such that the
watchdog times out if the program does not progress properly. The watchdog will also time out if the
software error was due to hardware-related problems. This prevents the controller from
malfunctioning for longer than 65 ms if a 12-MHz oscillator is used.
The watchdog timer is a 16-bit counter which is incremented once every machine cycle. After an
external reset the watchdog timer is disabled and cleared to 0000H.
8.1.2 Starting the Watchdog Timer
There are two ways to start the watchdog timer depending on the level applied to pin PE/SWD. This
pin serves two functions, because it is also used for blocking the power saving modes. (see also
chapter 9).
8.1.2.1
The First Possibility of Starting the Watchdog Timer
The automatic start of the watchdog timer directly during an external HW reset is achieved by
strapping pin PE/SWD to
V
CC. In this case the power saving modes (power down mode, idle mode
and slow down mode) are also disabled and cannot be started by software. If pin PE/SWD is left
unconnected, a weak pull-up transistor ensures the automatic start of the watchdog timer.
The self-start of the watchdog timer by a pin option has been implemented to provide high system
security in electrically very noisy environments.
Note: The automatic start of the watchdog timer is only performed if PE/SWD (power-save
enable
/start watchdog timer) is held at high level while RESET is active. A positive transition
at PE/SWD pin during normal program execution will not start the watchdog timer.
8.1.2.2
The Second Possibility of Starting the Watchdog Timer
The watchdog timer can also be started by software. Setting of bit SWDT in SFR IEN1 starts the
watchdog timer. After having been started, the bit WDTS in SFR IP0 is set. Note that the watchdog
timer cannot be stopped by software.
See chapter 9 for entering the power saving modes by software.
相关PDF资料
PDF描述
SAH-C515-LN 8-BIT, 16 MHz, MICROCONTROLLER, PQCC68
SAB-C515-LM 8-BIT, 16 MHz, MICROCONTROLLER, PQFP80
SAB-C515C-LM 8-BIT, 10 MHz, MICROCONTROLLER, PQFP80
SAB-XC164CM-8F40F 16-BIT, FLASH, 40 MHz, MICROCONTROLLER, PQFP64
SAB-XC164CM-4F40F 16-BIT, FLASH, 40 MHz, MICROCONTROLLER, PQFP64
相关代理商/技术参数
参数描述
SAF-C517A 制造商:INFINEON 制造商全称:Infineon Technologies AG 功能描述:8-bit CMOS MICROCONTROLLER
SAF-C517A-4R24M 制造商:INFINEON 制造商全称:Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller
SAF-C517A-4RM 制造商:INFINEON 制造商全称:Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller
SAF-C517A-L 制造商:INFINEON 制造商全称:Infineon Technologies AG 功能描述:8 BIT CMOS MICROCONTROLLER
SAF-C517A-LM 制造商:INFINEON 制造商全称:Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller