tm
MCU
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
TE
CH
T81L0006A/B
8-bit A/D Type MCU
3. General Description
The T81L0006A/B is 8-bit microcontroller designed and
developed with low power and high speed CMOS
technology. It contains a 8K bytes OTP ROM, a 128 × 8
RAM, an 8-channels 8-bit A/D converter, 15/19 I/O lines, a
watchdog timer, two 16-bit counter/timers, a seven source,
two-priority level nested interrupt structure, two channel
pulsed-width modulator (PWM), a full duplex UART, and
an on-chip oscillator and clock circuits.
In addition, the T81L0006A/B has two selectable modes
of power reduction-idle mode and power-down mode. The
idle mode freezes the CPU while allowing the RAM, timers,
serial port, and interrupt system to continue functioning.
The power-down mode saves the RAM contents but freezes
the oscillator, causing all other chip functions to be
inoperative.
1. Features
Compatible with MCS-51
Embedded 8K Bytes OTP ROM
128 x 8-bit Internal RAM
15/19 Programmable I/O Lines for 20/24-pin Package
Two 16-bit Timer/Counter & One 16-bit Timer
Two External Interrupt Input (Only One Input for
20-pin Package)
Two Channel PWM (Only One Channel PWM for
20-pin Package) Driving Capability up to 40 mA
Embedded 1k bits EEPROM (for T81L0006B only)
Programmable Serial UART Interface
Low Power Idle & Power-down Modes
Watch-dog Timer
On-chip Crystal & RC Oscillator (Selected by
Bonding Option)
Internal Power-on Reset and External Reset
Supported
8-Channel 8-bit A/D Converter
SOP20/DIP20 & SOP24/DIP24 Package
3.3V Operating Voltage
EEPORM Interface
Low Voltage Reset
4. Order information
Part number
T81L0006A-AK
T81L0006A-BK
T81L0006A-CK
T81L0006A-DK
T81L0006A-AD
T81L0006A-BD
T81L0006A-CD
T81L0006A-DD
T81L0006B-AK
T81L0006B-BK
T81L0006B-AD
T81L0006B-BD
Oscillator
type
RC
Crystal
RC
Crystal
RC
Crystal
RC
Crystal
RC
Crystal
RC
Crystal
EEPROM
NONE
NONE
NONE
NONE
NONE
NONE
NONE
NONE
Embedded
Embedded
Embedded
Embedded
Package
24-pin DIP
24-pin DIP
20-pin DIP
20-pin DIP
24-pin SOP
24-pin SOP
20-pin SOP
20-pin SOP
24-pin DIP
24-pin DIP
24-pin SOP
24-pin SOP
!
2.
Applications
•Meter
•Household
Appliances Controller
•Handwriting
Board
•Charger
•Sport
Devices
•Other
Controller (Automotive, Toy…)
TM Technology Inc. reserves the right
to change products or specifications without notice.
P. 1
Publication Date: AUG. 2005
Revsion : B
tm
TE
CH
T81L0006A/B
5. Block Diagram
RAM Addr.
Register
RAM
OTP
ROM
EEPROM
EEPROM
interface
B Register
ACC
Stack
Pointer
Program Address
Register
TMP2
W DT
TMP1
Buffer
ALU
PC
Incrementer
Interrupt, Serial port,
and Timer Block
PSW
Program
Counter
DPTR
RST
Timing &
Control
Instruction
Register
Port 3
Latch
PW M
Port 2
Latch
ADC
Port 1
Latch
OSC
Port 3 Drivers
Port 2 Drivers
Port 1 Drivers
XTAL1 XTAL2
P3.0 -P3.7
P2.0 P2.1 P2.3
P1.0 -P1.7
TM Technology Inc. reserves the right
to change products or specifications without notice.
P. 2
Publication Date: AUG. 2005
Revsion : B
tm
TE
CH
T81L0006A/B
6. Pin Configuration
(RXD) P3.0
(TXD) P3.1
(ADI0) P1.0
(ADI1) P1.1
(INT1) P3.3
GND
P2.3
(ADI2) P1.2
(ADI3) P1.3
(ADI4) P1.4
(ADI5) P1.5
(ADI6) P1.6
1
2
3
4
5
6
7
8
9
10
11
12
24
23
22
21
20
19
18
17
16
15
14
13
(T1) P3.5
(T0) P3.4
OSC-R
STOP
RST/VPP
VCC
P2.1
(VREF) P3.7
(PWM2) P2.0
(PWM1) P3.6
(INT0) P3.2
(ADI7) P1.7
(RXD) P3.0
(TXD) P3.1
(ADI0) P1.0
(ADI1) P1.1
(INT1) P3.3
GND
P2.3
(ADI2) P1.2
(ADI3) P1.3
(ADI4) P1.4
(ADI5) P1.5
(ADI6) P1.6
1
2
3
4
5
6
7
8
9
10
11
12
24
23
22
21
20
19
18
17
16
15
14
13
(T1) P3.5
(T0) P3.4
XIN
XOUT
RST/VPP
VCC
P2.1
(VREF) P3.7
(PWM2) P2.0
(PWM1) P3.6
(INT0) P3.2
(ADI7) P1.7
DIP-24/SOP-24 For RC Oscillator
T81L0006A-AK/ T81L0006A-AD
T81L0006B-AK/ T81L0006B-AD
DIP-24/SOP-24 For Crystal Oscillator
T81L0006A-BK/ T81L0006A-BD
T81L0006B-BK/ T81L0006B-BD
(R XD) P3.0
(TXD) P3.1
(ADI0) P1.0
(ADI1) P1.1
GND
(ADI2) P1.2
(ADI3) P1.3
(ADI4) P1.4
(ADI5) P1.5
(ADI6) P1.6
1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
(T1) P3.5
(T0) P3.4
OSC -R
STOP
RST/VPP
VCC
(VR EF) P3.7
(PW M 1) P3.6
(INT0) P3.2
(ADI7) P1.7
(R XD) P3.0
(TXD) P3.1
(ADI0) P1.0
(ADI1) P1.1
GND
(ADI2) P1.2
(ADI3) P1.3
(ADI4) P1.4
(ADI5) P1.5
(ADI6) P1.6
1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
(T1) P3.5
(T0) P3.4
XIN
XOUT
RST/VPP
VCC
(VR EF) P3.7
(PW M 1) P3.6
(INT0) P3.2
(ADI7) P1.7
DIP-20/SOP-20 For RC Oscillator
T81L0006A-CK/ T81L0006A-CD
DIP-20/SOP-20 For Crystal Oscillator
T81L0006A-DK/ T81L0006A-DD
TM Technology Inc. reserves the right
to change products or specifications without notice.
P. 3
Publication Date: AUG. 2005
Revsion : B
tm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
TE
CH
T81L0006A/B
7. Pin Description
Number Number
(24-Pin) (20-Pin)
1
2
3
4
-
5
-
6
7
8
9
10
11
12
13
-
14
-
15
16
17
18
19
20
Name
P3.0/(RXD)
P3.1/(TXD)
P1.0/(ADI0)
P1.1/(ADI1)
P3.3/(INT1)
GND
P2.3
P1.2/(ADI2)
P1.3/(ADI3)
P1.4/(ADI4)
P1.5/(ADI5)
P1.6/(ADI6)
P1.7/(ADI7)
P3.2/(INT0)
P3.6/(PWM1)
P2.0/(PWM2)
P3.7/(VREF)
P2.1
VCC
RST/VPP
XOUT/(STOP)
XIN/(OSC-R)
P3.4/(T0)
P3.5/(T1)
I
O
I
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
Type
I/O
I/O
I/O
I/O
I/O
Description
General-purpose I/O pin (Default) or Serial input port.
General-purpose I/O pin (Default) or Serial output port.
General-purpose I/O pin (Default) or ADC input channel 0.
General-purpose I/O pin (Default) or ADC input channel 1.
General-purpose I/O pin (Default) or External interrupt source 1.
Ground
General-purpose I/O pin.
General-purpose I/O pin (Default) or ADC input channel 2.
General-purpose I/O pin (Default) or ADC input channel 3.
General-purpose I/O pin (Default) or ADC input channel 4.
General-purpose I/O pin (Default) or ADC input channel 5.
General-purpose I/O pin (Default) or ADC input channel 6.
General-purpose I/O pin (Default) or ADC input channel 7.
General-purpose I/O pin (Default) or External interrupt source 0.
General-purpose I/O pin (Default) or PWM signal output channel 1.
General-purpose I/O pin (Default) or PWM signal output channel 2.
General-purpose I/O pin (Default) or External reference voltage input
pin for ADC.
General-purpose I/O pin.
3.3V power supply.
Reset signal input or programming supply voltage input.
Crystal oscillator output terminal or stop RC oscillator network.
Crystal oscillator input terminal or RC oscillator external resister
connect pin.
General-purpose I/O pin (Default) or Timer 0 external input pin.
General-purpose I/O pin (Default) or Timer 1 external input pin.
8. Temperature Limit Ratings
Parameter
Operating temperature Range
Storage Temperature Range
Rating
-40 to +85
-55 to +125
Units
°C
°C
TM Technology Inc. reserves the right
to change products or specifications without notice.
P. 4
Publication Date: AUG. 2005
Revsion : B
tm
Symbol
V
CC
I
CC
I
PD
TE
CH
T81L0006A/B
9. Electrical Characteristics
D.C Characteristics
Parameter
Conditions
Operating Voltage
25°C
Operating Current
No load, ADC disable Vcc=3.3V
Power-Down Current
No load, Vcc=3.3V
Only ADC Enable, Others
I
ADC
No load
Disable
V
ADC
ADC Input Voltage Range
V
REF
V
REF
input voltage range
V
out
>=V
VOH(MIN.)
V
IH
Hi-Level input voltage
V
out
<=V
VOL(MIN.)
V
out
>=V
VOH(MIN.)
V
IL
Low-Level input voltage
V
out
<=V
VOL(MIN.)
I
OH
=-7uA
V
CC
=MIN.
I
OH
=-45uA
V
OH
Hi-Level Output voltage
V
I
=V
IH
or
I
OH
=-70uA
V
IL
I
OH
=-12mA**
I
OH
=-20mA**
I
OL
=12mA
V
CC
=MIN.
V
OL
1 *
Low-Level Output voltage V
I
=V
IH
or
I
OL
=25mA
V
IL
I
OL
=40mA
I
OL
=4mA
V
CC
=MIN.
V
OL
2 ** Low-Level Output voltage V
I
=V
IH
or
I
OL
=12mA
V
IL
I
OL
=20mA
Note : * for PWM pins (P3.6/PWM1 and P2.0/PWM2).
** for high driving current mode.
Min
3.0
-
-
0
2
2.1
-
2.9
2.4
1.9
2.4
1.9
-
Typ
3.3
6
120
-
-
-
-
Max
3.6
-
1
-
V
REF
V
CC
-
0.6
Units
V
mA
uA
uA
V
V
V
V
-
-
V
-
0.2
0.4
0.6
0.2
0.4
0.6
V
V
A.C Characteristics
Symbol
F
SYS1
F
SYS2
F
ADC
t
ACT
t
RES
t
POS
t
LHLL
t
AVLL
t
LLAX
t
LLIV
t
LLPL
t
PLPH
t
PLIV
t
AVIV
t
RLRH
t
WLWH
t
RLDV
t
LLDV
t
AVDV
t
LLWL
t
AVWL
t
WHLH
Parameter
System Clock 1 (Crystal OSC)
System Clock 2 (RC OSC)
ADC Clock Frequency
ADC Conversion Time
External Reset High Pulse Width
Power ON Start up Time
ALE pulse width
Address Valid to ALE Low
Address Hold after ALE Low
ALE Low to Valid Instruction In
ALE Low to PSEN Low
PSEN pulse width
PSEN Low to Valid Instruction In
Address to Valid Instruction In
RD pulse width
WR pulse width
RD Low to Valid data in
ALE Low to Valid data in
Address to Valid data in
ALE Low to RD or WR Low
Address to RD or WR Low
RD or WR High to ALE High
Conditions
V
CC
=3.3V
V
CC
=3.3V
Min
-
-
-
-
-
-
127
43
48
-
43
205
-
-
400
400
-
-
-
200
203
43
Typ
12
12
125
128
10
20
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Max
24
-
-
-
-
-
-
-
233
-
-
145
312
-
252
517
585
300
-
123
Units
MHz
MHz
KHz
us
system cycle
ms
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
TM Technology Inc. reserves the right
to change products or specifications without notice.
P. 5
Publication Date: AUG. 2005
Revsion : B