AT89LP51RC2 Atmel Corporation, AT89LP51RC2 Datasheet - Page 105

no-image

AT89LP51RC2

Manufacturer Part Number
AT89LP51RC2
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89LP51RC2

Flash (kbytes)
32 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-1C
Max I/o Pins
42
Spi
1
Twi (i2c)
1
Uart
1
Adc Channels
7
Adc Resolution (bits)
10
Adc Speed (ksps)
153.8
Sram (kbytes)
1.375
Self Program Memory
API
Operating Voltage (vcc)
2.4 to 5.5
Timers
4
Isp
SPI/OCD/UART
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP51RC2-20AAU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51RC2-20AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51RC2-20JU
Manufacturer:
Atmel
Quantity:
10 000
16.1
3722A–MICRO–10/11
Software Reset
The program sequence to feed or enable the watchdog timer is as follows:
Table 16-1.
The WDT time-out period is dependent on the system clock frequency.
A Software Reset of the AT89LP51RB2/RC2/IC2 is accomplished by writing the software reset
sequence 5AH/A5H to the WDTRST SFR. The WDT does not need to be enabled to generate
the software reset. A normal software reset will set the SWRST flag in WDTCON. However, if at
any time an incorrect sequence is written to WDTRST (i.e. anything other than 1EH/E1H or
5AH/A5H), a software reset will immediately be generated and both the SWRST and WDTOVF
flags will be set. In this manner an intentional software reset may be distinguished from a soft-
ware error-generated reset. The program sequence to generate a software reset is as follows:
A software reset has the same duration as the normal watchdog reset and will also generate a
reset pulse on the RST pin unless DISRTO is set.
PS2
0
0
0
0
1
1
1
1
MOV WDTRST, #01Eh
MOV WDTRST, #0E1h
MOV WDTRST, #05Ah
MOV WDTRST, #0A5h
Watchdog Timer Time-out Period Selection
WDT Prescaler Bits
PS1
AT89LP51RB2/RC2/IC2 Preliminary
0
0
1
1
0
0
1
1
PS0
0
1
0
1
0
1
0
1
1024K x (TPS+1)
2048K x (TPS+1)
128K x (TPS+1)
256K x (TPS+1)
512K x (TPS+1)
(Clock Cycles)
16K x (TPS+1)
32K x (TPS+1)
64K x (TPS+1)
Period
()
105

Related parts for AT89LP51RC2