TS87C51RC2-VIE Atmel, TS87C51RC2-VIE Datasheet - Page 28
![IC MCU 8BIT 32K OTP 40MHZ 44VQFP](/photos/6/92/69202/313-44-vqfp_sml.jpg)
TS87C51RC2-VIE
Manufacturer Part Number
TS87C51RC2-VIE
Description
IC MCU 8BIT 32K OTP 40MHZ 44VQFP
Manufacturer
Atmel
Series
87Cr
Specifications of TS87C51RC2-VIE
Core Processor
8051
Core Size
8-Bit
Speed
40/30MHz
Connectivity
UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
32
Program Memory Size
32KB (32K x 8)
Program Memory Type
OTP
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°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
28
AT/TS8xC51Rx2
Table 6-7 shows the CCAPMn settings for the various PCA functions.
.
Table 6-6.
1.
Table 6-7.
-
ECOMn
CAPPn
CAPNn
MATn
TOGn
PWMn
ECCFn
CCAPMn Address
ECOMn
• The last bit in the register ECOM (CCAPMn.6) when set enables the comparator function.
0
X
X
X
1
1
1
1
Symbol
n = 0 - 4
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.
CAPPn
0
1
0
1
0
0
0
0
CCAPMn: PCA Modules Compare/Capture Control Registers
PCA Module Modes (CCAPMn Registers)
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.
CCAPM2=0DCH
CCAPM3=0DDH
CCAPM0=0DAH
CCAPM1=0DBH
CCAPM4=0DEH
CAPNn
Reset value
0
0
1
1
0
0
0
0
MATn
0
0
0
0
1
1
0
1
X
-
TOGn
X
0
0
0
0
0
1
0
ECOMn CAPPn
0
PWMm
0
0
0
0
0
0
1
0
(1)
0
ECCFn
0
X
X
X
X
X
0
X
CAPNn
0
Module Function
on CEXn
CEXn
No Operation
16-bit capture by a positive-edge trigger
16-bit capture by a negative trigger on
16-bit capture by a transition on CEXn
16-bit Software Timer / Compare mode.
16-bit High Speed Output
8-bit PWM
Watchdog Timer (module 4 only)
MATn
0
TOGn
0
PWMm
4188F–8051–01/08
0
ECCFn
0