
AT9322 R2
Multimedia USB Keyboard Hub
Technical Reference Manual
Revision 2.1

TABLE OF CONTENTS i
Table of Contents
1.0 Introduction---------------------------------------------------------------------------------------
1
1.1 Description-----------------------------------------------------------------------------------
1
1.2 Features---------------------------------------------------------------------------------------
1
2.0 Application Block Diagram ------------------------------------------------------------------
3.0 Pin Assignment---------------------------------------------------------------------------------
4.0 System Architecture and Reference Design-------------------------------------------
4.1 AT9322 R2 Block Diagram ---------------------------------------------------------------
4.2 Sample Schematics-------------------------------------------------------------------------
10
4.3 Keyboard Hub EEPROM Sample Value----------------------------------------------
4.4 Sample Key Matrix Layout Table-------------------------------------------------------
16
5.0 Electrical Characteristics--------------------------------------------------------------------
5.1 Absolute Maximum Rating---------------------------------------------------------------
17
5.2 Recommended Operating Conditions--------------------------------------------------
17
5.3 General DC Characteristics--------------------------------------------------------------
18
5.4 DC Electrical Characteristic for 5 volts operation-----------------------------------
18
5.5 DC Electrical Characteristic for 3.3 volts operation--------------------------------
19
5.6 Crystal Oscillator Circuit Setup for Characteristics--------------------------------
19
5.7 USB Transceiver Characteristics--------------------------------------------------------
20
5.8 ESD Test Results----------------------------------------------------------------------------
24
5.9 Latch-Up Test Results---------------------------------------------------------------------
25
6.0 Mechanical Information-----------------------------------------------------------------------
27

INTRODUCTION 1
1.0 Introduction
Description
The AT9322 R2 is an integrated USB keyboard and 2 port hub controller chip. The AT9322
R2 has a built-in default keyboard matrix, so that it can be directly connected to an 18 x 8
keyboard matrix. The keyboard matrix can be customized via an optional external 1024-byte
serial EEPROM. Downstream ports can be used to connect various USB peripheral devices,
such as USB printers, modems, scanners, cameras, mice, and joysticks to the system without
adding external glue logic. It also supports multimedia volume control, CD/DVD Play/Pause,
Stop, Eject, Mute and general purpose shortcut keys such as Internet, email and help.
This single chip integration makes the AT9322 R2 the most cost effective hub/keyboard
solution available in the market.
Features
?? Fully compliant with the Universal Serial Bus Specification, version 1.1
?? USB hub design is compliant with Universal Serial Bus Hub Specification, revision 1.1
?? USB keyboard design is compliant with USB Device Class Definition for Human
Interface Devices (HID), Firmware Specification, version 1.1
?? Single chip integration of USB keyboard, hub, ACPI and multimedia control functions
?? Integrated USB hub supports two bus-powered downstream ports
?? Patent-pending, table-driven SCANTABLE? technology for easy customization to
different keyboard matrix up to 18x8.
?? Support rotary encoder for multimedia volume control
?? Support CD/DVD Play/Pause, Fast Forward, Rewind, Stop, Eject, Mute (up to 24 keys)
?? Additional general purpose keys for internet, email, help…shortcuts, up to 16 keys.
?? Additional 2 general purpose LEDs
?? Support ACPI compliant suspend/shutdown key
?? Built-in 3.3v voltage regulator allows single +5V operating voltage drawing directly from
USB bus. This results in reduced overall system cost.
?? Optional gang-powered control pin for downstream port.
?? Runs at 12Mhz frequency
?? Available in 64-pin LQFP package.

APPLICATION BLOCK DIAGRAM 3
2.0 Application Block Diagram
The AT9322 R2 is a single chip which integrates USB keyboard and hub functionality. The
upstream port is connected to the USB system. The downstream ports can be used for a mouse
and joystick. The multimedia function keys are designed to support volume control, CD/DVD
Play/Pause, Stop, Eject, Mute and general purpose shortcut keys for one key internet, email
and help.

