EMC EM83702 User Manual

查询EM83702供应商
GENERAL DESCRIPTION
FEATURES
• Built-in two zener diode between VDD and VSS, RTS and VDD.
• Buit-in noise immunity circuit.
• CMOS DIP 16 pins package & SOP 16 pins package.
• Low power dissipation.
• Use 32.768 kHz crystal or 3.58MHz resonator.
• Oscillator circuits on-chip.
• Serial output in 1200 baud rate.
• Can be powered directly from RS-232C.
• Can drive directly to RS-232C.
• Three key-switches and four photo-couples inputs.
• Both key-in and key-release debounce interval 13 ms.
• Through three key-switches input, EM83702 can exert seven different output.
• The sampling rate of motion detector is 65 KHz.
ALL IN ONE MOUSE CONTROLLER
Patent Number : 38715, 95661 (R.O.C) Patent Pending : 84200836 (R.O.C)
ALL IN ONE MOUSE CONTROLLER
EM83702
EM83702
APPLICATIONS
• Optical mouse or pen-mouse
• Mechanical mouse or pen-mouse
• Optomechanical mouse or pen-mouse
• Mechanical track ball
• Optomechanical track ball
* This specification are subject to be changed without notice.
4.15.1996
1
PIN ASSIGNMENTS
EM83702
ALL IN ONE MOUSE CONTROLLER
EM83702A
RS
1
MS
OSC.IN
OSC.OUT
RTS
RXD
VSS
R
16
2
15
3
14
4
13
5
12
6
11
7
10
8
9
FUNCTIONAL BLOCK DIAGRAM
OPT
OSC.OUT
OSC.IN
RTS
X1
X2
Y1
Y2
L
M
R
MS
RS
D
M
E
N
M
M
T
O
O
U
E
I
T
N
C
S
I
T
E
O
T
O
N
Y
R
D E B O U N C E
V
DD
OPT Y2 Y1 X2 X1 L M
I
I
SYSTEM CLOCK
GENERATOR
COUNTER
MODE
SELECTOR
RS
OPT
MS
OSC.IN
OSC.OUT
RTS
RXD
VSS
MULTIPLEXER
EM83702B
1
16
2
15
3
14
4
13
5
12
6
11
7
10
8
9
CONTROLLER
LEVEL-SHIFT
CIRCUIT
V
DD
Y2 Y1 X2 X1 L M R
P/S
TIMING
RXD
PIN DESCRIPTIONS
Symbol I/O Function
RS I Crystal type select : "0" or floating, select 32.768KHz crystal. "1" select 3.58MHz
resonator.
MS I When this pin is connected to V
under the microsoft mode only. If the pin is connected to V will operate under the mouse system mode.
However if this pin is "floating", then EM83702 is on the “power on initiation” situation and if any one of three buttons is chosen, thence EM83702 will operate under the mouse mode. And while the whole system is on “power on initiation”.No
key is chosen then operation will be under microsoft mode. OSC.IN I A built-in inverter provides oscillation with 32.768 KHz crystal or 3.58MHz OSC.OUT resonator.
Several counters used to decrease the frequency of oscillation and create 1200 baud
rate, key-switches debounce and photo-couple sensor scanning clock,etc. RTS I Positive power input.
The signal is sent by mouse driver from computer to the mouse to select
a mode. During the reset time, EM83702 echoes the selected mode to the RXD line
after the reset pulse signal of the RTS line. RXD will send out CD(H) code if
it is under the microsoft mode. RXD will send out two byte C8(H) code if it is under
the mouse system mode in EM83702.
, then EM83702 is assigned to operate
DD
, then EM83702
SS
* This specification are subject to be changed without notice.
4.15.1996
2
EM83702
ALL IN ONE MOUSE CONTROLLER
Symbol I/O Function
RXD O There are 8 or 7 bits in each data byte.
Using parallel-in and serial-out components, the data bytes are shifted out from bit
0 through the high bits. EM83702 will transmit the data while the status of three
keyswitches or the state of the horizontal counter or vertical counter is changed.
V
SS
Negative power input.
R I Three key-switches exert seven different combinations totally. M I/O Both key-pressed and key-released signals will be sent accomplanied with L I/O horizontal and vertical state. The status of the key-switches will be preserved,
whenever the value of horizontal or vertical counters will present at RXD. And the
debounce interval for both key-press and key-release is 13 ms.
In testing mode, L and M are the outputs of motion detecdor. Using R key can select
the two outputs X1, X2 or Y1,Y2. This feature can help manufacturer to adjust the
phase of four photo-couples for improving the yield.
X1 I Four photo-couple signals denote UP, DOWN, LEFT and RIGHT state. If X2 EM83702 is in 1200 baud rate on non-auto speed mode, the system provides 40 Y1 transmission cycles per second in microsoft mode to the utmost. In mouse system Y2 mode, the cycles are 24 maxiun. During the scaning period, as long as the photo-
couples change their states, the value of vertical or horizontal counter will increase
or decrease accordingly.
OPT I Whenever OPT is connected to V V
DD
Power.
, the chip will enter testing mode.
DD
FUNCTION DESCRIPTIONS
A) Operating Mode
Mouse system mode
Anytime the mouse changes its state, including the key-switches and the photo-couple sensors, EM83702 will detect the result and transmit to RS-232C. Mouse system transmits the result with five bytes in 1200 baud rate. Each byte contains 10 bits, one start bit, one stop bit and eight data bits. The first byte represents the key-switches status. The second byte denote the number counted by the horizontal counter. The third byte conveys the number accumulated by the vertical counter. If the mouse is moved faster, the photo-couple sensors detect the “change state” and output the record, excessive horizontal counter will be transported through the fourth byte, and vertical counter through the fifth byte. Otherwise, the fourth and fifth byte are zero. Output bytes arrange:
bit no ...... 7 6 5 4 3 2 1 0
1st byte...... 1 0 0 0 0 L’ M’ R’*
2nd byte...... H7 H6 H5 H4 H3 H2 H1 H0
3rd byte...... V7 V6 V5 V4 V3 V2 V1 V0
4th byte...... H7 H6 H5 H4 H3 H2 H1 H0
5th byte...... V7 V6 V5 V4 V3 V2 V1 V0
* ‘ denotes complement
* This specification are subject to be changed without notice.
4.15.1996
3
EM83702
ALL IN ONE MOUSE CONTROLLER
(B) Microsoft mode
In microsoft mode, the transmission cycle consists of three bytes. Each byte is divided into one start bit, seven data bits and two stop bit. The first byte contains “L”,”R” switch status and four bits of the two most sig­nificant bits in horizontal counter and vertical counter. The next byte represents the value accumulated by horizontal counter, the last byte is the data of the vertical counter. Notice that “M” key-switch is not active in the microsoft mode and the vertical data is transmited in 2’s complement. Output byte arrange:
bit no ...... 6 5 4 3 2 1 0
1st byte...... 1 L R V7' V6' H7 H6
2nd byte...... 0 H5 H4 H3 H2 H1 H0
3rd byte...... 0 V5' V4' V3' V2' V1' V0'
(C) Testing mode
Whenever OPT is connected to VDD, the chip will enter buyer’s testing mode. The X direction output signals of comparators will present to L and M pin. Pressing “R” key can toggle the output from X direction to Y direction.
(D) Echo mode
RXD will send out CD(H) code when RTS rise from low to high under microsoft mode. Under mouse system mode, when RTS rise from low to high, the RXD pin EM83702 will send out two byte C8(H) code.
* This specification are subject to be changed without notice.
4.15.1996
4
Loading...
+ 7 hidden pages