TS87C51RD2-LCA Atmel, TS87C51RD2-LCA Datasheet - Page 29

IC MCU 8BIT 64K OTP 30MHZ 40-DIP

TS87C51RD2-LCA

Manufacturer Part Number
TS87C51RD2-LCA
Description
IC MCU 8BIT 64K OTP 30MHZ 40-DIP
Manufacturer
Atmel
Series
87Cr
Datasheets

Specifications of TS87C51RD2-LCA

Core Processor
8051
Core Size
8-Bit
Speed
30/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)
2.7 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
40-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Data Converters
-
6.3.1
4188F–8051–01/08
PCA Capture Mode
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 6-8 & Table 6-9)
Table 6-8.
Table 6-9.
Table 6-10.
Table 6-11.
To use one of the PCA modules in the capture mode either one or both of the CCAPM bits
CAPN and CAPP for that module must be set. The external CEX input for the module (on port 1)
is sampled for a transition. When a valid transition occurs the PCA hardware loads the value of
the PCA counter registers (CH and CL) into the module's capture registers (CCAPnL and
CCAPnH). If the CCFn bit for the module in the CCON SFR and the ECCFn bit in the CCAPMn
SFR are set then an interrupt will be generated (Refer to Figure 6-6).
CCAPnH Address
CCAPnL Address
Address 0E9H
Address 0F9H
n = 0 - 4
n = 0 - 4
CH
CL
CCAPnH: PCA Modules Capture/Compare Registers High
CCAPnL: PCA Modules Capture/Compare Registers Low
CH: PCA Counter High
CL: PCA Counter Low
CCAP0L=0EAH
CCAP1L=0EBH
CCAP2L=0ECH
CCAP3L=0EDH
CCAP4L=0EEH
CCAP1H=0FBH
CCAP2H=0FCH
CCAP3H=0FDH
CCAP4H=0FEH
CCAP0H=0FAH
Reset value
Reset value
Reset value
Reset value
7
0
7
0
7
0
7
0
6
0
6
0
6
0
6
0
5
0
5
0
5
0
5
0
4
0
4
0
4
0
4
0
AT/TS8xC51Rx2
3
0
3
0
3
0
3
0
2
0
2
0
2
0
2
0
1
0
1
0
1
0
1
0
0
0
0
0
0
0
0
0
29

Related parts for TS87C51RD2-LCA