AT89C51IC2 Atmel Corporation, AT89C51IC2 Datasheet - Page 46

no-image

AT89C51IC2

Manufacturer Part Number
AT89C51IC2
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C51IC2

Flash (kbytes)
32 Kbytes
Max. Operating Frequency
60 MHz
Cpu
8051-12C
Max I/o Pins
34
Spi
1
Twi (i2c)
1
Uart
1
Sram (kbytes)
1.25
Self Program Memory
API
Operating Voltage (vcc)
2.7 to 5.5
Timers
4
Isp
UART
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C51IC2-IL
Manufacturer:
ATMEL
Quantity:
1 319
Part Number:
AT89C51IC2-RLRIL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51IC2-RLRIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51IC2-RLRUL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51IC2-RLRUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51IC2-RLTIL
Manufacturer:
ATMEL
Quantity:
640
Part Number:
AT89C51IC2-RLTIL
Manufacturer:
ATMEL
Quantity:
4 116
Part Number:
AT89C51IC2-UL
Manufacturer:
XR
Quantity:
2
Part Number:
AT89C51IC2-UM
Manufacturer:
Atmel
Quantity:
5
PCA Watchdog Timer
46
AT89C51IC2
Figure 16. PCA PWM Mode
An on-board watchdog timer is available with the PCA to improve the reliability of the
system without increasing chip count. Watchdog timers are useful for systems that are
susceptible to noise, power glitches, or electrostatic discharge. Module 4 is the only
PCA module that can be programmed as a watchdog. However, this module can still be
used for other modes if the watchdog is not needed. Figure 14 shows a diagram of how
the watchdog works. The user pre-loads a 16-bit value in the compare registers. Just
like the other compare modes, this 16-bit value is compared to the PCA timer value. If a
match is allowed to occur, an internal reset will be generated. This will not cause the
RST pin to be driven high.
In order to hold off the reset, the user has three options:
1. periodically change the compare value so it will never match the PCA timer,
2. periodically change the PCA timer value so it will never match the compare values, or
3. disable the watchdog by clearing the WDTE bit before a match occurs and then re-
enable it.
The first two options are more reliable because the watchdog timer is never disabled as
in option #3. If the program counter ever goes astray, a match will eventually occur and
cause an internal reset. The second option is also not recommended if other PCA mod-
ules are being used. Remember, the PCA timer is the time base for all modules;
changing the time base for other modules would not be a good idea. Thus, in most appli-
cations the first solution is the best option.
This watchdog timer won’t generate a reset out on the reset pin.
ECOMn
CAPPn
Enable
CAPNn MATn TOGn PWMn ECCFn
Overflow
PCA counter/timer
8 bit comparator
CCAPnH
CCAPnL
CL
CCAPMn, n= 0 to 4
0xDA to 0xDE
“1”
“0”
4301D–8051–02/08
CEXn

Related parts for AT89C51IC2