Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

T89C51RD2-RDTIL Datasheet(PDF) 46 Page - ATMEL Corporation

Part # T89C51RD2-RDTIL
Description  0 to 40 MHz Flash Programmable 8-bit Microcontroller
PDF  104 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

T89C51RD2-RDTIL Datasheet(HTML) 46 Page - ATMEL Corporation

Back Button T89C51RD2-RDTIL Datasheet HTML 42Page - ATMEL Corporation T89C51RD2-RDTIL Datasheet HTML 43Page - ATMEL Corporation T89C51RD2-RDTIL Datasheet HTML 44Page - ATMEL Corporation T89C51RD2-RDTIL Datasheet HTML 45Page - ATMEL Corporation T89C51RD2-RDTIL Datasheet HTML 46Page - ATMEL Corporation T89C51RD2-RDTIL Datasheet HTML 47Page - ATMEL Corporation T89C51RD2-RDTIL Datasheet HTML 48Page - ATMEL Corporation T89C51RD2-RDTIL Datasheet HTML 49Page - ATMEL Corporation T89C51RD2-RDTIL Datasheet HTML 50Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 46 / 104 page
background image
46
T89C51RD2
4243G–8051–05/03
Hardware Watchdog
Timer
The WDT is intended as a recovery method in situations where the CPU may be sub-
jected to software upset. The WDT consists of a 14-bit counter and the WatchDog Timer
ReSeT (WDTRST) SFR. The WDT is by default disabled from exiting reset. To enable
the WDT, user must write 01EH and 0E1H in sequence to the WDTRST, SFR location
0A6H. When WDT is enabled, it will increment every machine cycle while the oscillator
is running and there is no way to disable the WDT except through reset (either hardware
reset or WDT overflow reset). When WDT overflows, it will drive an output RESET HIGH
pulse at the RST-pin.
Using the WDT
To enable the WDT, user must write 01EH and 0E1H in sequence to the WDTRST, SFR
location 0A6H. When WDT is enabled, the user needs to service it by writing to 01EH
and 0E1H to WDTRST to avoid WDT overflow. The 14-bit counter overflows when it
reaches 16383 (3FFFH) and this will reset the device. When WDT is enabled, it will
increment every machine cycle while the oscillator is running. This means the user must
reset the WDT at least every 16383 machine cycle. To reset the WDT the user must
write 01EH and 0E1H to WDTRST. WDTRST is a write only register. The WDT counter
cannot be read or written. When WDT overflows, it will generate an output RESET pulse
at the RST-pin. The RESET pulse duration is 96 x T
OSC , where TOSC = 1/FOSC . To
make the best use of the WDT, it should be serviced in those sections of code that will
periodically be executed within the time required to prevent a WDT reset.
To have a more powerful WDT, a 27 counter has been added to extend the Time-out
capability, ranking from 16ms to 2s @ F
OSC = 12MHz. To manage this feature, refer to
WDTPRG register description, Table 29. (SFR0A7h).
Table 28. WDTRST Register
WDTRST Address (0A6h)
Write only, this SFR is used to reset/enable the WDT by writing 01EH then 0E1H in
sequence.
Table 29. WDTPRG Register
WDTPRG Address (0A7h)
7
6
5
4
3
2
1
Reset value
X
X
X
X
X
X
X
7
6
5
4
3
2
1
0
T4
T3
T2
T1
T0
S2
S1
S0
Bit
Number
Bit
Mnemonic
Description
7T4
Reserved
The value read from this bit is undeterminated. Do not try to set this bit..
6T3
5T2
4T1
3T0
2
S2
WDT Time-out select bit 2
1
S1
WDT Time-out select bit 1



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 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   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