EM85001 [ETC]
Apple desktop bus mouse controller ; 苹果桌面总线鼠标控制器\n型号: | EM85001 |
厂家: | ETC |
描述: | Apple desktop bus mouse controller
|
文件: | 总9页 (文件大小:137K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
EM85000
APPLE DESKTOPBUSMOUSECONTROLLER
GENERAL DESCRIPTION
The EMC ADB Mouse Controller is a mouse controller for apple mouse system.
The following functions are supported:
• Controller receives command or data from Host.
• Controller transmits data to Host.
FEATURES
• Two-button mouse and trackball controller.
• Key Lock function is available.
• Both photo discharge and non-discharge modes are available.
• Discharge mode can reduce X,Y DC offset level.
• Dynamic LEDs Control to reduce system power consumption.
• Four stages sample rate at 1KHz,2.5KHz,5KHz,10KHz.
• Include Noise Immunity methodology to avoid false entry.
• Operating frequence at 3.58MHz.
• 18 Pin DIP.
PIN ASSIGNMENTS
EM85000
DISC
LLED
VDD
RESET
VSS
X1
1
2
3
4
5
6
7
8
9
18
17
16
15
14
13
12
11
10
DIN
DOUT
OSCI
OSCO
VDD
DLED
LOCK
Y1
X2
R
M
Y2
11.6.1995
* This specification are subject to be changed without notice.
1
EM85000
APPLE DESKTOP BUS MOUSE CONTROLLER
PIN DESCRIPTIONS
Symbol
DISC
LLED
VDD
I/O
Function
I
O
-
H=discharge mode,L=non-discharge mode.(internal pull low)
Trackball lock led display.
+5v power.
RESET
VSS
I
-
Low active for chip reset.
GND.
X1,X2
R
I
I
Horizontal direction status for x counter data.
Right mouse key. (internal pull high)
Main mouse key. (internal pull high)
Vertical direction status for y counter data.
Optional trackball key lock button to lock /M key. (internal pull high)
Active low to turn on photo LEDs.
Crystal clock output.
M
I
I
I
O
O
I
O
I
Y1,Y2
LOCK
DLED
OSCO
OSCI
DOUT
DIN
Crystal clock input.
Transmit data to Host.(open drain)
Receive data or command from Host.
FUNCTION DESCRIPTIONS
The ADB Mouse Controller is communicated with Host by the ADB bus.Only Host sends command to mouse
controller,the mouse doesn’t send any command to the other devices or Host on the bus.The signal of the data
or command is transmitted by asynchronous protocol.First,Host sends Attention and Sync signals to synchronize
all devices on the bus,then sends command or data according the command defined.
If the addess which the device receives in command is the same as the device address,then the device will execute
this command.If there are more then two devices to contend the ADB bus,then the bus collision will happen.
Therefore,every devices must have capability to detect and to solve collision.On the contrary,if the address in
the command is not the same with the address in the device,the device will discard the command,or sends SRQ
signal to Host when device has data to be send.
COMMANDS
COMMAND B7 B6 B5 B4 B3 B2 B1 B0
DESCRIPTION
FLUSH
SENDRESET
TALK
LISTEN
OTHER
A3 A2 A1 A0
0
0
1
1
0
0
1
0
0
0
1
0
Mouse will clear all X,Y counter data(R0=0).
Soft Reset(equal power-on reset).
-
-
-
-
A3 A2 A1 A0
A3 A2 A1 A0
- - - - - - - - - - - - - - - - - - - - - - - - -
Rh Rl Controller transmits data to Host.
Rh Rl Controller receives data from Host.
Reserved command.
1.B7 ~ B4:Device Address(0~F)is the position of the device.(Ref table 2)
2.B0 ~ B1:Selected Register(R0~R3),each register has two bytes.
R0:Mouse counter data register(read only by Host)
R3:Control register(can be read or written by Host)
R1,R2:No use in mouse.
3.B3,B2=11:TALK command.(1 byte)
TALK R0:IF mouse has data to report,mouse will send two bytes (R0)to Host.
IF mouse has’t data to report,Host will continue polling(R0) or execute other command.
TALK R3:Host can read mouse R3 register(2 bytes).
TALK R1,R2:No use in mouse.
* This specification are subject to be changed without notice.
2
11.6.1995
EM85000
APPLE DESKTOP BUS MOUSE CONTROLLER
4.B3,B2=10:LISTEN command.(3 bytes)
LISTEN R3:Host writes controll status to mouse R3.
LISTEN R0 ~R2:No use in mouse.
Host must send 3 bytes. (1 byte command and 2 bytes register data to mouse R3)
TABLE 1
DEVICE ADDRESS
Device Address
Device Type
Reserved
Addressing
Extended
Extended
Movable
Movable
Example
0
1
2
3
4
5
6
7
Appliances
Encoded Device
Relative Device
Absolute Device
Reserved
Reserved
Reserved
Soft address
Keyboard address for initial address.
Mouse address for initial address.
Tablet address for initial address.
Movable
- - - - - - - - -
- - - - - - - - -
- - - - - - - - -
- - - - - - - - -
8
~ F
1. Device address=0~F.
2. Movable:Host can change device address to new address(ex:Soft,reserved address)by LISTEN R3command.
TABLE 2
DATA STRUCTURE
COMMAND
SENDRESET
FLUSH
LENGTH
1 BYTE
1 BYTE
1 BYTE
DEVICE ECHO
NO
NO
DESCRIPTION
TALK R0
2 BYTES
If mouse has data to report,device echoes two
bytes(R0) to Host,otherwise no echo data.
TALK R1
TALK R2
TALK R3
- - - - - - - - -
- - - - - - - - -
1 BYTE
- - - - - - - - -
- - - - - - - - -
2 BYTES
No use.
No use.
Device always echoes two bytes(R3) to Host.
LISTEN R0
LISTEN R1
LISTEN R2
LISTEN R3
- - - - - - - - -
- - - - - - - - -
- - - - - - - - -
3 BYTES
- - - - - - - - -
- - - - - - - - -
- - - - - - - - -
NO
No use.
No use.
No use.
Host sends control status (R3) to mouse.
First byte:command.
Second and last bytes:R3 control register.
1. CODE:First byte reference TABLE 1.
2. LISTEN R3 command reference TABLE 4.
TABLE 3
11.6.1995
3
* This specification are subject to be changed without notice.
EM85000
APPLE DESKTOP BUS MOUSE CONTROLLER
LISTEN R3 COMMAND
DESCRIPTION
CODE
Listen SRQ Device
(B13) Address
ID
R3
Number
B7~B0
FF
- - - -
3B
B15
- - - - -
~
B8
-
-
-
Self Test.
3B
- - - - A3 A2 A1 A0 FE
- - - - A3 A2 A1 A0 FD
0 1 - 1 A3 A2 A1 A0 00
Device will change to new address(A0~A3)if no collision
has been detected.
Device will change to new address(A0~A3)if no collision
and /Mkey is pressed.
IF no collision has been detected,device will change to
new address (A0~A3)and set (or clear)SRQ depend on B13(R3).
2 counts/dot for X/Y axis.
3B
3B
3B
3B
- - - - -
- - - - -
-
-
- - 01
02
-
-
1 count/dot for X/Y axis.
1. LISTEN R3:Host transmits data to device.
2. IF mouse Address=3 and Command=Listen R3 then command data=3B.(Ref table 1)
3. B0 ~ B 15:R3 control register.
TABLE 4
REGISTER DESCRIPTION
REGISTER 0 (R0):mouse counter data.
B15 B14 B13 B12 B11 B10 B9 B8 B7
Y6 Y5 Y4 Y3 Y2 Y1 Y0
B6 B5 B4
X6 X5 X4 X3 X2 X1 X0
B3 B2 B1
B0
M
R
1. X0 ~ X6:X direction counter data.
2. Y0 ~ Y6:Y direction counter data.
3. X6(Y6)=0:Positive count when mouse move to right(down).
X6(Y6)=1:Negative count when mouse move to left(up).
Negative count uses 2’S complement form.
4. R:When right key is pressed,B7 is cleared to zero,otherwise B7 status is set to one.
5. M:When main key is pressed,B15 is cleared to zero,otherwise B15 status is set to one.
REGISTER 3 (R3):control register.
B15 B14 B13 B12 B11 B10 B9 B8 B7
B6 B5
B4 B3
B2 B1 B0
0
EE SRQ A3 A2 A1 A0 D7 D6 D5
1
D4 D3 D2 D1 D0
1. D0 ~ D7:Device Handler ID number. (00h ~ FFh)
2. A0 ~ A3:Device Address can be changed when host send LISTEN R3 command with ID=00,FE,FD.
3. B12:Always be“1”.
4. SRQ:Can be set or cleared when host send LISTEN R3 command with ID=00.
SRQ=1:Device can transmit data to Host.
SRQ=0:Device can’t transmit data to Host.
5. EE(Exception Event status):No use=1.
6. B15:Always be“0”.
SIGNAL PROTOCOL
1. Attn(800us)+Sync(65us):Synchronous signal.
Host out Attn+Sync signals to tell device when to get command code.
2. Data and command code:Data bit is discriminated by pulse code modulation.
* This specification are subject to be changed without notice.
4
11.6.1995
EM85000
APPLE DESKTOP BUS MOUSE CONTROLLER
3. Tit (200us)signal:If no collision has been detected,
LISTEN command:Device waiting until Tit=“0” then device start to read data in.
TALK command:Device send two bytes data after Tit.
4. Stop bit(“0”).
5. Start bit(“1”).
6. Service Request:When the device has data to report with SRQ=1,it will pull the ADB bus to be low for 300us
after first stop bit of the command send by Host.
COLLISION:
1. Host send one command,but many devices respond to it.
2. Losing device:
a. Device detects “0” at Tit-time before device wants to send start bit.
b. Data line must hold “1” at Tit-time,but device detects “0” by another device send.
c. Device detects“0”while sending“1”.
3. Losing device must give up ADB bus and data is saved.
4. Every devices must have detecting collision ability.
DYNAMIC SAMPLING RATE
When the mouse is moved,the frequence of sampling rate depends on the mouse’s speed.If the mouse is still,the
sampling rate is at low speed(1KHz).It can reduce system power consumption.
DPI
200
DOTS
SPEED(cm/sec)
- - - - - - - - -
2.54
5.08
10.16
- - - - - - - - -
1.5875
3.175
6.35
- - - - - - - - -
1.27
2.54
5.08
- - - - - - - - -
0.907
1.814
SAMPLING RATE
1KHz
2.5KHz
5KHz
10KHz
1KHz
2.5KHz
5KHz
10KHz
1KHz
2.5KHz
5KHz
10KHz
1KHz
2.5KHz
5KHz
0
1
2
4
0
1
2
4
0
1
2
4
0
1
2
4
320
400
560
3.632
10KHz
Formula:speed=[ ( dots / DPI ) * 2.54 ) ] / Tb.
EX:dot=1,DPI=200 dots/inch,Tb(Time Base)=5ms
speed=[ ( 1 / 200 ) * 2.54 ] / 5ms=2.54 cm/sec
11.6.1995
* This specification are subject to be changed without notice.
5
EM85000
APPLE DESKTOP BUS MOUSE CONTROLLER
ABSOLUTE MAXIMUM RATINGS
Temperature under bias
Storage temperature
Input voltage
0°C to 70°C
-65°C to 150°C
-0.3V to +6.0V
-0.3V to +6.0V
Output voltage
DC ELECTRICAL CHARACTERISTICS
(TA = 0°C~150°C, VDD = 5.0V±5%, VSS = 0V )
Parameter
Sym. Min. Typ. Max.
Unit
Condition
Input High Voltage
Input Low Voltage
Output High Voltage
Output Low Voltage
VIH
VIL
VOH
VOL
2.0
-
2.4
-
-
-
-
-
-
-
-
-
0.8
-
V
V
V
V
V
V
VIN=VDD,VSS
VIN=VDD,VSS
IOH=-12.0mA
IOH=12.0mA
OSCI
0.4
-
1.5
±10
Clock Input High Voltage VIHX
Clock Input Low Voltage VILX
3.5
-
OSCI
Input Leakage Current
for input pin
IIL1
-
µA VIN=VDD,VSS
Pull-high current
Pull-down current
IPH
IPD
-50
20
-
-100 -240
uA Pull-high active, input pin at VSS
uA Pull-down active input pin at VDD
mA RESET=HIGH, Fosc=3.58MHz
50
-
120
4
Operating supply current ICC
AC ELECTRICAL CHARACTERISTICS
(TA = 0°C~70°C, VDD = 5.0V±5%, VSS = 0V )
Parameter
Sym.
SPEC
Min.
Typ.
Max.
Unit
Attention signal time
Sync pulse time
From first stop bit to start bit.
Service request time
Reset time
Attn
Sync
Tit
Tsrq
Tres
Tcyc
T0
800±3%
65±3%
200±30%
300±30%
3
100±30%
65±30%
35±30%
-
550
-
150
290
2.15
-
-
-
23
-
-
-
-
-
2150
286
-
µs
µs
µs
µs
ms
µs
µs
µs
µs
315
-
-
-
-
-
Bit cell time
100
65
35
-
Bit”0” low time
Bit”1” low time
DLED low time
T1
DLED
* This specification are subject to be changed without notice.
6
11.6.1995
EM85000
APPLE DESKTOP BUS MOUSE CONTROLLER
WAVE FORM
LISTEN COMMAND:
Host out control status to device.
TALK COMMAND
1. Device has data to send.
2. Host is polling device.
3. Service Request
11.6.1995
7
* This specification are subject to be changed without notice.
EM85000
APPLE DESKTOP BUS MOUSE CONTROLLER
APPLICATION CIRCUIT
DIN
DOUT
OSCI
OSCO
VDD
DLED
LOCK
Y1
DIST
LLED
VDD
RESET
VSS
X1
X2
R
Y2
M
* This specification are subject to be changed without notice.
8
11.6.1995
EM85000
APPLE DESKTOP BUS MOUSE CONTROLLER
DIN
DOUT
OSCI
OSCO
VDD
DLED
LOCK
Y1
DIST
LLED
VDD
RESET
VSS
X1
X2
R
Y2
M
11.6.1995
9
* This specification are subject to be changed without notice.
相关型号:
©2020 ICPDF网 联系我们和版权申明