PIN ASSIGNMENT 5
3.0 Pin Assignment
The AT9322 R2 is packed in a 64-pin Quad Flat Package (LQFP). The following figure
shows the signal names for each of the pins on the chip of a LQFP package. The table on the
following page describes each of the pin signals.
SCAN_C2
SCAN_C7
SCAN_C6
SCAN_C5
SCAN_C4
SCAN_C3
SCAN_C1
SCAN_R8
SCAN_R7
SCAN_R6
SCAN_R5
SCAN_R4
SCAN_R3
SCAN_R10
SCAN_R9
SCAN_C8
RSTN
XTAL_1
XTAL_2
GNDAP
VCCAP
USB_DP
USB_DM
USB1_DP
USB1_DM
USB2_DP
MUTEKEYN
SLEEPKEYN
MODEKEYN
DESCSELET2
USB2_DM
SCROLL_LOCK
16
14
15
10
11
12
7
8
9
5
6
2
3
4
1
13
61 60 59 58
57
56 55 54 53 52 51 50 496264 63
DESCSELET0
CAPSLOCK
NUM_LOCK
LED2
LED1
DP1OVCR
DP2PWRUP
DP2OVRCR
GANGPWRN
AIN
GNDK
VCC3K
BIN
DESCSELET1
SCAN_R1
SCAN_R2
33
35
34
39
38
37
42
41
40
44
43
47
46
45
48
36
20 21 22 23 24 25 26 27 28 29 30 31 321917 18
VHV
V33
WAKUPKYN
SHUTDKYN
SCAN_M2
SCAN_M1
SCAN_M0
SCAN_R18
SCAN_R17
SCAN_R16
SCAN_R15
SCAN_R14
SCAN_R13
GNDIO
SCAN_R12
SCAN_R11

PIN ASSIGNMENT 6
Table 3-1. Pin Descriptions
Pin # Pin Name IO Type Driving Capability Description
1 GNDIO GND Ground
2 VHV 5V Power Supply 5V input
3 VCC33 Regulator 3.3V Output
4 WAKUPKYN INPUT, PULL UP ACPI wakeup key
5 SHUTDKYN INPUT, PULL UP ACPI shutdown key
6 SCAN_M2 INPUT,OUTPUT,PULL DOWN 16mA, 50KOhm Row/Scan Line
(dedicated for
mm/shortcut keys)
7 SCAN_M1 INPUT/OUTPUT,PULL DOWN 16mA, 50KOhm Row/Scan Line
(dedicated for
mm/shortcut keys)
8 SCAN_M0 INPUT/OUTPUT,PULL DOWN 16mA, 50KOhm Row/Scan Line
(dedicated for
mm/shortcut keys)
9 SCAN_R18 INPUT/OUTPUT,PULL DOWN 16mA, 50KOhm Row/Scan Line
10 SCAN_R17 INPUT/OUTPUT,PULL DOWN 16mA, 50KOhm Row/Scan Line
11 SCAN_R16 INPUT/OUTPUT,PULL DOWN 16mA, 50KOhm Row/Scan Line
12 SCAN_R15 INPUT/OUTPUT,PULL DOWN 16mA, 50KOhm Row/Scan Line
13 SCAN_R14 INPUT/OUTPUT,PULL DOWN 16mA, 50KOhm Row/Scan Line
14 SCAN_R13 INPUT/OUTPUT,PULL DOWN 16mA, 50KOhm Row/Scan Line
15 SCAN_R12 INPUT/OUTPUT,PULL DOWN 16mA, 50KOhm Row/Scan Line
16 SCAN_R11 INPUT/OUTPUT,PULL DOWN 16mA, 50KOhm Row/Scan Line
17 SCAN_R10 INPUT,PULL UP,PULL DOWN 16mA, 50KOhm Row/Scan Line
18 SCAN_R9
16mA, 50KOhm Row/Scan Line
19 SCAN_C8 INPUT,PULL UP 2.5K Ohm Column line
20 SCAN_C7 INPUT,PULL UP 2.5K Ohm Column line
21 SCAN_C6 INPUT,PULL UP 2.5K Ohm Column line
22 SCAN_C5 INPUT,PULL UP 2.5K Ohm Column line
23 SCAN_C4 INPUT,PULL UP 2.5K Ohm Column line
24 SCAN_C3 INPUT,PULL UP 2.5K Ohm Column line
25 SCAN_C2 INPUT,PULL UP 2.5K Ohm Column line
26 SCAN_C1 INPUT,PULL UP 2.5K Ohm Column line
27 SCAN_R8 INPUT/OUTPUT,PULL DOWN 16mA, 50KOhm Row/Scan Line
28 SCAN_R7 INPUT/OUTPUT,PULL DOWN 16mA, 50KOhm Row/Scan Line
29 SCAN_R6 INPUT/OUTPUT,PULL DOWN 16mA, 50KOhm Row/Scan Line
30 SCAN_R5 INPUT/OUTPUT,PULL DOWN 16mA, 50KOhm Row/Scan Line
31 SCAN_R4 INPUT/OUTPUT,PULL DOWN 16mA, 50KOhm Row/Scan Line
32 SCAN_R3 INPUT/OUTPUT,PULL DOWN 16mA, 50KOhm Row/Scan Line
33 SCAN_R2 INPUT/OUTPUT,PULL DOWN 16mA, 50KOhm Row/Scan Line
34 SCAN_R1 INPUT/OUTPUT,PULL DOWN 16mA, 50KOhm Row/Scan Line
35 BIN INPUT
36 VCC3K Kernel 3.3V Input +3V power supply
37 GNDK Kernel Ground Ground
38 AIN INPUT Rotary encoder input ‘A’
39 GANGPWRN OUTPUT 8mA Port 1 power/Gang power

