TM6811 tenx technology 4 Bit Microcontroller FUNCTION 1. Powerful instruction set (130 instructions). Binary addition, subtraction, BCD adjust, logical operation in direct and index addressing mode. Single-bit manipulation (set, reset, decision for branch). Various conditional branch. 16 working registers and manipulation. Look-up table LCD driver data transfer. 2. Memory capacity. ROM capacity RAM capacity 1024 64 x 16 bits. x 4 bits. 3. Input/output ports. Port IOC 1 pin (with internal pull-low, low-level-hold). IOC port had built in the input signal chattering prevention circuitry. Port IOA 4 pin (input mode only, with low-level-hold) 4. 8 level subroutine nesting. 5. Interrupt function External factor 1 Internal factors 3 (Pin IOC3). (Pre-Divider, Timer2 & RFC). 6. Built in Alarm, clock or single tone melody generator(BZB, BZ). 7. Built-in R to F Converter circuit. CX, RR, RT. 8. One 6-bit programmable timer(timer 2) with programmable clock source. 9. LCD driver output. 9 LCD driver outputs (up to drive 36 LCD segments). 1/4 Duty for LCD display. 1/2 Bias for LCD display. Single instruction to turn off all segments. 10. Built-in Voltage doubler charge pump circuit. 11. Built-in internal RC oscillator(~128kHz) or External R oscillator , mask option. 12. HALT function. 13. STOP function. 14. Low battery detected function APPLICATION Thermometer 1 tenx technology, inc. Rev1.4 , 08/31/01 TM6811 PIN DESCRIPTION Name I/O Description VDD P VDD1,2 P RESET TESTA CUP1,2 I O COM1~4 SEG1-9 IOC3 O O I/O CX RR, RT BZB, BZ GND XIN PH10I IA1 IA2 IA3 IA4 I O O P I I I I I I Positive power supply. Connect a 0.1u capacitor to GND. LCD supply voltage, and reference power supply voltage. Both pins have to connect a 0.1uf capacitor to GND. Input pin for chip reset request signal, with internal pull-down resistor. Test signal input pin. Switching pins for supply the LCD driving voltage. Connect the CUP1 and CUP2 pins with a 0.1uf non-polarized electrolytic capacitor, Output pins for driving the common pins of the LCD panel. Output pins for driving the LCD panel segment. 1. Input / Output port C, can use software to define internal pull-low / low-level-hold Resistor and Chattering clock to reduce input bounce. 2.ROUT in Ext-R option mode , in the mode IOC function no used. 1 input pin and 2 output pins for RFC application. Output port for alarm, frequency or melody generator Negative supply voltage. RIN in Ext-R option. For testing Input pin Input pin Input pin Input pin PAD COORDINATE No Name 1 RESET 2 GND 3 CX 4 RR 5 RT 6 TESTA 7 BZ 8 BZB 9 COM1 10 COM2 11 COM3 12 COM4 13 SEG1 14 SEG2 15 SEG3 16 SEG4 17 SEG5 X 87.5 87.5 87.5 87.5 141.55 329.65 487.65 645.65 802.5 952.5 1102.5 1252.5 1302.5 1302.5 1302.5 1302.5 1302.5 Y 742.55 606.05 419.55 239.45 87.5 87.5 87.5 87.5 87.5 87.5 87.5 87.5 223.35 353.35 468.35 583.35 698.35 No 18 19 20 21 22 23 24 25 26 27 28 29 30 Name SEG8 SEG7 SEG8 SEG9 PH10I IA1 IA2 IA3 IA4 VDD2 CUP1 CUP2 VDD1 31 VDD 32 33 XIN IOC3 X 1302.5 1302.5 1302.5 1302.5 1182.7 1052.7 932.7 812.7 692.7 562.7 322.5 437.5 207.5 87.5 87.5 87.5 Y 813.35 928.35 1043.35 1173.35 1262.5 1262.5 1262.5 1262.5 1262.5 1262.5 1262.5 1262.5 1262.5 1262.5 1058.55 900.55 PAD DIAGRAM 2 tenx technology, inc. Rev1.4, 08/31/01 TM6811 2 CX 3 RR 4 30 29 28 27 26 25 24 23 22 10 11 12 COM3 COM4 9 COM2 8 COM1 7 BZB 6 BZ 5 TESTA RT PH10I GND IA1 1 IA2 RESET IA3 33 IA4 IOC3 VDD2 32 CUP1 XIN CUP2 31 VDD1 VDD 21 SEG9 20 SEG8 19 SEG7 18 SEG6 17 SEG5 16 SEG4 15 SEG3 14 SEG2 13 SEG1 The substrate of chip should be connected to GND. ABSOLOUTE MAXIMUM RATINGS at Ta=-20 to 70℃,GND= 0V Name Symbol Range Unit VDD -0.3 to 1.8 V VDD1 -0.3 to 1.8 V VDD2 -0.3 to 3.6 V Maximum Input Voltage Vin -0.3 to VDD+0.3 V Maximum output Voltage Vout1 -0.3 to VDD1+0.3 V Vout2 -0.3 to VDD2+0.3 V Maximum Operating Temperature Topg -20 to +70 ℃ Maximum Storage Temperature Tstg -25 to +125 ℃ Maximum Supply Voltage ALLOWABLE OPERATING CONDITIONS 3 tenx technology, inc. Rev1.4, 08/31/01 TM6811 at Ta=-20 to 70℃,GND= 0V Name Supply Voltage Symb. Condition Min. Typ. Max. Unit VDD 1.2 1.5 1.8 V VDD1 1.0 1.1 1.3 V VDD2 2.0 2.2 2.6 V Operating current Iop RFC operating 20 45 60 uA Stand-by current Isb STOP mode - - 1 uA Voltage detector Vbat 1.15 1.25 1.35 Input “H” Voltage Vih1 VDD-0.7 - VDD+0.7 V Input “L” Voltage Vil1 -0.7 - 0.7 V - 128 - KHZ Oscillator Freq Ag Battery Mode Fopg1 Built-in oscillator ELECTRICAL CHARACTERISTICS Input Resistance Name Symb. Condition Min. Typ. Max. Unit Rllh1 Vi=0.2VDD1 10 40 100 Kohm IOC3 Pull-Down Tr. Rmad1 Vi=VDD1 200 500 1000 Kohm RES Pull-Down R Rres1 Vi=GND or VDD1 5 20 50 Kohm “L” Level Hold Tr.(IOC3) DC Output Characteristics Name Symb. Condition Port Voh1c Ioh=-200uA Min. Typ. Max. Unit 0.8 0.9 1.0 V 0.2 0.3 0.4 V Output ”H” Voltage Vol1c Iol=400uA SEG1~9 Output ”L” Voltage Segment Driver Output Characteristics Name Symb. Condition For Min. Typ. Max. Unit. 1/2 Bias Display Mode Output ”H” Voltage Voh12f Ioh=-1uA Output ”L” Voltage Vol12f Iol=1uA Output ”H” Voltage Voh12g Ioh=-10uA Output ”M” Voltage Vom12g Iol/h=+/-10uA Output ”L” Voltage SEG-n 2.2 V 0.2 COM-n 2.2 1.0 COM-n Vol12g Iol=10uA V V 1.4 V 0.2 V Typical Application Circuit 4 tenx technology, inc. Rev1.4, 08/31/01 TM6811 + VDD 0.1uf 1.5V GND TESTA (NC) RESET (NC) PH10I (NC) XIN VDD1 (NC) VDD2 0.1uF BZ 0.1uF BZB C1 R1 RT R2 RR CUP1 0.1uf Comp. C1 R1 R2 Value 0.01uF 30K 20K TM6811 COM1 CX COM2 Buzzer COM3 COM4 SEG1 SEG2 SEG3 CUP2 SEG4 IOC3 SEG5 IOA1 SEG6 IOA2 SEG7 IOA3 SEG8 IOA4 SEG9 LCD panel 1/2 bias 1/ 4duty Remark thermistor at 37 degree Note : This application circuit is for internal RC oscillator option. 5 tenx technology, inc. Rev1.4, 08/31/01