TS87C51RD2-MCM Atmel, TS87C51RD2-MCM Datasheet - Page 33

IC MCU 8051 OTP 64K 5V 64VQFP

TS87C51RD2-MCM

Manufacturer Part Number
TS87C51RD2-MCM
Description
IC MCU 8051 OTP 64K 5V 64VQFP
Manufacturer
Atmel
Series
87Cr
Datasheets

Specifications of TS87C51RD2-MCM

Core Processor
8051
Core Size
8-Bit
Speed
40/20MHz
Connectivity
UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
48
Program Memory Size
64KB (64K x 8)
Program Memory Type
OTP
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
64-TQFP, 64-VQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TS87C51RD2-MCM
Manufacturer:
Atmel
Quantity:
10 000
6.5.4. Pulse Width Modulator Mode
All of the PCA modules can be used as PWM outputs. Figure 12 shows the PWM function. The frequency of the
output depends on the source for the PCA timer. All of the modules will have the same frequency of output
because they all share the PCA timer. The duty cycle of each module is independently variable using the module's
capture register CCAPLn. When the value of the PCA CL SFR is less than the value in the module's CCAPLn
SFR the output will be low, when it is equal to or greater than the output will be high. When CL overflows from
FF to 00, CCAPLn is reloaded with the value in CCAPHn. This allows updating the PWM without glitches. The
PWM and ECOM bits in the module's CCAPMn register must be set to enable the PWM mode.
6.5.5. PCA Watchdog Timer
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 10 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:
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 modules 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
applications the first solution is the best option.
This watchdog timer won’t generate a reset out on the reset pin.
Rev. C - 06 March, 2001
• 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.
ECOMn
CAPPn
Enable
CAPNn MATn TOGn PWMn ECCFn
Overflow
Figure 12. PCA PWM Mode
PCA counter/timer
8 bit comparator
CCAPnH
CCAPnL
CL
<
CCAPMn, n= 0 to 4
0xDA to 0xDE
TS83C51RB2/RC2/RD2
TS87C51RB2/RC2/RD2
“1”
“0”
TS80C51RA2/RD2
CEXn
33

Related parts for TS87C51RD2-MCM