ETC EC3592RS

PS/2 Mouse Controller with Auto-Ref
EC3592R
FEATURES
‧ 4 wires PS/II interface built-in.
‧ CMOS technology for lower power consumption.
‧ Fully compatible with IBM PS/II series PC.
‧ Supports four working modes: Reset, Stream, Remote and Wrap.
‧ 16 commands plus acknowledgment code.
‧ 7 different sample rates from 10/sec to 200/sec.
‧ 4 different resolutions: 1, 2, 4 and 8 count/mm.
‧ Scaling can be set to 2:1 as specified by IBM spec.
‧ Reduced external component counts by chip integration.
‧ RC oscillation.
‧ Built-in X/Y independent Auto-Ref function (E-CMOS Patented):X/Y threshold voltage level track
with input signal dynamically and independently.
‧ High standard ESD and EFT immunity.
GENERAL DESCRIPTION
EC3592R is a single chip PS/II Mouse Controller, designed and fabricated in CMOS Technology. The
EC3592R is available in 14-pin or 16-pin P-DIP package.
BLOCK DIAGRAM
BL
BM
BR
PX1
PX2
PY1
PY2
AUTO X MOVEMENT
REF
PROCESS
BUTTON
PROCESS
SELECTION
AUTO Y MOVEMENT
REF
PROCESS
COMMAND
PROCESS
ERROR
PROCESS
X/Y
RESOLUTION
OSCR
OSCOUT
OSCILLATOR
X/Y
SCALE
TEST
CLOCK
INFORMATION
PROCESS
TIMING
GENERATOR
DATA
X/Y
SAMPLING
.
.
飛虹積體電路股份有限公司
TEL:(03)5785888
Page 1 of 11
FAX:(03)5783630
VERSION 1.1
PS/2 Mouse Controller with Auto-Ref
EC3592R
PIN CONFIGURATIONS
NC
1
16
VDD
NC
2
15
PY2
NC
3
14
PY1
OSCR
4
13
PX2
OSCOUT
5
12
PX1
CLOCK
6
11
BL
DATA
7
10
BM
VSS
8
9
BR
EC3592RS
VDD
1
14
OSCR
NC
2
13
PY2
OSCOUT
3
12
PY1
4 EC3592RE 11
PX2
DATA
5
10
PX1
VSS
6
9
BL
BR
7
8
BM
CLOCK
PIN DESCRIPTIONS
PIN NAME
I/O
FUNCTION
OSCR
I
Crystal or RC oscillation input.
OSCOUT
O
Crystal or RC oscillation output.
CLOCK
I/O
Bi-directional signal line between EC3592R and
PC system. Whenever the mouse is ready to send
data
to the system or the system wants to send command
to the mouse, it will clock in 11 bits of CLOCK on
this line.
DATA
I/O
Bi-directional signal line to transfer data. This is an
open-drain output with internal pull-up resistor. All
mouse data and system commands are transmitted
through this line.
VSS
P
Ground pin.
.
.
飛虹積體電路股份有限公司
TEL:(03)5785888
Page 2 of 11
FAX:(03)5783630
VERSION 1.1
PS/2 Mouse Controller with Auto-Ref
EC3592R
PIN NAME
I/O
FUNCTION
BR
I
Right button selection. Built-in pull-down resistor
of 50KΩ BR pin is HIGH when right button is
pressed and becomes LOW when it is released.
EC3592R has edge-triggered button operation. It
will only report through DATA line on a rising
edge or falling edge of the input signal.
BM
I
Middle button selection. Built-in pull-down resistor
of 50KΩ. It is also edge-triggered button operation
as “BR”.
BL
I
Left button selection. Built-in pull-down resistor of
50KΩ. It is also edge-triggered button operation as
“BR”.
PX1
I
Input from the first X-axis photo-encoder.
PX2
I
Input from the second X-axis photo- encoder. PX1
and PX2 constitute positive (negative) counts for
rightward (leftward) movement on the screen.
PY1
I
Input from the first Y-axis photo-encoder.
PY2
I
Input from the second Y-axis photo-encoder. PY1
and PY2 constitute positive (negative) counts for
downward (upward) movement on the screen.
VDD
P
+5V power supply.
ABSOLUTE MAXIMUM RATINGS
PARAMETER
SYMBOL
MIN.
MAX.
UNIT
Supply Voltage
Vdd
0
6.5
Ambient Temperature
Tamb
0
70
V
℃
Storage Temperature
Tstg
-40
125
℃
Power Dissipation
(Temp. = 70 ℃)
Pd
100
mW
Note: This is a stress rating only and functional operation of the device at these or at any other conditions
above those indicated in the operational sections of this specification is not implied. Exposure to absolute
.
.
飛虹積體電路股份有限公司
TEL:(03)5785888
Page 3 of 11
FAX:(03)5783630
VERSION 1.1
PS/2 Mouse Controller with Auto-Ref
EC3592R
maximum rating may affect device reliability.
DC ELECTRICAL CHARACTERISTICS
(NOTE: VDD =5V, UNLESS OTHERWISE SPECIFIED)
SYMBOL
MIN.
TYP.
MAX.
UNIT
Operating Voltage
Vdd
4.5
5
5.5
V
Operating current (No load)
Iop
1.0
2.5
mA
PX1/PX2/PY1/PY2 Input range
Vir
0.1
3.2
V
PX1/PX2/PY1/PY2 Input amplitude
Via
0.6
PX1/PX2/PY1/PY2 Internal Resistor
Rpxy
PARAMETER
BL/BM/BR Input High Voltage
Vih
BL/BM/BR Input Low Voltage
Vil
BL/BM/BR Internal Pull-down
Resistor
Rbut
CLOCK/DATA Output Current
Iol
V
KΩ
12
3.2
V
1.3
50
8
V
KΩ
mA
(Vol. =0.5V)
CLOCK/DATA Internal Pull-up
Rcd
KΩ
5
Resistor
PX1/PX2/PY1/PY2/BL/BM/BR
Iih
2
uA
Input Leakage Current
(Vih = 5V)
AC ELECTRICAL CHARACTERISTICS
PARAMETER
SYMBOL
MIN.
TYP.
MAX.
UNIT
Oscillator Frequency
R=270 KΩ
Foscr
62
75
90
KHz
BL/BM/BR Button Debounce Time
Tbd
43
ms
.
.
飛虹積體電路股份有限公司
TEL:(03)5785888
Page 4 of 11
FAX:(03)5783630
VERSION 1.1
PS/2 Mouse Controller with Auto-Ref
EC3592R
TIMING DIAGRAM
Mouse sends data out:
1st
2nd
3rd
Bit 0
T2
Bit 1
10th
11th
Parity
Bit
Stop
Bit
Clock
CLOCK
T3 T4
DATA
T1
Start
Bit
Mouse receive data:
1st
2nd
9th
10th
11th
Clock
CLOCK
T5 T6
T8
T9
Bit 0
T7
DATA
Start
Bit
T1 Time from DATA transition to the falling edge of
CLOCK.
T2 Time from the rising edge of CLOCK to DATA
Parity
Bit
Stop
Bit
Line-control
Bit
IBM SPEC
E-CMOS SPEC
5~25
13.3
5~(T4-5)
26.7
transition.
T3
Duration of CLOCK Low.
30~50
40
T4
Duration of CLOCK High.
30~50
40
T5
Duration of CLOCK Low.
30~50
40
T6
Duration of CLOCK High.
30~50
40
5~25
13.3
T7 Time from the rising edge of CLOCK to DATA
sampled point.
T8 Time from the rising edge of the 10th CLOCK to
starting point of line-control bit.
T9 The pulse width of line-control bit.
(Base on oscillator frequency=70KHz)
13.3
80
(Unit in μs)
.
.
飛虹積體電路股份有限公司
TEL:(03)5785888
Page 5 of 11
FAX:(03)5783630
VERSION 1.1
PS/2 Mouse Controller with Auto-Ref
EC3592R
PS/2 COMMAND LIST
HEX CODE
COMMAND
EC3592’S RESPONSE
FF
Reset
FA, AA, 00
FE
Resend
XX, (XX, XX)
F6
Set Default
FA
F5
Disable
FA
F4
Enable
FA
F3, XX
Set Sampling Rate
FA, FA
F2
Read Device Type
FA, 00
F0
Set Remote Mode
FA
EE
Set Wrap Mode
FA
EC
Reset Wrap Mode
FA
EB
Read Data
FA, XX, XX, XX
EA
Set Stream Mode
FA
E9
Status Request
FA, XX, XX, XX
E8, XX
Set Resolution
FA, FA
E7
Set Scaling 2:1
FA
E6
Reset Scaling
FA
A. F3, XX SET SAMPLING RATE
SECOND BYTE XX
SAMPLING RATE
0A
10/sec.
14
20/sec.
28
40/sec.
3C
60/sec.
50
80/sec.
64
100/sec.
C8
200/sec.
.
.
飛虹積體電路股份有限公司
TEL:(03)5785888
Page 6 of 11
FAX:(03)5783630
VERSION 1.1
PS/2 Mouse Controller with Auto-Ref
EC3592R
B. E9 STATUS REQUEST
BYTE
BIT
DESCRIPTION
3
0-7
Current Sampling Rate (Bit 0=LSB)
2
0-7
Current Sampling Setting (Bit 0=LSB)
1
7
Reserved
6
0 = Stream Mode, 1 = Remote Mode
5
0 = Disabled, 1 = Enabled
4
0 = Scaling 1:1, 1 = Scaling 2:1
3
Reserved
2
1= Left Button Pressed
1
Reserved
0
1 = Right Button Pressed
C. E8, XX SET RESOLUTION
SECOND BYTE XX
RESOLUTION (COUNTS PER MM)
00
1
01
2
02
4
03
8
D. E7 SET SCALING 2:1
INPUT
OUTPUT
0
0
1
1
2
1
3
3
4
6
5
N (≧6)
9
2.0×N
.
.
飛虹積體電路股份有限公司
TEL:(03)5785888
Page 7 of 11
FAX:(03)5783630
VERSION 1.1
PS/2 Mouse Controller with Auto-Ref
EC3592R
INPUT/OUTPUT EQUIVALENT CIRCUIT
Input Pin:
TEST2
BL
BM
BR
I/O Pin:
CLOCK
DATA
.
.
飛虹積體電路股份有限公司
TEL:(03)5785888
Page 8 of 11
FAX:(03)5783630
VERSION 1.1
PS/2 Mouse Controller with Auto-Ref
EC3592R
Input Pin:
PX1
PX2
PY1
PY2
.
.
飛虹積體電路股份有限公司
TEL:(03)5785888
Page 9 of 11
FAX:(03)5783630
VERSION 1.1
PS/2 Mouse Controller with Auto-Ref
EC3592R
APPLICATION CIRCUITS
(Note: This application circuit is for reference only)
VCC
1
VDD
10
DATA
PX1
11
12
CLOCK
PX2
PY1
13
+
10u
PY2
-
BL
EC3592RE
BM
BR
OSCR
5
DATA
CLOCK
4
9
8
7
14
270KΩ
OSCOUT
VSS
6
GND
.
.
飛虹積體電路股份有限公司
TEL:(03)5785888
Page 10 of 11
FAX:(03)5783630
VERSION 1.1
PS/2 Mouse Controller with Auto-Ref
EC3592R
Typical Application Circuit For HDNS-2000 Optical Input (For Reference Only)
VDD
IN
0.1µ
3.3V
REGULATOR
LP2950ACZ-3.3
OUT
1µ
10µ
270K
1
14
VDD
RIN
Y1
DATA
CLK
11
5 DATA
4 CLK
GND
6
14
13
7
VDD5 VDD5 VDD3
9
OSC1
REFB 8
HDNS-2000
OSC2
XY_LED 6
18.432MHZ(*)
EC3592RE
X2
X1
Y1
Y2
BL BM BR
9
8
7
2
3
4
5
11
10
12
13
S1
S2
S3
MODE/XA
RB/XB
MB/YB
LB/YA
GND
10
HLMP-ED80
SURFACE
2N3904
NRESET 15
PS2_D 16
PS2_C 1
GND
12
0.22µ
GND
.
飛虹積體電路股份有限公司
TEL:(03)5785888
(*)Y1 IS A CERAMIC RESONATOR SUCH AS CSA18.43MXZ040
(FROM MURATA) OR KBR-18.43-MSA(FROM AVX).
Page 11 of 11
FAX:(03)5783630
70Ω
0.1µ
VERSION 1.1
.