參數(shù)資料
型號(hào): DS87C520-MCL
廠商: DALLAS SEMICONDUCTOR
元件分類: Microcontroller
英文描述: 8-BIT, OTPROM, MICROCONTROLLER, PDIP40
封裝: 0.600 INCH, PLASTIC, DIP-40
文件頁數(shù): 14/42頁
文件大?。?/td> 832K
代理商: DS87C520-MCL
DS87C520/DS83C520
21 of 42
by a “Timed Access” circuit. This prevents errant software from accidentally clearing the Watchdog.
Time-out values are precise since they are a function of the crystal frequency as shown in Table 8. For
reference, the time periods at 33 MHz 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 time-out period as shown in Table 8.
WATCHDOG TIME-OUT VALUES Table 8
WD1
WD2
INTERRUPT
TIME-OUT
TIME (33 MHz)
RESET TIME-OUT
TIME (33 MHz)
00
217 clocks
3.9718 ms
217 + 512 clocks
3.9874 ms
01
220 clocks
31.77 ms
220 + 512 clocks
31.79 ms
10
223 clocks
254.20 ms
223 + 512 clocks
254.21 ms
11
226 clocks
2033.60 ms
226 + 512 clocks
2033.62 ms
As shown above, the Watchdog Timer uses the crystal frequency as a time base. A user selects one of
four counter values to determine the time-out. These clock counter lengths are 217 =131,072 clocks; 220
=1,048,576; 223=8,388,608 clocks; and 226 =67,108,864 clocks. The times shown in Table 8 above are
with a 33 MHz crystal frequency. Once the counter chain has completed a full interrupt count, hardware
will set an interrupt flag. Regardless of whether the user enables this interrupt, there are then 512 clocks
left until the reset flag is set. Software can enable the interrupt and reset individually. Note that the
Watchdog is a free running timer and does not require an enable.
There are 5 control bits in special function registers that affect the Watchdog Timer and two status flags
that report to the user. WDIF (WDCON.3) is the interrupt flag that is set at timer termination when there
are 512 clocks remaining until the reset flag is set. WTRF (WDCON.2) is the flag that is set when the
timer has completely timed out. This flag is normally associated with a CPU reset and allows software to
determine the reset source.
EWT (WDCON.1) is the enable for the Watchdog timer reset function. RWT (WDCON.0) is the bit that
software uses to restart the Watchdog Timer. Setting this bit restarts the timer for another full interval.
Application software must set this bit before the time-out. Both of these bits are protected by Timed
Access discussed below. As mentioned previously, WD1 and 0 (CKCON .7 and 6) select the time-out.
The Reset Watchdog Timer bit (WDCON.0) should be asserted prior to modifying the Watchdog Timer
Mode Select bits (WD1, WD0) to avoid corruption of the watchdog count. Finally, the user can enable the
Watchdog Interrupt using EWDI (EIE.4). The Special Function Register map is shown above.
INTERRUPTS
The DS87C520/DS83C520 provides 13 interrupt sources with three priority levels. The Power-fail
Interrupt (PFI) has the highest priority. Software can assign high or low priority to other sources. All
interrupts that are new to the 8051 family, except for the PFI, have a lower natural priority than the
originals.
相關(guān)PDF資料
PDF描述
DS87C520-QNL 8-BIT, OTPROM, 33 MHz, MICROCONTROLLER, PQCC44
DS87C520-QCL 8-BIT, OTPROM, 33 MHz, MICROCONTROLLER, PQCC44
DS87C520-ECL 8-BIT, OTPROM, 33 MHz, MICROCONTROLLER, PQFP44
DS87C520-MNL 8-BIT, OTPROM, 33 MHz, MICROCONTROLLER, PDIP40
DS87C520-ENL 8-BIT, OTPROM, 33 MHz, MICROCONTROLLER, PQFP44
相關(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