pan3401 ETC-unknow, pan3401 Datasheet - Page 11

no-image

pan3401

Manufacturer Part Number
pan3401
Description
Ps/2 Optical Mouse Single Chip
Manufacturer
ETC-unknow
Datasheet
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission
PixArt Imaging Inc.
E-mail:
PixArt Imaging Inc.
PAN3401
8. PS/2 Data Transmission
8.1 Mouse Send Data Out to Host
When the mouse is ready to transmit data, it must first check for mouse “inhibit” or system “request to send”
status on clock and data lines. If CLK is low (inhibit status), data shall be continuously updated in the mouse and
no transmissions shall be started. If CLK is high and DATA is low (request-to-send), data is updated. Data is
received from the system and no transmission are started by the PAN3401 until CLK and DATA both high.
If CLK and DATA are both high, the transmission is ready. DATA is valid prior to the falling edge of CLK and
beyond the rising edge of CLK. During transmission, the PAN3401 checks for line contention by checking for
an inactive level on CLK at intervals not to exceed 100 microseconds. Contention occurs when the system
lowers CLK to inhibit the PAN3401 output after the PAN3401 has started a transmission. If this occurs prior to
the rising edge of the tenth clock (parity bit), the PAN3401 internally stores the data package in its buffer and
return DATA and CLK to an active level. If the contention does not occur by the tenth clock, the transmission is
complete.
Following a transmission, the system can inhibit the PAN3401 by holding CLK low until it can service the input
or until the system receives a request to send a response if necessary.
8.2 Mouse Receive Data from Host
System first check to see if the PAN3401 is transmitting data. If the PAN3401 is transmitting, the system can
override the output forcing CLK to an inactive level prior to the tenth clock. If the PAN3401 transmission is
beyond the tenth clock, the system receives the data. If the PAN3401 is not transmitting or if the system chooses
to override the output, the system forces CLK to an inactive level for a period of not less than 100 microseconds
while preparing for output. When the system is ready to output “0” start bit, it allows CLK to go to active level.
If “request-to-send” is detected, the PAN3401 clocks in 11 bits. Following the tenth clock, the PAN3401 checks
for an active level on the DATA line, and if found, force DATA low (line control bit), and clock once more. If
occurs framing error, the PAN3401 continue to clock until DATA is high, then clock the line control bit and
request a resend.
For each system command or data transmission to the PAN3401 that requires a response, the system must wait
for the PAN3401 to response before sending its next output.
fae_service@pixart.com.tw
CLK
DATA
CLK
DATA
Tsdc
Inhibit
Start bit
CLK
Start bit
1
st
Figure 8. Mouse Receive Data from Host
Figure 7. Mouse Send Data Out to Host
Tmdc
Tmca
Tscd
Tsca
Tmci
CLK
1
………
CLK
Tsci
st
2
nd
………
Bit0 - Bit7
Bit0 - Bit7
CLK
2
nd
CLK
9
Parity bit
th
CLK
10
Parity bit
th
PS/2 Optical Mouse Single Chip
CLK
10
Stop bit
Tpi
th
CLK
11
Stop
bit
th
control bit
CLK
Tmlc
11
Line
………
th
………
……
.
V1.3, Mar. 2008
11

Related parts for pan3401