Advertisement

Quick Links

tm
MCU
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
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.
Downloaded from
Elcodis.com
electronic components distributor
TE
CH
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.
4. Order information
Oscillator
Part number
type
T81L0006A-AK
RC
T81L0006A-BK
Crystal
T81L0006A-CK
RC
T81L0006A-DK
Crystal
T81L0006A-AD
RC
T81L0006A-BD
Crystal
T81L0006A-CD
RC
T81L0006A-DD
Crystal
T81L0006B-AK
RC
T81L0006B-BK
Crystal
T81L0006B-AD
RC
T81L0006B-BD
Crystal
P. 1
Publication Date: JAN. 2006
T81L0006A/B
EEPROM
Package
NONE
24-pin DIP
NONE
24-pin DIP
NONE
20-pin DIP
NONE
20-pin DIP
NONE
24-pin SOP
NONE
24-pin SOP
NONE
20-pin SOP
NONE
20-pin SOP
Embedded
24-pin DIP
Embedded
24-pin DIP
Embedded
24-pin SOP
Embedded
24-pin SOP
Revsion : C

Advertisement

Table of Contents
loading

Summary of Contents for TM T81L0006A Series

  • Page 1 2. Applications •Meter •Household Appliances Controller •Handwriting Board •Charger •Sport Devices •Other Controller (Automotive, Toy…) TM Technology Inc. reserves the right P. 1 Publication Date: JAN. 2006 to change products or specifications without notice. Revsion : C Downloaded from Elcodis.com...
  • Page 2: Block Diagram

    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 P. 2 Publication Date: JAN. 2006 to change products or specifications without notice. Revsion : C Downloaded from Elcodis.com electronic components distributor...
  • Page 3: Pin Configuration

    (ADI6) P1.6 (ADI7) P1.7 DIP-20/SOP-20 For Crystal Oscillator DIP-20/SOP-20 For RC Oscillator T81L0006A-DK/ T81L0006A-DD T81L0006A-CK/ T81L0006A-CD TM Technology Inc. reserves the right P. 3 Publication Date: JAN. 2006 to change products or specifications without notice. Revsion : C Downloaded from Elcodis.com...
  • Page 4: Pin Description

    Units Operating temperature Range -40 to +85 °C Storage Temperature Range -55 to +125 °C TM Technology Inc. reserves the right P. 4 Publication Date: JAN. 2006 to change products or specifications without notice. Revsion : C Downloaded from Elcodis.com...
  • Page 5: Electrical Characteristics D.c Characteristics

    LLWL Address to RD or WR Low AVWL RD or WR High to ALE High WHLH TM Technology Inc. reserves the right P. 5 Publication Date: JAN. 2006 to change products or specifications without notice. Revsion : C Downloaded from Elcodis.com...
  • Page 6: Function Description

    10.2 Oscillation OSCR XOUT 2.2M STOP T81L0006A/B-B T81L0006A/B-A RC Oscillator Crystal Oscillator TM Technology Inc. reserves the right P. 6 Publication Date: JAN. 2006 to change products or specifications without notice. Revsion : C Downloaded from Elcodis.com electronic components distributor...
  • Page 7 NOTE: The contents of (RS1, RS0) enable the working register banks as follows: (0,0)— Bank 0 (00H–07H) (0,1)— Bank 1 (08H–0fH) (1,0)— Bank 2 (10H–17H) (1,1)— Bank 3 (18H–17H) TM Technology Inc. reserves the right P. 7 Publication Date: JAN. 2006 to change products or specifications without notice. Revsion : C Downloaded from Elcodis.com...
  • Page 8 Reception is initiated in Mode 0 by the condition RI = ‘0’ and REN = ‘1’. Reception is initiated in the other modes by the incoming start bit if REN = ‘1’. TM Technology Inc. reserves the right P. 8 Publication Date: JAN.
  • Page 9 EXEN2=1. when timer2 interrupt is enabled, EXF2=1 will cause the CPU to vector to the timer2 interrupt routine. EXF2 must be cleared by software. T2CON.5: RCLK Receive clock flag. When set, cause the serial port to use timer2 overflow pulses for its receive clock in TM Technology Inc. reserves the right P. 9 Publication Date: JAN. 2006 to change products or specifications without notice.
  • Page 10: Serial Interface Timing Diagram

    Write to SBUF Send Shift Write to SCON, Clear RI Receive Shift Serial Port Mode 0 TM Technology Inc. reserves the right P. 10 Publication Date: JAN. 2006 to change products or specifications without notice. Revsion : C Downloaded from Elcodis.com...
  • Page 11 Stop Bit Start Bit clock Stop Bit Start Bit Shift Serial Port Mode 2 TM Technology Inc. reserves the right P. 11 Publication Date: JAN. 2006 to change products or specifications without notice. Revsion : C Downloaded from Elcodis.com electronic components distributor...
  • Page 12 Enable or disable the Timer 0 overflow interrupt. IE.0 Enable or disable External Interrupt 0. NOTE: if A/D converter interrupts enabled, EX1 interrupt function will be replaced. TM Technology Inc. reserves the right P. 12 Publication Date: JAN. 2006 to change products or specifications without notice.
  • Page 13: Watchdog Timer

    The procedure is as “Start procedure” before. TM Technology Inc. reserves the right P. 13 Publication Date: JAN.
  • Page 14 The wdtrel register can be loaded and read any time TM Technology Inc. reserves the right P. 14 Publication Date: JAN. 2006 to change products or specifications without notice.
  • Page 15 For example if you use frequency clock=12MHz, wdtrel=10111111b which means wdtrel.7=1 and wdth=3Fh Then reset time= (7FFCh-3F00h)*48/12M=66544 us TM Technology Inc. reserves the right P. 15 Publication Date: JAN. 2006 to change products or specifications without notice.
  • Page 16 Bit 2 Bit1 Bit 0 Port1.7 Port1.6 Port1.5 Port1.4 Port1.3 Port1.2 Port1.1 Port1.0 TM Technology Inc. reserves the right P. 16 Publication Date: JAN. 2006 to change products or specifications without notice. Revsion : C Downloaded from Elcodis.com electronic components distributor...
  • Page 17 1:128 ADB7 ~ADB0--- 8-bit ADC converting data ENCH7 ~ENCH0 --- ADC individual input channel enable bit: 0-Disable, 1-Enable TM Technology Inc. reserves the right P. 17 Publication Date: JAN. 2006 to change products or specifications without notice. Revsion : C Downloaded from Elcodis.com...
  • Page 18 10 ADCLK < TIME < 16 ADCLK CHS[2:0] AN[7:0] 16 ADCLK PCHA 5 ADCLK D[7:0] 1.5 ADCLK TM Technology Inc. reserves the right P. 18 Publication Date: JAN. 2006 to change products or specifications without notice. Revsion : C Downloaded from Elcodis.com electronic components distributor...
  • Page 19 PWM2 register: Set PWM2’s duty cycle. --- Duty2= PWM2/256 or 16-bit PWM duty cycle value high byte. Set 16-bit PWM duty cycle. --- Duty= (PWM2, PWM1)/65536 TM Technology Inc. reserves the right P. 19 Publication Date: JAN. 2006 to change products or specifications without notice.
  • Page 20: Eeprom Interface

    WRALL (Write All Registers) 01xxxx D15-D0 WDS (Write Disable) 00xxxx Erase A5-A0 ERAL 10xxxx TM Technology Inc. reserves the right P. 20 Publication Date: JAN. 2006 to change products or specifications without notice. Revsion : C Downloaded from Elcodis.com electronic components distributor...
  • Page 21 P3.4 T0 (timer 0 external input) P3.5 T1 (timer 1 external input) P3.6 PWM1 (PWM 1 signal output) P3.7 VREF (external reference voltage input for ADC) TM Technology Inc. reserves the right P. 21 Publication Date: JAN. 2006 to change products or specifications without notice.
  • Page 22: Package Dimension

    0.291 0.229 0.394 0.419 0.394 0.419 0.016 0.050 0.016 0.050 UNIT: INCH TM Technology Inc. reserves the right P. 22 Publication Date: JAN. 2006 to change products or specifications without notice. Revsion : C Downloaded from Elcodis.com electronic components distributor...
  • Page 23 0.130 0.140 0.335 0.355 0.375 0.335 0.355 0.375 0.075 0.075 UNIT: INCH TM Technology Inc. reserves the right P. 23 Publication Date: JAN. 2006 to change products or specifications without notice. Revsion : C Downloaded from Elcodis.com electronic components distributor...

Table of Contents