EM83807 ALL-IN-ONE PLUG & PLAY 3-BUTTON SERIAL MOUSE CONTROLLER ary n i m i l e Pr GENERAL DESCRIPTION The EM83807 Mouse Controller is specially designed to control serial mouse device. This single chip can interface three key-switches and 4 X-Y photo-couples directly to RS-232C. FEATURES • • • • • • • • • • • • • • Include PnP software scrolling function Using 50kΩ ±1% resistor for RC oscillation. Compatible with Microsoft serial mouse. 100 bytes PnP ID code could be filled by code layer. Built-in noise immunity circuit. The sampiling rate of motion detector is up to 65KHz. Built-in three zener diodes : one in VDD to VSS, two in RTS to VDD. CMOS push-pull RXD output. Built-in current comparator for photo-couples input. Built-in three step dynamic input impedance. Three key-switches and four photo-couples inputs. RTS debouncing circuit included. Photo couple test mode included. Low power dissipation. APPLICATION • Serial PnP mouse. PIN ASSIGNMENT EM83807 VDD OSC.OUT NC NC RTS RXD OPT VSS 1 2 3 4 5 6 7 8 * This specification is subject to be changed without notice. 16 15 14 13 12 11 10 9 OSCR Y2 Y1 X2 X1 L M R 9.3.1999 1 EM83807 ALL-IN-ONE PLUG & PLAY 3-BUTTON SERIAL MOUSE CONTROLLER inary m i l e r P FUNCTIONAL BLOCK DIAGRAM RXD RTS C O M P A R A T O R OPT X1 X2 Y1 Y2 D ME OT TE IC OT NO R COUNTER MULTIPLEXER D E B O U N C E L M R DATA I/O TIMING CONTROLLER COMMAND & STATUS OR PNP IO SYSTEM CLOCK GENERATOR OSCR OSC.OUT RC OSCILLATION PIN DESCRIPTIONS Symbol I/O OPT I/O OSC.OUT O OSCR RTS I I/O RXD I/O R M L X1 X2 Y1 Y2 VSS VDD I I/O I/O I I I I Function INPUT: 200kΩ pull low to VSS. When OPT is connected to VDD, EM84530 will enter test mode. In test mode, L will be the output of X1,while M will be the output of X2. Toggling R key can change these output to be Y1,Y2 respectively. The RC oscillation clock output. Or 3mA sink current output for X, Y photo emitters. Connect 50kΩ±1% precise resistor for oscillation. ±12V signal with 10mA driving. Used as PnP ID code output trigger signal from 100w (-12V) to high (+12V) while under normal operating. RTS will keep on ±12V driving. One report contains 4 data bytes, 7 data bits without parity in the data byte. The data byte is sgifted out from LSB through MSB, started by start bit and ended by stop bit. The RXD signal swing between +6V and -6V. Three key-switches inputs. 200kΩ resistor pull low. Three step dynamic input impedance. If OSC.OUT is not connected to LEDs, the dynamic input impedance will be off. Use current comparator to measure photo-couples "ON", or "OFF". Negative power. Power line. * This specification is subject to be changed without notice. 9.3.1999 2 EM83807 ALL-IN-ONE PLUG & PLAY 3-BUTTON SERIAL MOUSE CONTROLLER ary n i m i l e Pr FUNCTION DESCRIPTIONS In Microsoft mode, the transmission cycle consists of four bytes in one report. Each byte contains one start bit, 7 data bits and two stop bits. The first byte contains "L", "R" key status and four bits of the two most significant bits in horizontal counter and vertical counter. The second byte represents the value accumulated by horizontal counter, the third byte is the data of the vertical counter. The last byte contains only "M" key status. The vertical data is transmitted in 2's complement. Output byte arrange Bit no. 1st byte 2nd byte 3rd byte 4th byte ...... ...... .... .... .... 6 1 0 0 0 5 L H5 V5' 0 4 R H4 V4' M 3 V7' H3 V3' 0 2 V6' H2 V2' 0 1 H7 H1 V1' 0 0 H6 H0 V0' 0 Plug & Play ID code When RTS input from low to high, EM83810 will send a string ID code. Customer can specify the contains of the code area and the total lenth below 100 bytes by changing the code layer. Field Name Other ID Begin ID PnP Revision EISA ID Product ID Serial Number Class ID Driver ID User Name Length <17 1 2 3 4 9 <34 <42 <42 Checks um End PnP 2 1 Field Data 4D, 5A, 40, 00, 00, 00 08 01, 24 25, 2D, 23 10, 10, 10, 11 3C 3C, 2D, 2F, 35, 33, 25 3C, 30, 2E, 30, 10 26, 10, 21 3C, 25, 2D, 23, 00, 33, 23, 32, 2F, 2C, 2C, 29, 2E, 27, 00, 33, 25, 32, 29, 21, 2C, 00, 2D, 2F, 35, 33, 25 21, 15 09 * This specification is subject to be changed without notice. Description ID for legacy Begin PnP ID Version 1.00 EMC 0001 None provided Mouse Class PnP0F0A EMC SCROLLING SERIAL MOUSE 2 bytes checks um End PnP ID 9.3.1999 3 EM83807 ALL-IN-ONE PLUG & PLAY 3-BUTTON SERIAL MOUSE CONTROLLER ABSOLUTE MAXIMUM RATINGS inary m i l e r P Parameter Temperature under bias Storage temperature range Supply voltage Power dissipation Ratings Unit Min. 0 -65 -0.3 - Max. 70 150 7.5 500 °C °C V mW DC ELECTRICAL CHARACTERISTICS (TA=25°C to 70°C, Vds=5.6V)) Parameters Sym. Min. Typ. Max. Unit Operating voltage Vdd Vrts Iop1 Iop2 Irts1 Irts2 Irh Irl Vrts+ VrtsIpl IPh Vpi1 Vpi2 Vail Vaih Rmi Ixi Vopt Iil 4.5 3 4 2 9.6 70 0.8 1.5 3.5 18 -18 4.5 0 6 12 - 6.5 13 0.8 1.8 -2 6.8 106 1.2 2.1 1.5 56 -56 -1.0 V V mA mA mA mA mA mA V V µA µA V V V V µA µA V µA 0 - 1.0 µA Operating current (Vdd=5.4V, RTS=Vdd) Operating current (Vdd=6.2V, RTS=Vdd) RTS operating current (Vdd=5.6V, RTS=11V) RTS operating current (Vdd=5.4V, RTS=12.5V) RXD high output voltage (Vrh=Vrts-2.6V) RXD low output voltage (Vrl=Vss+2.6V) RTS high input voltage RTS low input voltage X1,X2,Y1,Y2 low input reference current X1,X2,Y1,Y2 high input reference current X1,X2,Y1,Y2 input current (80µA) X1,X2,Y1,Y2 input current (500µA) L,M,R,OPT input low voltage L,M,R,OPT input high voltage L,M,R input current (Vin=5.6V) OPT input current OPT high output current (Iopt=20mA) L,M,R,X1,X2,Y1,Y2 input leakage current (Vds=0V) OPT input leakage current (Vin=5.6V) * This specification is subject to be changed without notice. Iih 9.3.1999 4 EM83807 ALL-IN-ONE PLUG & PLAY 3-BUTTON SERIAL MOUSE CONTROLLER ary n i m i l e Pr AC ELECTRICAL CHARACTERISTICS (TA=0°C to 70°C) Parameters Sym. Min. Typ. Max. Unit Oscillating Frequency Fosc 32.4-3% 32.4 32.4+3% KHz Key Debounce Rising Edge Crossed Width Falling Edge Crossed Width Transmission Time Start bit Time Data bit time Stop bit Time Mode code delay Time Tkd Tr Tf Tmx Ts Td Tp Trd 15.4 15.4 11 13 33.33 833.3 833.3 833.3 - 14 ms us us ms us us us ms * This specification is subject to be changed without notice. 9.3.1999 5 EM83807 ALL-IN-ONE PLUG & PLAY 3-BUTTON SERIAL MOUSE CONTROLLER inary m i l e r P TIMING DIAGRAM (A) RXD output : Key in/release Mouse RXD Tmx Tmx (B) Bytes structure : RXD 1st 2rd 3nd 4nd (C) Bits structure : RXD LINE Data Bit no. 0 Ts Td 1 2 Td Td 4 5 6 Td Td 3 Td Td TP Tp 0 1 (D) PnP ID code echo timing : RTS >< Trd RXD 4D 5A 40 00 00 "4D" code Bit no Ts 0 1 * This specification is subject to be changed without notice. 2 00 08 3 4 PnP ID code 5 09 Tp Tp 9.3.1999 6 DTR SG DSR RTS RXD TXD 4 5 6 7 8 9 1 2 3 50K* 5.1V RTS VDD * This specification is subject to be changed without notice. EM83807 1KΩ R M L NC NC X1 X2 Y1 Y2 * 50 kΩ must be precise resistor 8 V SS 16 OSCR OSC.OUT 7 OPT 2 6 RXD 5 1 2 chips analog PT 4 chips digital PT 9 10 11 3 4 12 13 14 15 0.1µF 10µF EM83807 ALL-IN-ONE PLUG & PLAY 3-BUTTON SERIAL MOUSE CONTROLLER ary n i m i l e Pr APPLICATION CIRCUIT 9.3.1999 7