| The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers. |
PS/2 Keyboard controller Version: Apr/2002 http://www.topro.
Top Searches for this datasheetTP8511HBE01 PS/2 Keyboard controller Version: Apr/2002 http://www.topro.com.tw No.10, Prosperity Road Science-Based Industrial Park, Hsinchu 300, Taiwan, R.O.C TPE: No.27, Chuan Taipei 104, Taiwan, R.O.C SHENZHEN: Room 802, Tower World Trade Plaza, Fahong Rd., Fatian, Shenzhen, China (518033) H.Q.: Tel:886-3-5632515 Fax:886-3-5641728 TPE.: Tel:886-2-25856858 Fax:886-2-25941104 SHENZHEN:TEL:755-3679985 Fax:755-3679518 Page TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller General Specification General Description TP8511KB 8-bits microcontroller that operate wide range power supply. TP8511KB contains four 8-bit bi-directional parallel ports, 16-bit timer/counters, three direct drivers. These peripherals supported two-source, two-level interrupt capability. internal memory includes bytes data memory bytes program memory. Feature 8-bit CMOS microcontroller Fully static design Wide supply voltage range: from 4.5V 5.5V Wide operating frequency range: from bytes on-chip bytes on-chip Build clock source(need resistor only) Four 8-bit bi-directional ports 16-bit timer Boolean processor Two-source, two-level interrupt capability Three direct drive outputs Power down mode with port wake function plastic package Applications compatible machine keyboard. PS/2 model 30,50,60,80 compatible machine keyboard. Japanese keyboard. Korean keyboard. Page TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller Contents General Specification Configurations Package Type Descriptions Functional Block Diagram Function Descriptions Absolute Maximum Ratings Electrical Characteristic Electrical Characteristic Application Diagrams Page TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller Configurations Package Type Configurations P3.5 DATA/P3.7 CLOCK/P3.6 P3.0 P3.1 P3.2 P3.3 P3.4 P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7 P1.0 P1.1 OSCO RC/OSCI CAPS/LED2 NUM/LED1 SCROL/LED0 P2.7 P2.6 P2.5 P2.4 P2.3 P2.2 P2.1 P2.0 P1.7 P1.6 P1.5 P1.4 P1.3 P1.2 TP8511KB Bonding Diagram Page TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller Page TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller Pin1: Pin2: P3_PAD5 Pin3: P3_PAD7 Pin4: P3_PAD6 Pin5: P3_PAD0 Pin6: P3_PAD1 Pin7: P3_PAD2 Pin8: P3_PAD3 Pin9: P3_PAD4 Pin10: RESET Pin11: P0_PAD0 Pin12: P0_PAD1 Pin13: P0_PAD2 Pin14: P0_PAD3 Pin15: P0_PAD4 Pin16: P0_PAD5 Pin17: P0_PAD6 Pin18: P0_PAD7 Pin19: P1_PAD0 Pin20: P1_PAD1 -55.000, -164.950, -274.950, -384.950, -494.950, -653.700, -653.700, -653.700, -653.700, -653.700, -653.700, -653.700, -653.700, -653.700, -653.700, -496.450, -386.450, -276.450, -166.450, -56.450, 645.000 645.000 645.000 645.000 645.000 457.300 347.300 237.300 127.300 17.250 -92.700 -202.700 -312.700 -422.700 -532.700 -645.000 -645.000 -645.000 -645.000 -645.000 Pin21: P1_PAD2 Pin22: P1_PAD3 Pin23: P1_PAD4 Pin24: P1_PAD5 Pin25: P1_PAD6 Pin26: P1_PAD7 Pin27: P2_PAD0 Pin28: P2_PAD1 Pin29: P2_PAD2 Pin30: P2_PAD3 Pin31: P2_PAD4 Pin32: P2_PAD5 Pin33: P2_PAD6 Pin34: P2_PAD7 Pin35: LED0 Pin36: LED1 Pin37: LED2 Pin38: Pin39: XTAL1 Pin40: XTAL2 53.550, 163.550, 273.550, 383.550, 493.550, 603.550, 653.700, 653.700, 653.700, 653.700, 653.700, 653.700, 653.700, 653.700, 653.700, 653.700, 385.050, 275.000, 165.000, 55.000, -645.000 -645.000 -645.000 -645.000 -645.000 -645.000 -422.700 -312.700 -202.700 -92.700 17.300 127.300 237.300 347.300 457.300 567.200 645.000 645.000 645.000 645.000 Page TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller Descriptions SYMBOL RST_ PORT0 (P0.0-P0.7) PORT1 (P1.0-P1.7) PORT2 (P2.0-P2.7) PORT3 (P3.0-P3.7) LED0 LED1 LED2 XTAL1 XTAL2 MODE FUNCTION DESCRIPTION Circuit Potential. Main Power Supply(+4.5V~+5.5V) level input resets CPU. small internal pullup resistor permits power-on reset using only capacitor connected GND. Port0 8-bit bi-directional port with internal pull-ups. Port sink/source loads. Port1 8-bit quasi-bidirection port with internal pull-ups. Port1 sink/source loads. Port2 8-bit quasi-bidirection port with internal pull-ups. Port2 sink/source loads. Port3 8-bit quasi-bidirection with internal pull-ups. P3.6-P3.7: Connecting with 2.2K pull-up Direct drive output Direct drive output Direct drive output Input inverting oscillator amplifier resistor control frequency internal clock source. Provide reference voltage built clock source. Note: means INPUT function; means OUTPUT function. Page TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller Functional Block Diagram P0.0~P0.7 P2.0~P2.7 ADDRESS REGISTER PORT DRIVERS PORT DRIVERS PORT LATCH PORT LATCH REGISTER STACK POINTER PROGRAM ADDRESS REGISTER TMP2 TMP1 BUFFER INCREMENTER OSCO CLOCK CONTROL INTERRUPT TIMER BLOCKS PROGRAM COUNTER OSCI TIMING CONTROL DPTR LATCH PORT LATCH PORT LATCH DIRECT DRIVERS PORT DRIVERS PORT DRIVERS LEDB0~2 P1.0~P1.7 P3.0~P3.7 Page TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller Function Descriptions TP8511KB architecture consists core controller some special function registers. special function registers contain 16-bits timers/counters, four general purpose ports, two-sources, two-levels interrupt processor, three direct drive output ports. ports There four general purpose ports TP8511KB, each port 8-bits register store output value. These registers call respectively. addresses registers usage ports same industry standard 80C51 microcontroller. keyboard function descriptions bytes Keyboard buffer keyboard will buffer bytes FIFO order when system able receive scan codes from keyboard. response codes will buffered. keystrokes generate multiple-byte sequence, entire sequence must into buffer keystroke discarded buffer-overrun. overrun code `00' set2 set3, `FF' set1. Power-on Reset self test duration keyboard Power-on-Reset(POR) should timed occur minimum 150ms from time power applied keyboard. After executing keyboard executes self test. LEDs turned beginning self test. self test takes minimum maximum self test successful, completion code `AA' sent system keyboard starts scanning. self test fails, error code `FC' sent. Then keyboard disabled waits command from system. Command from system system send commands keyboard time. keyboard will respond within Page TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller except when performing following `Reset' command. following keyboard input commands actions that keyboard needs take. /Reset Status indicators Responds ACK(Hex FA). Receives option byte. Responds ACK. Updates status indicators. Returns previous scanning state. Option byte format: Scroll lock indicator lock indicator Caps lock indicator Reserved bits must Echo Responds with hex. Returns previous scanning state. Invalid commands Returns RESEND command (Hex FE). Returns previous scanning state. Select Alternate Scan Codes Responds ACK. Clears output buffer. Sets default typematic rate/delay. Page TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller Clears last typematic key. Receives option byte. option byte `00', responds current keyboard (Hex 03), Otherwise responds ACK. Option byte keyboard scan code keyboard scan code keyboard scan code Returns previous scanning rate. Read (F2) Responds with ACK. Discontinues scanning. Sends bytes `83AB'. byte `AB' first then second byte '83' will sent within after first byte. Resumes scanning. Typematic Rate/Delay Responds ACK. Receives rate/delay value byte Responds ACK. rate/delay time. Returns previous scanning state. Repeat period 0.00417 binary value bits 0(LSB). binary value bits Delay binary value bits always Default rate 10.9 cps(chars second) Default delay Page TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller Bits 43210 00000 00001 00010 00011 00100 00101 00110 00111 Rate (CPS) 30.0 26.6 24.0 21.8 20.0 18.4 17.1 16.0 Bits 43210 01000 01001 01010 01011 01100 01101 01110 01111 Rate (CPS) 15.0 13.3 12.0 10.9 10.0 Bits 43210 10000 10001 10010 10011 10100 10101 10110 10111 Rate (CPS) Bits 43210 11000 11001 11010 11011 11100 11101 11110 11111 Rate (CPS) Enable Responds with ACK. Clears output buffer. Clears last typematic key. Start scanning. Default Disable (Hex Responds with ACK. Resets conditions power-on reset state. Clears output buffer. Clears last typematic key. Sets default type scan code only Sets default typematic rate/delay. Stops scanning, Default (Hex Responds with ACK. Resets conditions power-on reset state. Clears output buffer. Clears last typematic key. Sets default type scan code only Sets default typematic rate/delay. Page TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller Continues scanning, Keys F7,F8,F9,FA Responds ACK. Clears output buffer. Sets type (affect only scan code Typematic Make/Break Make Typematic/Make/Break Returns previous scanning rate. Type FB,FC,FD Responds ACK. Clears output buffer. Receives byte. Responds ACK. Sets type (affect only scan code Typematic Make/Break Make Returns previous scanning rate. Resend Sends previous output again. previous byte RESEND, last byte before RESEND shall sent. Reset Responds ACK. Default scan code Checks clock data lines high state least receives another command. Page TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller Responds completion code (Hex AA). Command system following keyboard output commands. Acknowledge keyboard sends acknowledge response valid command from system except RESEND ECHO command. Completion Code This command sent after successful completion keyboard self test. Echo keyboard sends this code response ECHO command. Keyboards 83AB These bytes sent respond READ command. byte sent first, followed high byte. Keyboard buffer Overrun keyboard buffer overflows, overrun code will replace last byte buffer. code scan code others. Resend When keyboard receives invalid input input with incorrect parity, RESEND command should sent. Keyboard Scan Code Table keyboard contains three scan code sets. system defaults scan code switched `F0' command. following tables show numbers three scan code sets hexadecimal values. scan code ,all keys typematics except pause which make only. When depressed, keyboard will transmit make code that typematic rate long held down. When released, break code sent. more keys held down, only last pressed repeats typematic rate. Typematic operation stops when last pressed released, even other keys being released some other keys still held down. scan code keys individually programmable system command allow keyboard Page TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller modification system/user requirements. power Reset Default command, keyboard configured default keytypes. There four types scan code Make only keys Make/Break keys Keyboard data will sent only depression these keys. depression Make/Break cause scan code output. release Make/Break causes scan code output preceded special break code prefix(Hex `F0'). Typematic keys typematic will output depression will begin repeat after `typematic delay time' when held down. Typematic Make/Break keys typematic Make/Break will output depression repeat when held down similar typematic key. release typematic Make/Break causes scan code output preceded break code just like Make/Break key. following table shows three scan code sets used keyboard. Page TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller Scan Code: Set1 Make Break code code Set2 Make code Break code Make code Set3 Break code 2003/7/31 Print `(~) -(_) =(+) Back space [({} ]()) \(|)@1 Caps Page Default type Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Make/Break Typematic Typematic Typematic Typematic Typematic Typematic TOPRO CONFIDNETIAL TP8511HBE01 PS/2 Keyboard controller ;(:) `(") ENTER SHIFT_L ,(<) .(>) /(?) SHIFT_R CTRL_L ALT_L SPACE ALT_R CTRL_R (DEL) Page 2003/7/31 Print Typematic Typematic Typematic Typematic Typematic Typematic Typematic Make/Break Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Typematic Make/Break Make/Break Make/Break Typematic Make only Make only Make only Make only Make only Make only Make only Make only Make only Make only Make only Make only Make only Make only Make only Make only Typematic TOPRO CONFIDNETIAL TP8511HBE01 PS/2 Keyboard controller (ENTER) SCROLL LEFT HOME DOWN PAGE PAGE DOWN Scan Table Scan Table RIGHT PRINT PAUSE Scan Table LEFT Page Make only Make only Make only Make only Make only Make only Make only Make only Make only Make only Make only Make only Make only Make only Make only Make only Typematic Typematic Make only Make only Typematic Typematic Make only Make only Typematic Make only Make only Make only Base case, Shift+Num lock Make/Break 52/E0 53/E0 4B/E0 Shift case Make/Break lock Make/Break 2003/7/31 Print TOPRO CONFIDNETIAL TP8511HBE01 PS/2 Keyboard controller HOME DOWN PAGE PAGE DOWN RIGHT PRINT PAUSE Scan Table LEFT HOME DOWN Page 4F/E0 48/E0 50/E0 49/E0 51/E0 4D/E0 Base case Make/Break Shift case Make/Break 35/E0 35/E0 Base case Ctrl case,Shift case case Make/Break Make/Break Make/Break 37/E0 54/D4 Base case Make/Break Ctrl case Make/Break 47/E0 Base case, Shift+Num lock Make/Break 70/E0 71/E0 6B/E0 6C/E0 69/E0 75/E0 72/E0 Shift case Make/Break lock Make/Break 2003/7/31 Print TOPRO CONFIDNETIAL TP8511HBE01 PS/2 Keyboard controller PAGE PAGE DOWN RIGHT PRINT PAUSE 7D/E0 7A/E0 74/E0 Base case Make/Break Shift case Make/Break 4A/E0 4A/E0 Base case Ctrl case,Shift case case Make/Break Make/Break Make/Break 7C/E0 84/F0 Base case Make/Break Ctrl case Make/Break codes: LWIN RWIN NCHG(131) Set1 Set2 Set3 Default type Make code Break code Make code Break code Make code Break code CHG(132) ROMA(133) K107 POWER SLEEP WAKE Typematic Typematic Typematic Make only Make only Make only Typematic Typematic Typematic Make only Make only Page TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller Windows 2000 Multi-Media code: Set1 Make code Break code Back Forward Stop Refresh Search Favorites Web/Home Mail Mute VolumeE0 Volume+ Play/Pause Stop Previous Track Next Track Media Select Computer Calculator Set2 Make code Break code Note: 101-key keyboard only 102-key keyboard only left shift pressed, AA/2A shift make break code sent with other scan codes. right shift kehy pressed, B6/36 sent. both shift keys pressed, both sets codes sent. This typematic. 5.If left shift pressed, 12/12 shift make break code sent with other scan codes. right shift kehy pressed, 59/59 sent. both shift keys pressed, both sets codes sent. Page TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller Absolute Maximum Ratings Parameter Operating Temperature Storage Temperature Voltage Power Dissipation Rating 0+70 -65+150 -0.5+7 Unit Note: Stresses above those listed cause permanent damage device. Exposure absolute maximum rating conditions extended periods affect device reliability. Electrical Characteristic (TA=00C-700C,VCC=5±10%,VSS=0V) Parameter Input Voltage Input High Voltage(Except XTAL1,RST,P3.0~P3.2) Input High Voltage(XTAL1,RST) Input High Voltage(P3.0~P3.2) Output Voltage (Except P3.0~P3.2,LED0~2) Output Voltage (P3.0~P3.2,LED0~2) Output High Voltage Input Leakage Current (Except P3.6,P3.7) Input Leakage Current(Port0) Input Leakage Current (P3.6,P3.7) Symbol VIH1 VIH2 IIL1 IIL2 -350 -0.5 0.2VCC +0.9 0.9VCC Limit 0.2VCC-0. VCC+0.5 VCC+0.5 VCC+0.5 0.45 Unit Test condition +2.5 IOL=1.6mA IOL=1.6mA IOH=-60A Vin=0.45V Vin= Vin=0.45V Page TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller FOP=20MH Power Supply Current Idle Mode Supply Current Power Down Mode Supply Current Capacitance Buffer Internal Reset Pull-Up Resistor Build-in clock source frequency RRST Fosc 4.18 5.12 FOP=1MHz Rosc=47K Notes: electrical characteristics measured suggested that conventional precautions should taken avoid applying voltages greater than absolute maximum ratings. Electrical Characteristic TA=0 +70,or TA=-40 +85/+125,VCC=5V±10%,VSS=0V1 External Clock TCHCX TCLCX TCLCH TCHCL High time2 time2 Rise time2 Fall time2 tCLCL-tLOW tCLCL-tHIGH Notes:1. Parameters valid over operating temperature range unless otherwise specified. These values characterized 100% production tested. EXPLANATION SYMBOLS Each timing symbol five characters. first character always "t"(=time). other characters, depending their positions, indicate name signal logical status that signal. designations are: Clock Logic level high Page TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller Logic level Time longer valid logic level VCC-0.5 0.45V 0.7Vcc 0.2V CHCL CHCX CLCX CLCH CLCL Figure External Clock Drive Page TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller Application Diagrams Application circuit CON5 0.1uf TP8511 P3.5 DATAIO CLOCK Internal_Mutil Function Media P1.5 P3.0 P3.1 CAPS/LED2 P0.0 P0.1 P0.2 SCROL/LED0P0.3 P0.4 P1.3 NUM/LED1 P1.4 P1.2 P1.0 RC/OSCI P0.7 P0.6 P0.5 P1.1 P1.6 P1.7 P3.3 P3.2 P3.4 RESET P2.0 P2.1 P2.2 P2.3 P2.4 P2.5 P2.6 P2.7 Turbo Functio Page TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller (2)Key matrix definition windows 2000 standard code Pause Scroll Lock 7(Num) 8(Num) 9(Num) +(Num) Wake Mail Kor-L Page Power Caps lock Sleep R-Ctrl Wake K131 K132 K133 R-Alt L-Ctrl `(~) Print Screen L-Alt Space 0(Num) .(Num) VolumeWWW Stop Computer M/Mode Enter Lock /(Num) *(Num) Play/ Pause Back Space 4(Num) 5(Num) 6(Num) K107 L-Shift L-Win Favorite 1(Num) 2(Num) 3(Num) Enter(Nu R-Shift Forward R-Win Delete Insert Page Home Power Sleep Page Down Media Select Search Kor-R Volume+ NextTrack PrevTrack Back Stop Refresh Calculator Mute WWW/ Home TOPRO CONFIDNETIAL 2003/7/31 Print TP8511HBE01 PS/2 Keyboard controller (3)Turbo Function: 2.1hz 4.2hz 7.2hz 16.3hz 21hz 30hz 46hz KeyLock Internal-Multikey Function: Multi-Media Function Pad_2 VolumePad_3 Play/Pause Pad_4 PrevTrack Pad_5 Media (M/Mode) Pad_6 NextTrack Pad_7 Mute Pad_8 Volume+ Pad_9 Stop Internal Function Pad_Enter WWW/Home Pad_+ Mail Pad_Favorite Pad_. Search Right Arrow Forward Left Arrow Back Down Arrow Stop Arrow Refresh O.S. Function Pad_0 Computer Pad_1 Calculator Euro Page TOPRO CONFIDNETIAL 2003/7/31 Print Other recent searchesTA0757B - TA0757B TA0757B Datasheet R5016ANJ - R5016ANJ R5016ANJ Datasheet QL903M - QL903M QL903M Datasheet NSL-19M51 - NSL-19M51 NSL-19M51 Datasheet AP1580 - AP1580 AP1580 Datasheet 55008 - 55008 55008 Datasheet
Privacy Policy | Disclaimer |