Alcor Micro AU9226 Product manual

AU9226
USB KVM Controller
Technical Reference Manual

AU9226
USB KVM Controller

C
Co
op
py
yr
ri
ig
gh
ht
t
Copyright © 1997 - 2007. Alcor Micro, Corp. All Rights Reserved. No part of this data
sheet may be reproduced, transmitted, transcribed, stored in a retrieval system or
translated into any language or computer language, in any form or by any means,
electronic, mechanical, magnetic, optical, chemical, manual or otherwise, without prior
written permission from Alcor Micro, Corp.
T
Tr
ra
ad
de
em
ma
ar
rk
k
A
Ac
ck
kn
no
ow
wl
le
ed
dg
ge
em
me
en
nt
ts
s
The company and product names mentioned in this document may be the trademarks
or registered trademarks of their manufacturers.
D
Di
is
sc
cl
la
ai
im
me
er
r
A
lcor Micro, Corp. reserves the right to change this product without prior notice. Alcor
Micro, Corp. makes no warranty for the use of its products and bears no responsibility
for any error that appear in this document. Specifications are subject to change
without prior notice.
R
Re
ev
vi
is
si
io
on
n
H
Hi
is
st
to
or
ry
y
Date Revision Description
July 2007 1.00W Official release
Oct 2007 1.01W Modify “3.0 Pin Assignment”
C
Co
on
nt
ta
ac
ct
t
I
In
nf
fo
or
rm
ma
at
ti
io
on
n:
:
Web site: http://www.alcormicro.com/
Taiwan China ShenZhenOffice
Alcor Micro, Corp. Rm.2407-08, Industrial Bank Building
4F, No 200 Kang Chien Rd., Nei Hu, No.4013, Shennan Road,
Taipei, Taiwan, R.O.C. ShenZhen,China. 518026
Phone: 886-2-8751-1984 Phone: (0755) 8366-9039
Fax: 886-2-2659-7723 Fax: (0755) 8366-9101
Santa Clara Office Los Angeles Office
2901 Tasman Drive, Suite 206 9070 Rancho Park Court
Santa Clara, CA 95054 Rancho Cucamonga, CA 91730
USA USA
Phone: (408) 845-9300 Phone: (909) 483-8821
Fax: (408) 845-9086 Fax: (909) 944-0464

<Memo>

i
Table of Contents
1. Introduction ............................................................ 1
1.1 Description...................................................................................1
1.2 Features........................................................................................1
2. Application Block Diagram ...................................2
3. Pin Assignment...................................................... 3
4. System Architecture and Reference Design ....... 7
4.1 AU9226 Block Diagram ...............................................................7
5. Hot Key Definition.................................................. 8
5.1 [Scroll]++[Scroll] mode...............................................................8
5.2 [Caps]++[Caps] mode..................................................................8
5.3 [Num]++[Num] Mode ...................................................................9
5.4 [Ctrl]+[Shift] mode (left-hand side) ............................................9
6. Electrical Characteristics...................................... 11
6.1 Recommended Operating Conditions .......................................11
6.2 General DC Characteristics........................................................11
6.3 DC Electrical Characteristics of 3.3V I/O Cells..........................11
6.4 Crystal Oscillator Circuit Setup for Characterization...............12
6.5 ESD Test Results.........................................................................12
6.6 Latch-Up Test Results.................................................................13
7. Mechanical Information......................................... 15
7. Abbreviations ......................................................... 16

ii
List of Figures
Figure 2.1 Block Diagram..................................................................2
Figure 3.1 Pin Assignment Diagram ................................................3
Figure 4.1 AU9226 Block Diagram ...................................................7
Figure 6.1 Crystal Oscillator Circuit Setup for Characterization...12
Figure 6.2 Latch-Up Test Circuits ....................................................14
Figure 7.1 Mechanical Information Diagram ...................................15
List of Tables
Table 3.1 Pin Descriptions................................................................4
Table 6.1 Recommended Operating Conditions.............................11
Table 6.2 General DC Characteristics..............................................11
Table 6.3 DC Electrical Characteristics of 3.3V I/O Cells ...............11
Table 6.4 ESD Data............................................................................12
Table 6.5 Latch–Up Data...................................................................14

