T89C51CC01 Atmel, T89C51CC01 Datasheet - Page 127

no-image

T89C51CC01

Manufacturer Part Number
T89C51CC01
Description
Enhanced 8-Bit Microcontroller
Manufacturer
Atmel
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
T89C51CC01CA-7CTIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C51CC01CA-RLTIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C51CC01CA-SLSIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C51CC01CASLIM
Quantity:
6 968
Part Number:
T89C51CC01UA-7CTIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C51CC01UA-RLTIM
Manufacturer:
Atmel
Quantity:
10 000
Figure 58. PCA PWM Mode
PCA Watchdog Timer
4129K–CAN–01/05
CL rolls over from FFh TO 00h loads
CCAPnH contents into CCAPnL
CL (8 bits)
An on-board Watchdog timer is available with the PCA to improve system reliability with-
out increasing chip count. Watchdog timers are useful for systems that are sensitive 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. 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.
To hold off the reset, the user has three options:
The first two options are more reliable because the Watchdog timer is never disabled as
in the third option. If the program counter ever goes astray, a match will eventually occur
and cause an internal reset. If other PCA modules are being used the second option not
recommended either. 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.
periodically change the compare value so it will never match the PCA timer,
periodically change the PCA timer value so it will never match the compare values,
or
disable the Watchdog by clearing the WDTE bit before a match occurs and then re-
enable it.
CCAPMn.6
ECOMn
8-Bit
Comparator
CCAPnL
CCAPnH
CCAPMn.1
PWMn
CL > = CCAPnL
CL < CCAPnL
“0”
“1”
T89C51CC01
CEX
127

Related parts for T89C51CC01