Electronic Components Datasheet Search
  English  ▼

X  

AN2017 Datasheet(PDF) 3 Page - STMicroelectronics

Part # AN2017
Description  DIFFERENT WAYS TO RESET ST7 MICROCONTROLLER
PDF  10 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2017 Datasheet(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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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