AU9226 USB KVM Controller V1.01W 1
1. Introduction
1
1.
.1
1
D
De
es
sc
cr
ri
ip
pt
ti
io
on
n
AU9226 is a highly integrated single chip USB KVM controller offering users the
possibility of sharing keyboard, mouse and monitor among up to two PCs. Not like
traditional PS2 KVM devices, AU9226 uses USB as its upstream and downstream
interface to support its driver-free and plug-n-play features, which allow users to easily
install and use the KVM.
Typical application of AU9226 is under an environment, in which only one set of
monitor, keyboard and mouse is available. Applying such kind of devices in a
computing environment will not only result in a centralized control, but also reduce the
power and space consumption.
1
1.
.2
2
F
Fe
ea
at
tu
ur
re
es
s
Fully USB v1.1 specification compliant
Support USB bus power and device self power
Support up to 2 PCs via 2 USB upstream ports
Support USB downstream port 1 for USB keyboard
Support USB downstream port 2 for USB mouse
Support PS2 keyboard
Support both “panel button” and “hot key” to switch among PCs
Support “auto-scan” mode for users to monitor PCs easily
Support audio beep when system switches
Support upstream port selected LED indicators for each PC respectively
Support phantom keyboard to let user does not need to configure BIOS to turn
on “No halt on error”
Support 2 different sets of key sequence to switch among PCs (Please see the
key definition in the following)
Recalls “Caps Lock”, “Num Lock” and “Scroll Lock” keys’ status for each PC
automatically
Output the monitor selection signals to the external video-switching circuits
Support 8-bit MCU interface to provide control from external MCU
Support serial MCU interface to provide control from external MCU
No need to install device driver under Windows, Macintosh, Linux, FreeBSD
and Sun system
Support EEPRom to memorize hotkey mode

2. Application Block Diagram
Typical application is in a computing environment where it demands a centralized
control and space & energy saving is critical.
Figure 2.1 Block Diagram
AU9226 KVM
Port 1
Por t 2
Monitor and Audio
swtiching box
(Relay device )
Monitor
PC 2
PC 1
Mouse
Keyboard
Monitor cable
USB cable USB cable Monitor Cable
Selection (3x)
default button x 1
Auto-swtich mode
PS2 Keyboard Audio Devices
AU9226 USB KVM Controller V1.01W
2

3. Pin Assignment
The AU9226 is delivered in 48pin LQFP form factor. Documented below is a figure
shows signal names of each pin and a table in the following page describes each pin
in more details.
Figure 3.1 Pin Assignment Diagram
AVCC
AVSS
XTAL1
XTAL2
VCC5V
BVCC
BVSS
SWITCHN
AUDIOSWITCHN
BUS_PWRD
BEEP
INTN VCC
SWITCHMODE0
SWITCHMODE1
PS2_CLK
PS2_DAT
GPO1
GPO0
GPO2
VSS
DOWNUSB1_DP
DOWNUSB2_DM
WRN
DOWNUSB1_DM
RDN
CSN
GND
ALE
DOWNUSB2_DP
GND
MONITOREN0
D7
UPUSB1_DP
UPUSB1_DM
UPUSB2_DP
UPUSB2_DM
UP1LEDN
1
2
3
4
5
6
7
8
9
10
11
12
13 14 15 16 17 18 19 20 21 22 23 24
25
26
27
28
29
30
31
32
33
35
36
34
373839404142434445464748
AU9226
SWITCHMODE2
EXTCPUMOD
D0
D1
D2
D5
D4
D3
D6
UP2LEDN
AU9226 USB KVM Controller V1.01W 3

