TS87C58X2-MCE Atmel, TS87C58X2-MCE Datasheet - Page 15
![IC MCU 8BIT 32K OTP 40MHZ 44VQFP](/photos/6/92/69202/313-44-vqfp_sml.jpg)
TS87C58X2-MCE
Manufacturer Part Number
TS87C58X2-MCE
Description
IC MCU 8BIT 32K OTP 40MHZ 44VQFP
Manufacturer
Atmel
Series
87Cr
Datasheet
1.TS87C54X2-LIC.pdf
(62 pages)
Specifications of TS87C58X2-MCE
Core Processor
8051
Core Size
8-Bit
Speed
40/20MHz
Connectivity
UART/USART
Peripherals
POR, WDT
Number Of I /o
32
Program Memory Size
32KB (32K x 8)
Program Memory Type
OTP
Ram Size
256 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
Company:
Part Number:
TS87C58X2-MCE
Manufacturer:
TEMIC
Quantity:
6 867
Figure 8-1.
8.1.1
4431E–8051–04/06
Programmable Clock-Output
Auto-Reload Mode Up/Down Counter (DCEN = 1)
XTAL1
In the clock-out mode, timer 2 operates as a 50%-duty-cycle, programmable clock generator
(See Figure 8-2) . The input clock increments TL2 at frequency F
counts to overflow from a loaded value. At overflow, the contents of RCAP2H and RCAP2L reg-
isters are loaded into TH2 and TL2. In this mode, timer 2 overflows do not generate interrupts.
The formula gives the clock-out frequency as a function of the system oscillator frequency and
the value in the RCAP2H and RCAP2L registers :
For a 16 MHz system clock, timer 2 has a programmable frequency range of 61 Hz
(F
Timer 2 is programmed for the clock-out mode as follows:
• Set T2OE bit in T2MOD register.
• Clear C/T2 bit in T2CON register.
• Determine the 16-bit reload value from the formula and enter it in RCAP2H/RCAP2L
OSC
registers.
C l o c k O u t F r e q u e n c y
F
XTAL
/2
16)
–
to 4 MHz (F
OSC
F
OSC
/4). The generated clock signal is brought out to T2 pin (P1.0).
=
(DOWN COUNTING RELOAD VALUE)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4
×
(UP COUNTING RELOAD VALUE)
( : 6 i n X 2 m o d e )
(
65536
T2
:12
RCAP2L
(8-bit)
(8-bit)
(8-bit)
TL2
FFh
–
R C A P
F o s c
T2CONreg
RCAP2H
C/T2
(8-bit)
(8-bit)
TH2
(8-bit)
0
FFh
1
2
H
⁄
R C A P
T2CONreg
TR2
2
L
)
AT/TS8xC54/8X2
T2EX:
if DCEN=1, 1=UP
if DCEN=1, 0=DOWN
T2CONreg
T O G -
OSC
TF2
/2. The timer repeatedly
T2CONreg
EXF2
INTERRUPT
TIMER 2
15