数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ST10 数据表(PDF) 25 Page - STMicroelectronics

部件名 ST10
功能描述  16-BIT MCU WITH 128KBYTE FLASH MEMORY
PDF  58 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST10 数据表(HTML) 25 Page - STMicroelectronics

Back Button ST10 Datasheet HTML 21Page - STMicroelectronics ST10 Datasheet HTML 22Page - STMicroelectronics ST10 Datasheet HTML 23Page - STMicroelectronics ST10 Datasheet HTML 24Page - STMicroelectronics ST10 Datasheet HTML 25Page - STMicroelectronics ST10 Datasheet HTML 26Page - STMicroelectronics ST10 Datasheet HTML 27Page - STMicroelectronics ST10 Datasheet HTML 28Page - STMicroelectronics ST10 Datasheet HTML 29Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 25 / 58 page
background image
ST10F163
25/58
XII - WATCHDOG TIMER
The Watchdog Timer is a fail-safe mechanism
which the maximum malfunction time of the con-
troller
The Watchdog Timer is always enabled after a
reset of the chip, and can only be disabled in the
time interval until the EINIT (end of initialization)
instruction has been executed. In this way the
chip’s start-up procedure is always monitored.
The software must be designed to service the
Watchdog Timer before it overflows. If, due to
hardware or software related failures, the software
fails to do so, the Watchdog Timer overflows and
generates an internal hardware reset and pulls
the RSTOUT pin low in order to allow external
hardware components to be reset.
The Watchdog Timer is a 16-bit timer, clocked
with the system clock divided either by 2 or by
128. The high byte of the Watchdog Timer register
can be set to a pre-specified reload value (stored
in WDTREL) in order to allow further variation of
the monitored time interval. Each time it is ser-
viced by the application software, the high byte of
the Watchdog Timer is reloaded. The Table 12
shows the watchdog time range which for a
25MHz CPU clock. Some numbers are rounded to
3 significant digits.
XIII - OSCILLATOR WATCHDOG (OWD)
The Oscillator Watchdog (OWD) monitors the
clock signal generated by the on-chip oscillator
(either with a crystal or via external clock drive).
For this operation the PLL provides a clock signal
to supervise transitions on the oscillator clock.
This PLL clock is independent from the XTAL1
clock. When the expected oscillator clock transi-
tions are missing, the OWD activates the PLL
Unlock/OWD interrupt node and supplies the CPU
with the PLL clock signal. Under these circum-
stances the PLL will oscillate with its basic fre-
quency.
A low level on pin OWE disables the OWD’s inter-
rupt output, so that the clock signal is derived from
the oscillator clock. The CPU clock source is only
switched back to the oscillator clock after a hard-
ware reset.
When the direct-drive, or direct-drive-with- pres-
caler clock option is selected, an oscillator watch-
dog is implemented. This provides a fail-safe
mechanism in the case of a loss of external clock.
After reset, the Oscillator Watchdog is enabled by
default. To disable the OWD, the bit OWDDIS (bit
4 of SYSCON register) must be set. When the
OWD is enabled, PLL runs on free-running fre-
quency, and increments the Oscillator Watchdog
counter. On each transition of XTAL1 pin, the
Oscillator Watchdog is cleared. If an external
clock failure occurs, then the Oscillator Watchdog
counter overflows (after 16 PLL clock cycles). The
CPU clock signal is switched to the PLL free-run-
ning clock signal, and the Oscillator Watchdog
Interrupt Request (XP3INT) is flagged. The CPU
clock will not switch back to the external clock
even if a valid external clock exits on XTAL1 pin.
Only a hardware reset can switch the CPU clock
source back to direct clock input.
When the OWD is disabled, the CPU clock is
always fed from the oscillator input and the PLL is
switched off to decrease power supply current.
Note
For security, rewrite WDTCON each time before the watchdog timer is serviced.
Table 12 : Watchdog time range for 25MHz CPU clock
Reload value
in WDTREL
Prescaler for fCPU
2 (WDTIN = ‘0’)
128 (WDTIN = ‘1’)
FFH
20.48
µs
1.31 ms
00H
5.24 ms
336 ms



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com