Table 3.1 Pin Descriptions
Pin # Pin Name I/O Description
1 AVCC PWR 3.3V analog input power
2 AVSS PWR Analog ground
3 XTAL1 I 12 MHz crystal input
4 XTAL2 O 12 MHz crystal output
5 VCC5V PWR 5.0V input power from USB port
6 BVCC PWR 3.3V output power from internal regulator
7 BVSS PWR Ground pin of internal regulator
8 SWITCHN I Button with internal pull-up for switching to next
system (0: Enable; 1: Normal)
9 AUDIOSWITCHN I Audio ON/OFF switch with internal pull-up (1:
OFF; 0: ON)
10 BUS_PWRD I Bus power selection (1: Device Self Power; 0: Bus
Power)
11 BEEP O Audio output (4 KHz frequency) when system
switches
12 INTN O Interrupt signal output to external MCU when
SWITCHMODE2='1' and EXTCPUMOD='1'
(falling-edge triggered)
13 GND Ground
14 GND Ground
15 ALE I
When not using external parallel MCU, it should be
pulled down. Address latch enable when
SWITCHMODE2='1' and EXTCPUMOD='1' (1: AD
bus is address; 0: AD bus is data)
16 CSN I Chip enable for the MCU interface when
SWITCHMODE2='1' and EXTCPUMOD='1' (0:
Enable)
17 RDN I Read strobe for the MCU interface when
SWITCHMODE2='1' and EXTCPUMOD='1' (0:
Enable)
18 DOWNUSB2_DP I/O DownPort2 DP
19 DOWNUSB2_DM I/O DownPort2 DM
20 DOWNUSB1_DP I/O DownPort1 DP
21 DOWNUSB1_DM I/O DownPort1 DM
22 WRN I Read strobe for the MCU interface when
SWITCHMODE2='1' and EXTCPUMOD ='1' (0:
Enable; 1: Normal)
23 EXTCPUMOD I External MCU mode selection (1: Parallel; 0:
Serial). Serial is the default mode.
24 VSS PWR Digital ground
AU9226 USB KVM Controller V1.01W
4

Pin # Pin Name I/O Description
25 VCC PWR 3.3V digital input power
26 SWITCHMODE0 I
27 SWITCHMODE1 I
Switch mode selection (SW0, SW1) for internal
hotkey mode when SWITCHMODE2='0' and
D2='0', it’s defined as:
(0, 0): [Scroll][Scroll] mode (default)
(0, 1): [Caps Lock][Caps Lock] mode
(1, 0): [Num Lock][Num Lock] mode
(1, 1): [Ctrl][Shift] mode (left-hand side)
28 SWITCHMODE2 I Enable external MCU mode (1: Enable; 0:
Disable). Disable is the default setting.
29 PS2_CLK I/O PS2 clock signal (external pull-up required)
30 PS2_DAT I/O PS2 data signal (external pull-up required)
31 D0 I/O
Bit 0 with internal pull-up in address/data bus of
MCU interface when SWITCHMODE2='1' and
EXTCPUMOD='1'. It also provides alternative
functions:
I2C bus SDA signal (slave mode) when
SWITCHMODE2='1' and EXTCPUMOD='0'
I2C bus SDA signal (master mode) when
SWITCHMODE2='0' and D2='1'
32 D1 I/O
Bit 1 with internal pull-up in address/data bus of
MCU interface when SWITCHMODE2='1' and
EXTCPUMOD='1'. It also provides alternative
functions:
I2C bus SCL signal (slave mode) when
SWITCHMODE2='1' and EXTCPUMOD='0'
I2C bus SCL signal (master mode) when
SWITCHMODE2='0' and D2='1'
33 D2 I/O
Bit 2 with internal pull-down in address/data bus of
MCU interface when SWITCHMODE2='1' and
EXTCPUMOD='1'. It also provides alternative
functions:
I2C bus address 0 (slave mode) when
SWITCHMODE2='1' and EXTCPUMOD='0'
I2C bus master mode enable bit when
SWITCHMODE2='0'
34 GPO2 O General purpose output pin 2
35 GPO1 O General purpose output pin 1
36 GPO0 O General purpose output pin 0
37 MONITOREN0 O Monitor Select : ('0' : Monitor1 Select ; ‘1’ :
Monitor2 Select)
38 D3 I/O Data3 or Address3 when SWITCHMODE2='1' and
EXTCPUMOD='1'; I2C slave address1 when
SWITCHMODE2='1' and EXTCPUMOD='0';
39 D4 I/O Data4 or Address4 when SWITCHMODE2='1' and
EXTCPUMOD='1'; I2C slave address2 when
SWITCHMODE2='1' and EXTCPUMOD='0';
AU9226 USB KVM Controller V1.01W 5

