USAR SunAdapt
TM
UR6HCSUN
USAR SunAdapt
TM
IC Converts PS/2 Data to Sun
A Semtech Company
USAR Protocol Interpreter family
product specifications
Description
The USAR SunAdapt
TM
is a single
IC that converts any off-the-shelf or
proprietary PS/2 human input
device, such as a keyboard,
mouse, touch screen, barcode
scanner to a Sun-compatible
system.
This IC was designed for the
SunAdapt
TM
protocol interpreter
- a single box that emulates all the
functions of a PS/2 system
keyboard controller on one end
and provides output for a Sun-
compatible keyboard and mouse
on the other.
The IC allows an external PS/2
keyboard, an external PS/2 Mouse
and a Sun mouse to operate
concurrently. A Sun keyboard may
also operate with a PS/2 mouse
and Sun mouse as long as the
PS/2 keyboard has been
unplugged. The PS/2 devices may
be hot-plugged. No additional
software drivers or hardware,
including a power supply is
needed.
Features
• Interfaces PS/2 data to Sun
• Some devices can be used
concurrently
• PS/2 devices can be hot-plugged
Applications
• System Legacy Support
Pin Descriptions
• Available in DIP, PLCC and Quad
Flat packages
• Custom versions available in
small or large quantities
NU
VPP
_IRQ
_RESET
NC
NC
VCC
OSCI
OSCO
_KBRX
_KBRX1
NU
NU
NU
NU
NU
NU
NU
PS2MDAT
PS2MCLK
PS2KDAT
PS2KCLK
QFP
KBTX
IN4
IN3
IN2
IN1
_MSTX
_MSRX
DIP0
DIP1
DIP2
NU
Part Number: UR6HCSUN
(C) 1995-2000, USAR - A Semtech Company. All rights reserved.
6
NU
NU
NU
NU
NU
NU
PS2MDAT
PS2MCLK
PS2KDAT
PS2KCLK
NU
7
1
NU
NU
VPP
NC
_IRQ
_RESET
VCC
OSC1
OCSO
_KBRX
NU
40
39
12
NU
NU
NU
NU
NC
GND
BEEP
KBSEL
NU
NU
NC
PLCC
34
17
18
23
29
28
_KBRX1
KBTX
IN4
IN3
IN2
IN1
_MSTX
_MSRX
DIP0
DIP1
DIP2
USAR – A Semtech Company
Datasheet
DOC6-SUN-DS-101
NU
NU
NU
NU
GND
NU
BEEP
KBSEL
NU
NU
NU
1
USAR SunAdapt
TM
UR6HCSUN
USAR
Protocol Interpreter family
product specifications
USAR — A Semtech Company
Ordering Code
Package options
40-pin Plastic DIP
44-pin, Plastic PLCC
44-pin, Plastic QFP
Pitch In mm’s
2 54 mm
1.27 mm
0.8 mm
TA = -40°C to +85°C
UR5HCSUN-P
UR5HCSUN-FN
UR5HCSUN-FB
Functional Diagram
PS2KCLK
PS2KDAT
8042 Emulator Port
PS2MCLK
PS2MDAT
Audio
_MSRX
KBSEL
Sun Mouse and
Keyboard Control
Interface
_KBTX
Sun System
Communication
Interface
_KBRX
_MSTX
DIP0
DIP1
DIP2
Keyboard
Setting
Switch
USAR – A Semtech Company
Datasheet
DOC6-SUN-DS-101
2
USAR SunAdapt
TM
UR6HCSUN
USAR
Protocol Interpreter family
product specifications
USAR — A Semtech Company
Functional Description
The UR6HCSUN consists
functionally of five major sections.
These are the Sun System
Communication Interface, the
Audio Output, the 8042 Emulate
Port for PS/2 Mouse and Keyboard
control, and the Sun Mouse and
Keyboard Control interface. A dip-
switch is used for the keyboard
selection.
Sun Communication
Interface
The UR6HCSUN interface is a full
duplex serial interface. The baud
rate is 1200 bits/sec. The data
format for a single byte is a 10 bit
serial stream consisting of a logic
"1" start bit, followed by the 8 bit
data, and ended by a logic "0" stop
bit.
Transmitted data bytes are inverted
from the binary representation of
their hexadecimal value. The bits
are transmitted starting with the
LSB and ending with MSB. When
no data is being transmitted, the
data line shall remain at a rest state
consisting of logic "0" state. The
_KBRX pin receives commands
from the Sun system and the
_KBTX pin sends a response
command and the keyboard data
package to the system. The _MSTX
pin sends mouse data package to
the system.
For initial condition identification,
the data exchange between the
host system and the keyboard
takes place during the boot
process. At boot, the system CPU
transmits a request for
identification through the _KBRX
pin. The USAR SunAdapt
TM
responds accordingly through the
_KBTX pin.
USAR – A Semtech Company
Datasheet
Pin Definitions
Mnemonic
VCC
VSS
OSCI
OSCO
RESET
VPP
PS2KCLK
PS2KDAT
PS2MCLK
PS2MDAT
_KBRX
_KBRX1
KBTX
_MSTX
_MSRX
KBSEL
BEEP
_IQR
DIP0
DIP1
DIP2
IN1
IN2
IN3
IN4
NC
NU
PLCC
44
22
43
42
1
4
16
15
14
13
41
39
38
33
32
25
24
2
31
30
29
34
35
36
37
QFP
38
17
37
36
41
43
4
3
9
8
35
34
33
28
27
Type
I
I
I
O
I
I
I/O
I/O
I/O
I/O
I
I
O
O
I
Name and Function
Power Supply:
+5V
Ground
Oscillator input
Oscillator output
Reset:
Apply 0V to provide orderly start-up
Tie to Vcc
PS/2 Keyboard Clock:
Connects to PC
keyboard port clock line
PS/2 Keyboard Data:
Connects to
keyboard data line
PS/2 Mouse Data:
Connects to PC
mouse port clock line
PS/2 Mouse Data:
Connects to
mouse data line
Keyboard Communication:
RX from
Sun KB System
Keyboard Communication:
RX from
Sun KB System
Keyboard Communication:
TX to
Sun KB System
Mouse Communication:
TX to
Sun Mouse system
Mouse Communication:
RX from
Sun Mouse
Select:
PS/2 or Sun keyboard Select
Audio
Interrupt Line:
Connect to high
Switch:
Keyboard Setting Switch
Switch:
Keyboard Setting Switch
Switch:
Keyboard Setting Switch
Not Used:
Connect to Ground
Not Used:
Connect to Ground
Not Used:
Connect to Ground
Not Used:
Connect to Ground
No Connect
Not Used:
leave open
19
O
18
42
I
26
I
25
I
24
I
29
30
31
32
39,40
3,5-12
1-7
17-21,23
12-16
26-28,40 20-23,44
Note:
An underscore before a pin mnemonic denotes an active low signal.
DOC6-SUN-DS-101
3
USAR SunAdapt
TM
UR6HCSUN
USAR
Protocol Interpreter family
product specifications
USAR — A Semtech Company
8042 Emulator Port
The USAR SunAdapt
TM
has an 8042
Emulator Port that can connect all
the types of PS/2 compatible
keyboard and mouse.
Keyboard Setting Switch
By making the different setting for DIP0 to DIP2, the USAR SunAdapt
TM
can
connect different kinds of keyboard and send the corresponding keyboard
layout to the Sun System on boot-up.
Keyboard Setting Switch
DIP 2
Off
Off
DIP1
Off
On
DIP0
On
Off
On
Off
Keyboard
Type
UK English
(AT-102)
German Kbd
(AT-102)
Japanese
3270
US 101
(AT101)
Keyboard
Layout
UK
German
Japanese
US
US
PS/2 Mouse Port
The USAR SunAdapt
TM
gets PS/2
mouse package data and
combines it with the Sun mouse
package data (if the Sun mouse is
connected). After that, the
combined mouse data is sent to
Sun system through _MSTX pin.
The external PS/2 mouse can be
hot-plugged.
Off
On
On
Off
Other Combinations
PS/2 Keyboard Port
The USAR SunAdapt
TM
will detect
the existence of an external PS/2
keyboard on power-up. With the
connection of external PS/2
keyboard, USAR SunAdapt
TM
will
disable the Sun Type 5 keyboard
by using KBSEL pin. Under this
situation, the IC will interpret the
PS/2 keyboard data format to Sun
Type 5 keyboard data format and
transmit to system through the
_KBTX pin. The external PS/2
keyboard port is very powerful. It is
able to process various keyboard
data packages. The external PS/2
keyboard is hot-pluggable.
Sun Mouse and Keyboard Control Interface
The USAR SunAdapt
TM
works as a Sun Type 5 keyboard itself on system
end. At the same time, it emulates the Sun system to make the control for a
Sun Type 5 Keyboard.
The IC gets mouse data by using the _MSRX pin from the Sun mouse that
connected to Sun keyboard. It will combine the Sun mouse data with
external PS/2 mouse data and send them to Sun system through _MSTX
pin.
The USAR SunAdapt
TM
detects the existence of external PS/2 keyboard on
power up. If the external PS/2 keyboard is connected, the USAR
SunAdapt
TM
will disable the Sun keyboard. If no external PS/2 mouse is
connected, the USAR SunAdapt
TM
will let the Sun keyboard data pass
through.
USAR – A Semtech Company
Datasheet
DOC6-SUN-DS-101
4
USAR SunAdapt
TM
UR6HCSUN
USAR
Protocol Interpreter family
product specifications
USAR — A Semtech Company
Descri
Connection Guide for the USAR SunAdapt
TM
Protocol
Interpreter
The USAR SunAdapt
TM
has three ports. I symbol, denoting the type of
device that may be plugged in, is situate above each of these ports. Be
sure to connect the right device to the right port. The symbols identify the
following: PS/2 mouse; PS/2 keyboard; Sun mouse and keyboard.
Turn off the power of Sun system. Plug the cable of USAR SunAdapt
TM
into
Sun input device port. You may then connect your keyboards and mice in
one of the two ways.
1. Connect the PS/2 mouse to PS/2 mouse port on the USAR SunAdapt
TM
.
Connect the PS/2 keyboard to PS/2 keyboard port of USAR SunAdapt
TM
.
Connect a Sun mouse to Sun keyboard/mouse port. The Sun keyboard
data is blocked.
2. Connect the PS/2 mouse to PS/2 mouse port on the USAR SunAdapt
TM
.
Connect a Sun keyboard to Sun mouse/keyboard port of the USAR
SunAdapt
TM
. In this situation, there is no PS/2 keyboard, the Sun keyboard
data will pass through.
Make sure all the connections are correct. Now you can turn on the power
and USAR SunAdapt
TM
will work properly.
USAR – A Semtech Company
Datasheet
DOC6-SUN-DS-101
5