PIN ASSIGNMENT 7
enable (gang mode)
40 DP2OVRCUR INPUT,PULL UP 50KOhm Port 2 over current –
active
41 DP2PWRUP OUTPUT 8mA Downstream port 2
power enable – low
active
42 DP1OVRCUR INPUT,PULL UP 50KOhm Port 1 over current –
active
43 LED1 OUTPUT 8mA Additional LED 1 –
active – open drain
44 LED2 OUTPUT 8mA Additional LED 2 –
active – open drain
45 NUM_LOCK OUTPUT 16mA Num lock LED – low
active – open drain
46 CAPSLOCK OUTPUT 16mA Cap Lock LED – low
active – open drain
47 DESCSELET0 INPUT
48 DESCSELET1 INPUT
49 DESCSELET2 INPUT
50 MODEKEYN INPUT Fn Key
51 USB2_DM INPUT/OUTPUT 16mA
D52 USB2_DP INPUT/OUTPUT 16mA
D+
53 USB1_DM INPUT/OUTPUT 16mA
D54 USB1_DP INPUT/OUTPUT 16mA USB downst
D+
55 USB_DM INPUT/OUTPUT 16mA USB upstream D56 USB_DP INPUT/OUTPUT 16mA USB upstream D+
57 VCCAP Analog 3.3V Input Analog VCC
58 GNDAP Analog Ground Analog ground)
59 XTAL_2 OUTPUT 12MHz crystal output
60 XTAL_1 INPUT 12MHz Crystal input
61 RSTN INPUT Reset – low active
62 MUTEKEYN INPUT,PULL UP 50KOhm Mute key, low active
63 SLEEPKEYN INPUT,PULL UP 50KOhm ACPI
(Sleep/wakeup/power
down) – low active
64 SCROLL_LOCK OUTPUT 16mA Scroll_lock LED output –

SYSTEM ARCHITECTURE AND REFERENCE DESIGN 9
4.0 System Architecture and
Reference Design
4.1 AT9322 R2 Block Diagram
AT9322 Block Diagram