Pin # Pin Name I/O Description
40 D5 I/O Data5 or Address5 when SWITCHMODE2='1' and
EXTCPUMOD='1'
41 D6 I/O Data6 or Address6 when SWITCHMODE2='1' and
EXTCPUMOD='1'
42 D7 I/O Data7 or Address7 when SWITCHMODE2='1' and
EXTCPUMOD='1'
43 UPUSB1_DP I/O Upstream Port 1 DP
44 UPUSB1_DM I/O Upstream Port 1 DM
45 UPUSB2_DP I/O Upstream Port 2 DP
46 UPUSB2_DM I/O Upstream Port 2 DM
47 UP1LEDN O System 1 LED Indicator
48 UP2LEDN O System 2 LED Indicator
AU9226 USB KVM Controller V1.01W
6

4. System Architecture and Reference
Design
4
4.
.1
1
A
AU
U9
92
22
26
6
B
Bl
lo
oc
ck
k
D
Di
ia
ag
gr
ra
am
m
Figure 4.1 AU9226 Block Diagram
USB Protocol
Engine
Downstream
Port
Host 1
USB Protocol
Engine
Downstream
Port
Host 2
Downstream
Port Data
Multiplexor
Downstream
Port Data
Checker
Switch
Detection
port 1: USB Keyboard; port 2: USB Mouse; PS2 port: PS2 Keyboard
AU9226 USB KVM Controller V1.01W 7

5. Hot Key Definition
AU9226 supports 2 sets of “Hot Key” to help users to switch PC, rapidly and easily, via
hot key sequence defined using keypads on the left hand side of a keyboard.
5
5.
.1
1
[
[S
Sc
cr
ro
ol
ll
l]
]+
++
+[
[S
Sc
cr
ro
ol
ll
l]
]
m
mo
od
de
e
Hot Key Definition
[Scroll] ++ [Scroll] + 1 (note1) Switch to PC1
[Scroll] ++ [Scroll] + 2 Switch to PC2
[Scroll] ++ [Scroll] + →or ↓Switch to Next PC
[Scroll] ++ [Scroll] + ←or ↑Switch to Previous PC
[Scroll] ++ [Scroll] + B Beeper ON/OFF (note2)
[Scroll] ++ [Scroll] + S Auto-scan mode every 10 second. ([ESC] switch to
regular key code)
[Scroll] ++ [Scroll] + S + n Set Auto-scan rate (note3). ([ESC) switch to regular
key code)
[Scroll]++[Scroll]+F1~F8 Customer define key (note4).
[Scroll]++[Scroll]+[Caps] Switch to [Caps]++[Caps] hot key mode
[Scroll]++[Scroll]+[Num] Switch to [Num]++[Num] hot key mode
[Scroll]++[Scroll]+[Ctrl] Switch to [Ctrl]+[Shift] hot key mode
5
5.
.2
2
[
[C
Ca
ap
ps
s]
]+
++
+[
[C
Ca
ap
ps
s]
]
m
mo
od
de
e
Hot Key Definition
[Caps]++[Caps]+1 Switch to PC1
[Caps]++[Caps]+2 Switch to PC2
[Caps]++[Caps]+→or ↓Switch to Next PC
[Caps]++[Caps]+←or ↑Switch to Previous PC
[Caps]++[Caps]+B Beeper ON/OFF (note2)
[Caps]++[Caps]+S Auto-scan mode every 10 second. ([ESC] switch to
regular key code)
[Caps]++[Caps]+S + n Set Auto-scan rate (note3). ([ESC] switch to regular
key code)
[Caps]++[Caps]+F1~F8 Customer define key (note4)
[Caps]++[Caps]+[Scroll] Switch to [Scroll]++[Scroll] hot key mode
[Caps]++[Caps]+[Num] Switch to [Num]++[Num] hot key mode
[Caps]++[Caps]+[Ctrl] Switch to [Ctrl]+[Shift] hot key mode
AU9226 USB KVM Controller V1.01W
8

