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

X  

AN2017 数据表(PDF) 3 Page - STMicroelectronics

部件名 AN2017
功能描述  DIFFERENT WAYS TO RESET ST7 MICROCONTROLLER
PDF  10 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN2017 数据表(HTML) 3 Page - STMicroelectronics

  AN2017 Datasheet HTML 1Page - STMicroelectronics AN2017 Datasheet HTML 2Page - STMicroelectronics AN2017 Datasheet HTML 3Page - STMicroelectronics AN2017 Datasheet HTML 4Page - STMicroelectronics AN2017 Datasheet HTML 5Page - STMicroelectronics AN2017 Datasheet HTML 6Page - STMicroelectronics AN2017 Datasheet HTML 7Page - STMicroelectronics AN2017 Datasheet HTML 8Page - STMicroelectronics AN2017 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 3 / 10 page
background image
3/10
DIFFERENT WAYS TO RESET ST7 MICROCONTROLLER
2 INTERNAL WATCHDOG RESET
The Watchdog timer is used to detect the occurrence of a software fault, usually generated by
external interference or by unforeseen logical conditions, which cause the application program
to abandon its normal sequence. The watchdog circuit generates an MCU reset on expiry of a
programmed time period, unless the counter contents are refreshed.
The hardware WDG selectable through option byte is on immediately after reset. The software
WDG will have to be switched on through software. Both, once set on, can no longer be disa-
bled.
2.1 WATCHDOG TIMER
This is present in all ST7 devices except ST7FLite0. It is a programmable free-running down
counter. The length of the timeout period can be programmed by the user in 64 increments by
varying the counter stored in CR register.
If the watchdog is activated (the WDGA bit is set) and when the 7-bit timer rolls over from 40h
to 3Fh, it initiates a reset cycle pulling low reset pin for typically 30µs.
The application program must regularly refresh the watchdog before its timeout period expires
in order to prevent MCU reset. The WDGCR register must be written at regular intervals and
the value stored in the register must be between FFh and C0h.
2.2 WATCHDOG (LITE TIMER)
This Watchdog is present in ST7FLite0 for instance. The watchdog runs with the Lite Timer.
The normal watchdog timeout period is 2msec (@8MHz FCPU) after which it generates a
reset. A watchdog reset can be forced at any time provided that the watchdog is already ac-
tive.
To prevent a watchdog reset, software must set the WDGD bit before the timeout period has
elapsed.



Html Pages

1 2 3 4 5 6 7 8 9 10


数据表 下载

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