參數(shù)資料
型號(hào): DS87C520-MCL
英文描述: EPROM/ROM High-Speed Micro
中文描述: 存儲(chǔ)器/ ROM的高速微
文件頁(yè)數(shù): 23/45頁(yè)
文件大小: 1415K
代理商: DS87C520-MCL
DS87C520/DS83C520 EPROM/ROM High-Speed Microcontrollers
23 of 45
POWER-FAIL INTERRUPT
The voltage reference that sets a precise reset threshold also generates an optional early warning Power-
Fail Interrupt (PFI). When enabled by software, the processor will vector to program memory address
0033h if V
CC
drops below V
PFW
. PFI has the highest priority. The PFI enable is in the Watchdog Control
SFR (WDCON–D8h). Setting WDCON.5 to a logic 1 will enable the PFI. Application software can also
read the PFI flag at WDCON.4. A PFI condition sets this bit to a 1. The flag is independent of the
interrupt enable and software must manually clear it.
WATCHDOG TIMER
To prevent software from losing control, the DS87C520/DS83C520 include a programmable Watchdog
Timer. The Watchdog is a free-running timer that sets a flag if allowed to reach a preselected timeout. It
can be (re)started by software.
A typical application is to select the flag as a reset source. When the Watchdog times out, it sets its flag,
which generates reset. Software must restart the timer before it reaches its timeout or the processor is
reset.
Software can select one of four timeout values. Then, it restarts the timer and enables the reset function.
After enabling the reset function, software must then restart the timer before its expiration or hardware
will reset the CPU. Both the Watchdog Reset Enable and the Watchdog Restart control bits are protected
by a “Timed Access” circuit. This prevents errant software from accidentally clearing the Watchdog.
Timeout values are precise since they are a function of the crystal frequency as shown in Table 7. For
reference, the time periods at 33MHz also are shown.
The Watchdog also provides a useful option for systems that do not require a reset circuit. It will set an
interrupt flag 512 clocks before setting the reset flag. Software can optionally enable this interrupt source.
The interrupt is independent of the reset. A common use of the interrupt is during debug, to show
developers where the Watchdog times out. This indicates where the Watchdog must be restarted by
software. The interrupt also can serve as a convenient time-base generator or can wake-up the processor
from power saving modes.
The Watchdog function is controlled by the Clock Control (CKCON-8Eh), Watchdog Control (WDCON-
D8h), and Extended Interrupt Enable (EIE-E8h) SFRs. CKCON.7 and CKCON.6 are WD1 and WD0
respectively and they select the Watchdog timeout period as shown in Table 7.
Table 7. Watchdog Timeout Values
INTERRUPT
TIMEOUT
0
0
2
17
clocks
3.9718 ms
0
1
2
20
clocks
31.77 ms
1
0
2
23
clocks
254.20 ms
1
1
2
26
clocks
2033.60 ms
As shown in Table 7, the Watchdog Timer uses the crystal frequency as a time base. A user selects one of
four counter values to determine the timeout. These clock counter lengths are 2
17
= 131,072 clocks;
2
20
= 1,048,576; 2
23
= 8,388,608 clocks; and 2
26
= 67,108,864 clocks. The times shown in Table 7 are
with a 33MHz crystal frequency. Once the counter chain has completed a full interrupt count, hardware
WD1
WD2
TIME (33 MHz)
RESET TIMEOUT
TIME (33 MHz)
2
17
+ 512 clocks
2
20
+ 512 clocks
2
23
+ 512 clocks
2
26
+ 512 clocks
3.9874 ms
31.79 ms
254.21 ms
2033.62 ms
相關(guān)PDF資料
PDF描述
DS87C520-MNL EPROM/ROM High-Speed Micro
DS87C520-QCL EPROM/ROM High-Speed Micro
DS87C520-QNL EPROM/ROM High-Speed Micro
DS87C520-WCL EPROM/ROM High-Speed Micro
DS87C520MCL EPROM/ROM High-Speed Microcontrollers
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
DS87C520-MCL+ 功能描述:8位微控制器 -MCU EPROM/ROM High-Speed RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
DS87C520-MNL 功能描述:8位微控制器 -MCU EPROM/ROM High-Speed RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
DS87C520-MNL+ 功能描述:8位微控制器 -MCU EPROM/ROM High-Speed RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
DS87C520-QCL 功能描述:8位微控制器 -MCU EPROM/ROM High-Speed RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
DS87C520-QCL/T&R 制造商:Maxim Integrated Products 功能描述:MICRO,OTP,HI SPD 44PLCC 33MHZ TRL - Tape and Reel 制造商:Maxim Integrated Products 功能描述:IC MCU EPROM/ROM 33MHZ HS 44PLCC