5
5.
.3
3
[
[N
Nu
um
m]
]+
++
+[
[N
Nu
um
m]
]
M
Mo
od
de
e
Hot Key Definition
[Num]++[Num]+1 Switch to PC1
[Num]++[Num]+2 Switch to PC2
[Num]++[Num]+→or ↓Switch to Next PC
[Num]++[Num]+←or ↑Switch to Previous PC
[Num]++[Num]+B Beeper ON/OFF (note2)
[Num]++[Num]+S Auto-scan mode every 10 second. ([ESC] switch to
regular key code)
[Num]++[Num]+S + n Set Auto-scan rate (note3). ([ESC] switch to regular
key code)
[Num]++[Num]+F1~F8 Customer define key (note4)
[Num]++[Num]+[Scroll] Switch to [Scroll]++[Scroll] hot key mode
[Num]++[Num]+[Caps] Switch to [Caps]++[Caps] hot key mode
[Num]++[Num]+[Ctrl] Switch to [Ctrl]+[Shift] hot key mode
5
5.
.4
4
[
[C
Ct
tr
rl
l]
]+
+[
[S
Sh
hi
if
ft
t]
]
m
mo
od
de
e
(
(l
le
ef
ft
t-
-h
ha
an
nd
d
s
si
id
de
e)
)
Hot Key Definition
[Ctrl]++[Ctrl] Switch to next live PC
[Ctrl + Shift + 1] Switch to PC1
[Ctrl + Shift + 2] Switch to PC2
[Ctrl + Shift + →or ↓] Switch to Next PC
[Ctrl + Shift + ←or ↑] Switch to Previous PC
[Ctrl + Shift + B] Beeper ON/OFF (note2)
[Ctrl + Shift + S] Auto-scan mode every 10 second. ([ESC] switch to
regular key code)
[Ctrl + Shift + S + n] Set Auto-scan rate (note3). ([ESC] switch to regular
key code)
[Ctrl + Shift + F1~F8] Customer define key (note4)
[Ctrl + Shift + Scroll] Switch to [Scroll]++[Scroll] hot key mode
[Ctrl + Shift + Caps] Switch to [Caps]++[Caps] hot key mode
[Ctrl + Shift + Num] Switch to [Num]++[Num] hot key mode
Note 1: “++” means press key rapidly, “[Scroll]++[Scroll]+1” means press “Scroll”
twice rapidly and then press “1”. If system receives “Scroll ++ Scroll” command only,
system will reset the buffer when it does not receive any input comes after within a
defined interval of time (say, 5 seconds).
Note 2: Audible feedback when beeper is ON and keep the device in silent mode
when beeper is OFF.
Note 3: n = number from 1 to 9, each represents 5 seconds’ interval latency to 60
seconds correspondingly.
AU9226 USB KVM Controller V1.01W 9

Auto-scan rate set
【N】number Second
1 5
2 10
3 15
4 20
5 25
6 30
7 35
8 40
9 60
Note 4: GPO 2 GPO 1 GPO 0
Function key +F1 0 0 0
Function key +F2 0 0 1
Function key +F3 0 1 0
Function key +F4 0 1 1
Function key +F5 1 0 0
Function key +F6 1 0 1
Function key +F7 1 1 0
Function key +F8 1 1 1
AU9226 USB KVM Controller V1.01W
10

6. Electrical Characteristics
6
6.
.1
1
Recommended Operating Conditions
Table 6.1 Recommended Operating Conditions
SYMBOL PARAMETER MIN TYP MAX UNITS
VCC Power Supply 4.75 5 5.25 V
VIN Input Voltage 0 VCC V
TORP Operating Temperature 0 85 OC
TSTG Storage Temperature -40 125 OC
6
6.
.2
2
G
Ge
en
ne
er
ra
al
l
D
DC
C
C
Ch
ha
ar
ra
ac
ct
te
er
ri
is
st
ti
ic
cs
s
Table 6.2 General DC Characteristics
SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNITS
IIL Input low current no pull-up or
p
ull-down -1 1 µA
IIH Input high current no pull-up or
p
ull-down -1 1 µA
OZTri-state leakage current -10 10 µA
CIN Input capacitance 5 ρF
COUT Output capacitance 5 ρF
CBID Bi-directional buffer
ca
p
acitance 5 ρF
6
6.
.3
3
D
DC
C
E
El
le
ec
ct
tr
ri
ic
ca
al
l
C
Ch
ha
ar
ra
ac
ct
te
er
ri
is
st
ti
ic
cs
s
o
of
f
3
3.
.3
3V
V
I
I/
/O
O
C
Ce
el
ll
ls
s
Table 6.3 DC Electrical Characteristics of 3.3V I/O Cells
Limits
SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNIT
VIL Input Low Voltage CMOS 0.9 V
VIH Input Hight Voltage CMOS 2.3 V
VOL Output low voltage IOL=4mA, 16mA 0.4 V
VOH Output high voltage IOH=4mA,16mA 2.4 V
RIInput Pull-up/down
resistance Vil=0V or
Vih=VCC 10k/20
0k KΩ
AU9226 USB KVM Controller V1.01W 11

