TS87C51RD2-MCE Atmel, TS87C51RD2-MCE Datasheet - Page 28
![IC MCU 8BIT 64K OTP 40MHZ 44VQFP](/photos/6/92/69202/313-44-vqfp_sml.jpg)
TS87C51RD2-MCE
Manufacturer Part Number
TS87C51RD2-MCE
Description
IC MCU 8BIT 64K OTP 40MHZ 44VQFP
Manufacturer
Atmel
Series
87Cr
Specifications of TS87C51RD2-MCE
Core Processor
8051
Core Size
8-Bit
Speed
40/20MHz
Connectivity
UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
32
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
44-TQFP, 44-VQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Data Converters
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
TS80C51RA2/RD2
TS83C51RB2/RC2/RD2
TS87C51RB2/RC2/RD2
There are two additional registers associated with each of the PCA modules. They are CCAPnH and
CCAPnL and these are the registers that store the 16-bit count when a capture occurs or a compare should
occur. When a module is used in the PWM mode these registers are used to control the duty cycle of the
output (See Table 12 & Table 13)
28
CCAPMn Address
n = 0 - 4
Table 10. CCAPMn: PCA Modules Compare/Capture Control Registers
a.
ECOMn CAPPn CAPNn
-
ECOMn
CAPPn
CAPNn
MATn
TOGn
PWMn
ECCFn
X
X
X
Symbol
0
1
1
1
1
User software should not write 1s to reserved bits. These bits may be used in future 8051 family
products to invoke new features. In that case, the reset or inactive value of the new bit will be 0, and its
active value will be 1. The value read from a reserved bit is indeterminate.
Table 11. PCA Module Modes (CCAPMn Registers)
CCAPM0=0DAH
CCAPM1=0DBH
CCAPM2=0DCH
CCAPM3=0DDH
CCAPM4=0DEH
Reset value
0
1
0
1
0
0
0
0
Function
Not implemented, reserved for future use.
Enable Comparator. ECOMn = 1 enables the comparator function.
Capture Positive, CAPPn = 1 enables positive edge capture.
Capture Negative, CAPNn = 1 enables negative edge capture.
Match. When MATn = 1, a match of the PCA counter with this module's compare/capture
register causes the CCFn bit in CCON to be set, flagging an interrupt.
Toggle. When TOGn = 1, a match of the PCA counter with this module's compare/capture
register causes the CEXn pin to toggle.
Pulse Width Modulation Mode. PWMn = 1 enables the CEXn pin to be used as a pulse width
modulated output.
Enable CCF interrupt. Enables compare/capture flag CCFn in the CCON register to generate
an interrupt.
0
0
1
1
0
0
0
0
MATn
X
-
0
0
0
0
1
1
0
1
ECOMn CAPPn CAPNn
TOGn
0
X
0
0
0
0
0
1
0
PWMm ECCFn
0
0
0
0
0
0
0
1
0
a
0
X
X
X
X
X
X
0
0
on CEXn
CEXn
MATn
16-bit capture by a positive-edge trigger
16-bit Software Timer / Compare mode.
No Operation
16-bit capture by a transition on CEXn
16-bit High Speed Output
8-bit PWM
Watchdog Timer (module 4 only)
16-bit capture by a negative trigger on
0
TOGn
Module Function
Rev. C - 06 March, 2001
0
PWMm ECCFn
0
0