Upload
priscilla-anderson
View
1
Download
0
Embed Size (px)
DESCRIPTION
PS-1001 ChipPS2 Mouse/Keyboard to Serial/Parallel Interface Converter
Citation preview
PS-1001 PS2 to Serial/Parallel Mouse/Keyboard Converter Features Convert PS2 Mouse/Keyboard to Serial/Parallel Interface Auto Initialize Mouse/Keyboard PS2 Configurations Fully Compliant With PS2 Interface Need Only 8 MHz External Crystal Simultaneously Serial and Parallel Output Without any manual initialize instruction Simply Selectable Pin for Mouse/Keyboard Selection Connectable to any MCU/MPU Pin Configurations
Figure 1-1. Pinout PS-1001
Pin Assignment & Description
Pin
N
umbe
r
Name Type Description
1 PS2 Clock Input / OutputPS2 clock signal
must pulled up by 10k resistor
2 Ascii pulse out OutputMouse: No Connection
Keyboard: Pulsing when Ascii data on D7 to D0 be ready
3,5,19,21
GND Power Input
Ground of +5v regulated voltage GND & VCC must decoupling by 100nF
ceramic capacitors 4,6,18,20,22
VCC Power Input
+5v regulated voltage GND & VCC must decoupling by 100nF
ceramic capacitors
7 OSC1 Input External crystal input pin Must connect to 8 MHz Crystal
8 OSC2 Output External crystal Output pin Must connect to 8 MHz Crystal
9 -HWheel Move / Ascii D7 OutputMouse: output pulse when horizontal wheel
value decreased Keyboard: Bit 7 of ASCII Data
10 +HWheel Move / Ascii D6 OutputMouse: output pulse when horizontal wheel
value increased Keyboard: Bit 6 of ASCII Data
11 -VWheel Move / Ascii D5 OutputMouse: output pulse when vertical wheel
value decreased Keyboard: Bit 5 of ASCII Data
12 +VWheel Move / Ascii D4 OutputMouse: output pulse when vertical wheel
value increased Keyboard: Bit 4 of ASCII Data
13 -Y Move / Ascii D3 OutputMouse: output pulse when Y move value
decreased Keyboard: Bit 3 of ASCII Data
14 +Y Move / Ascii D2 OutputMouse: output pulse when Y move value
increased Keyboard: Bit 2 of ASCII Data
15 -X Move / Ascii D1 OutputMouse: output pulse when X move value
decreased Keyboard: Bit 1 of ASCII Data
16 Mouse / Keyboard' Selection
Input When 1: Mouse is connected to PS2 pins When 0: Keyboard is connected to PS2 pins
(internally pulled up)
17 +X Move / Ascii D0 OutputMouse: output pulse when X move value
increased Keyboard: Bit 0 of ASCII Data
23 Reset Indicator /
Right Button Click / Key Up
OutputWhen chip restarting blink 300ms Mouse: Right button click indicator
Keyboard: Indicate when any keys released
24 Ready Indicator / Left Button Click /
Key Down Output
When chip is ready (initialized device is completed) blink 300ms
Mouse: Left button click indicator Keyboard: Indicate when any keys pressed
25 Middle Button Click OutputMouse: Middle button click indicator
Keyboard: No Connection
26 Caps Lock Input Mouse: No Connection
Keyboard: Determine Caps Lock LED Status (internally pulled up)
27 Scroll Lock Input Mouse: No Connection
Keyboard: Determine Scroll Lock LED Status (internally pulled up)
28 Num Lock Input Mouse: No Connection
Keyboard: Determine Num Lock LED Status (internally pulled up)
29 RESET' Input Can be used by an external device to reset the chip (internally pulled up)
30 RXD Input Serial data input (internally pulled up) UART Baud rate: 38400 bps
31 TXD Output Serial data output UART Baud rate: 38400 bps
32 PS2 Data Input / OutputPS2 data signal
must pulled up by 10k resistor
Block Diagram
Figure 1-2. Block Diagram of PS-1001
Electrical Characteristics
Parameter Symbol Min Typ Max Units
Power Supply Voltage
Vcc 4.75 5.00 5.25 V
Power Supply Current
IDD 2 10 20 mA
Input Pin Voltage Low High
VIL VIH
-0.3
4
0
Vcc
0.3
Vcc+0.3
V V
Input Pin Current Low High
IIL IIH
-0.05 0.05
-0.1 0.1
-0.2 0.2
mA mA
Output Pin Voltage Low High
VOL VOH
-0.3
4
0
Vcc
0.3
Vcc+0.3
V V
Output Pin Current Low High
IOL IOH
-10 5
-15 10
-20 15
mA mA
Serial movements data packets PS-1001 to MCU Mouse Device:
Keyboard Device:
MCU to PS-1001 Mouse Device: Nothing Keyboard Device:
Packaging Information (32-lead, Thin (1.0 mm) Plastic Quad Flat Package (TQFP))