6
6.
.4
4
C
Cr
ry
ys
st
ta
al
l
O
Os
sc
ci
il
ll
la
at
to
or
r
C
Ci
ir
rc
cu
ui
it
t
S
Se
et
tu
up
p
f
fo
or
r
C
Ch
ha
ar
ra
ac
ct
te
er
ri
iz
za
at
ti
io
on
n
The following setup was used to measure the open loop voltage gain for crystal
oscillator circuits. The feedback resistor serves to bias the circuit at its quiescent
operating point and the AC coupling capacitor, Cs, is much larger than C1 and C2.
Figure 6.1 Crystal Oscillator Circuit Setup for Characterization
6
6.
.5
5
E
ES
SD
D
T
Te
es
st
t
R
Re
es
su
ul
lt
ts
s
Test Description: ESD Testing was performed on a Zapmaster system using the
Human-Body –Model (HBM) and Machine-Model (MM), according to MIL_STD 883
and EIAJ IC_121 respectively.
Human-Body-Model stress devices by sudden application of a high voltage
supplied by a 100 PF capacitor through 1.5 Kohm resistance.
Machine-Model stresses devices by sudden application of a high voltage
supplied by a 200 PF capacitor through very low (0 ohm) resistance
Test circuit & condition
Zap Interval : 1 second
Number of Zaps : 3 positive and 3 negative at room temperature
Critera : I-V Curve Tracing
Table 6.4 ESD Data
Model Model S/S TARGET Results
HBM Vdd, Vss, I/C 15 2000V TBD
MM Vdd, Vss, I/C 15 200V TBD
AU9226 USB KVM Controller V1.01W
12

6
6.
.6
6
L
La
at
tc
ch
h-
-U
Up
p
T
Te
es
st
t
R
Re
es
su
ul
lt
ts
s
Test Description: Latch-Up testing was performed at room ambient using an
IMCS-4600 system which applies a stepped voltage to one pin per device with all
other pins open except Vdd and Vss which were biased to 5 Volts and ground
respectively.
Testing was started at 5.0 V (Positive) or 0 V(Negative), and the DUT was biased for
0.5 seconds.
If neither the PUT current supply nor the device current supply reached the predefined
limit (DUT=0 mA , Icc=100 mA), then the voltage was increased by 0.1 Volts and the
pin was tested again.
This procedure was recommended by the JEDEC JC-40.2 CMOS Logic
standardization committee.
Notes:
1. DUT: Device Under Test.
2. PUT: Pin Under Test.
Icc Measurement
Pin
under
test
+
Vcc
DUT
GND
m
Untested
Output Open
Circuit
Untested
Input Tied
to V supply
Trigger
Source
V Supply
Pin
under
test
1 Source
+
Test Circuit : Positive Input/ output Overvoltage /Overcurrent
AU9226 USB KVM Controller V1.01W 13

Vcc
DUT
GND
Pin
under
test
mA
Untested
Output Open
Circuit
Untested
Input Tied
to V supply
Trigger
Source
V Supply
+
+
Icc Measurement
1 Source
Test Circuit: Negative Input/Output Overvoltage/Overcurrent
Vcc
DUT
GND
mA
Untested
Output Open
Circuit
All Input Tied
to V supply
V Supply
+
Icc Measurement
Supply voltage Test
Figure 6.2 Latch-Up Test Circuits
Model Model Voltage (v)/ Current (mA) S/S Results
+
Voltage - 11.0
11.0 5 TBD
+
Current - 200
200 5 TBD
Vdd-Vxx 9.0 5 TBD
Table 6.5 Latch–Up Data
AU9226 USB KVM Controller V1.01W
14
Table of contents