Alcor AU9510 Product manual

AU9510
USB Smart Card Reader Chip
Technical Reference Manual
Revision 1.0
2000-2002 Alcor Micro Corp.
All Rights Reserved

Copyright Notice
Copyright 1998 - 2001
Alcor Micro Corp.
All Rights Reserved.
Trademark Acknowledgements
The company and product names mentioned in this document may be the trademarks or registered trademarks of their manufacturers.
Disclaimer
Alcor Micro Corp. reserves the right to change this product without notice.
Alcor Micro Corp. makes no warranty for the use of its products and bears no responsibility for any errors that appear in this
document. Specifications are subject to change without notice.
Contact Information:
Web site: http://www.alcormicro.com/
Taiwan
Alcor Micro Corp.
4F-1, No 202, Kang Chien Rd., Nei Hu,
Taipei, Taiwan, R.O.C.
Phone: 886-2-8751-1984
Fax: 886-2-2569-7723
San Jose Office Los Angeles Office
2901 Tasman Drive, suite 206 9400 Seventh St., Bldg. A2
Santa Clara, CA 95054 Rancho Cucamonga, CA 91730
Phone: (408) 845-9300 Phone: (909) 483-9900
Fax: (408) 845-9086 Fax: (909) 944-0464

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
3.0 Pin Assignment ................................................................................................ 5
4.0 System Architecture and Reference Design.................................................. 9
4.1. AU9510 Block Diagram.........................................................................................9
4.2. Sample Schematics.................................................................................................9
5.0 Programming Interface.................................................................................... 12
6.0 Electrical Characteristics ................................................................................ 15
6.1. Absolute Maximum Ratings................................................................................... 15
6.2. Recommended Operating Conditions ....................................................................15
6.3. General DC Characteristics....................................................................................15
6.4. DC Electrical Characteristics for 5 volts operation................................................16
6.5. Crystal Oscillator Circuit Setup for Characterization.............................................17
6.6. USB Transceiver Characteristics………………………………………………….17
6.7. ESD Test Results…………………………………………………………………. 21
6.8. Latch-Up Test Results……………………………………………………………..22
7.0 Mechanical Information ................................................................................... 25

TABLE OF CONTENTS i

INTRODUCTION 1
1.0 Introduction
1.1. Description
The AU9510 is a self-contained single chip USB Smart Card controller chip. It can be used
in a stand-alone USB Smart Card reader or in an embedded USB device in the downstream
port of an USB hub. Its high integration enables the lowest BOM cost of an USB Smart Card
reader. The dedicated hardware smart card block and full speed bulk transfer mechanism
ensures the highest performance.
1.2. Features
• Fully compliant with the Universal Serial Bus Specification, version 1.1.
• Based on ISO7816 implementation
• PC Smart Card industry standard – PC/SC 1.0 compliant
• Supports Microsoft Smart Card for Windows
• Meet Microsoft WHQL USB Smart Card Reader requirements
• Include WDM driver to work on Windows 98 and Windows 2000
• Support T0, T1 protocol and I2C memory card
• Dedicated hardware block implementation for IC and memory card protocols for highest
performance
• Implemented as an USB full speed device with bulk transfer endpoint
• Built-in 3.3v regulator for single 5v operation
• Built-in PLL for USB and Smart Card clocks requirement
• Support EEPROM for USB descriptors customization, including VID/PID
• Available in 28-SSOP

INTRODUCTION 2
This Page Intentionally Left Blank

APPLICATION BLOCK DIAGRAM 3
2.0 Application Block Diagram
The AU9510 is a single chip USB smart card controller chip. It can be used in a standalone
USB Smart Card reader or in an embedded USB device in the downstream port of a USB hub.
PC with USB Host Controller
USB Keyboard Hub
USB
Downstre
am Port
Application Programs
Corporate Network
Access
Internet/Intranet Access
Electronic Cash
Credit and Debit
Loyalty
GSM
USB SmartCard Reader
ISO7816
Compliant
Smart Card
Smart Card
Solutions

APPLICATION BLOCK DIAGRAM 4
This Page Intentionally Left Blank

PIN ASSIGNMENT 5
3.0 Pin Assignment
ALCOR MICRO
AU9510
USB SMARTCARD
28-SSOP
27
26
28
25
24
23
22
21
20
19
18
17
16
15
GNDIO
VCC5IO
XTAL_2
XTAL_1
VCCAP
GNDAP
RSTN
TESTEN0
GPIO_4
SCARDDETECTN
GPIO_5
SCARDCLK
SCARDRST
SCARDPWRN
2
3
1
4
5
6
7
8
9
10
11
12
13
14
VCC3V
USB_DM
USB_DP
E2PCLK
E2PDATA
GPIO_0
GPIO_1
GPIO_2
GPIO_3
GPIO_6
SCARDDATA
GPIO_7
GNDK
VCC5K

PIN ASSIGNMENT 6
Table 3-1. Pin Descriptions for the 28-pin SSOP
Pin #
Pin Name
I/O
Description
1 VCC3V O Regulated 3V for DP pullup resistor
2 USB_DM I/O USB Downstream port D-
3 USB_DP I/O USB Downstream port D+
4 E2PCLK I/O I2C Eeprom Clock signal
5 E2PDATA I/O I2C Eeprom Data signal
6 GPIO_0 I/O General purpose IO
7 GPIO_1 I/O General purpose IO
8 GPIO_2 I/O General purpose IO
9 GPIO_3 I/O General purpose IO
10 GPIO_6 I/O General purpose IO
11 SCARDDATA I/O Smart_Card Serial Data
12 GPIO_7 I/O General purpose IO
13 GNDK GND
Kernel
Ground
14 VCC5K 5V VCC
Kernel
+5V power supply

PIN ASSIGNMENT 7
Table 3-1 (continued). Pin Description for the 28-pin SSOP
Pin #
Pin Name
I/O
Description
15 SCARDPWRN O Smart_Card power enable (active low for power
switch)
16 SCARDRST O/Tri Smart_Card Reset
17 SCARDCLK I/O Smart_Card Clock
18 GPIO_5 I/O General purpose IO
19 SCARDDETECTN I Smart_Card Inserted (active low)
20 GPIO_4 I/O General purpose IO
21 TESTEN0 I Testenable
22 RSTN I Hardware reset (active low)
23 GNDAP Analog
Ground
Output
Analog ground
24 VCCAP Analog
Input
Analog VCC
25 XTAL_1 I 12 MHz crystal input
26 XTAL_2 O 12 MHz crystal output
27 VCC5IO 5V VCC
I/O
+5V power supply
28 GNDIO 5V GND
I/O
Ground

PIN ASSIGNMENT 8
This Page Intentionally Left Blank

SYSTEM ARCHITECTURE AND REFERENCE DESIGN
9
4.0 System Architecture and
Reference Design
4.1. AU9510 Block Diagram
Alcor Micro - AU9510 Smart Card Reader Block Diagram
Smart Card
Control
USB
SIE
USB
Upstream
Port
XCVR
USB
FIFO
3.3 V
Voltage
Regulator
3.3 V
Card Eject
Card Insert
EEProm
Interface
Optional
256 Bytes
EEPROM
Processor Smart Card
FIFO
8 K byte
ROM
256 byte
RAM
Card Data
Card Clock
Card Reset
12MHz
XTAL Reset

SYSTEM ARCHITECTURE AND REFERENCE DESIGN 10
4.2. Sample Schematics
Disclaimer: This schematic is for reference only. Alcor
Micro Corp. bears no responsibility for any error that
appear in this document. Specifications are subject to
change without notice.
R5
4.7K
F1
SMDC035
R20 47K
R17 47K
SCARDDATA
C12
0.1UF
SCARDRST
C16 39PF
R22 47K
JP1
SCARD SOCKET
15
26
37
48
109
C11
0.1UF U2
AT24C08
1
2
3
45
6
7
8A0
A1
A2
GNDSDA
SCL
WP
VCC
R19 47K
ALCOR MICRO AU9510 REFERENCE DESING A
AU9510 USB SMARTCARD READER CONTROLLER
A4
11Wednesday , May 23, 2001
Tit le
Size Document Number Rev
Date: Sheet of
R11 150
SCARDCLK
C6
0.1UF
R3 39
C3
10UF
C1
0.1UF
C10
0.1UF
F7
FB
C4
1UF
SCARDETECTN
F5FB
R23 47K
J1
USB-A
1
2
3
4
5
6
VCC
DATA-
DATA+
GND
FGND1
FGND2
SCARDPWRN
VCC
R8
20K
S1
R24 47K
VCC
U1
AU9510
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
VCC3V
USB_DM
USB_DP
E2PCLK
E2PDATA
GPIO_0
GPIO_1
GPIO_2
GPIO_3
GPIO_6
SCARDDATA
GPIO_7
GNDK
VCC5K
SCARDPWRN
SCARDRST
SCARDCLK
GPIO_5
SCARDETECTN
GPIO_4
TESTEN0
RSTN
GNDAP
VCCAP
XTA L _ 1
XTA L _ 2
VCC5IO
GNDIO
F4FB
R15 39
R9 150
R10 150
SCARDDRST
R18 47K
VCC
C13 39PF
C17
0.1UF
C7
0.1UF
SCARDCLK
F2
FB
SCARDETECTN
Q1
9012
R21 47K
VCC
R25
1M
C15
0.1UF
C5
0.1UF
R6 47K
R14 39
F6
FB
SCARDPWRN
Y1
12MHZ
R2 39
VCC
VCC
C2
0.1UF
VCC
SCARDDATA
F3
FB
R1
1.5K
VCC3.3
VCC
R4
100K
VCC
R7
20K
R16 470K
C8
0.1UF

PROGRAMMING INTERFACE
11
5.0 Programming Interface
AU9510 is a dedicated single chip USB SmartCard reader controller. In addition to silicon
itself, Alcor Micro provides WDM drivers on Windows 2000 and Windows 98 platforms to
ensure Microsoft PC/SC compliance. However, for non-Windows application platforms,
software driver developers may wish to access the reader directly. This document describes
Alcor’s vendor unique USB commands. Table 1-1 shows all commands. (For details of the
USB request specification, please refer to USB spec. Chapter 9 )
AU9510 Vendor Unique USB Requests
Warm Reset
bmRequestType bRequest Wvalue wIndex wLength Data
11000000B 00100000B Zero Zero Two ATR Length &
TA2 Present
Device will perform a “warm reset” and return two bytes data. The first byte indicates the
ATR byte length and the second byte returns 00000001B if TA2 present (specific mode of
card operation). Following this command, host can use Endpoint 2 (Bulk Transfer) to get
ATR information. The number of bytes to transfer is indicated by “ATR Length”.
USB request
(bRequest)
Description
20h Warm Reset
21h Cold Reset
22h Power Down
10h Write SmartCard
11h Read SmartCard
30h Host Abort
31h Set Protocol

PROGRAMMING INTERFACE
12
Cold Reset
bmRequestType bRequest WValue wIndex wLength Data
11000000B 00100001
B
Zero Zero Two ATR Length
&
TA2 Present
Device will perform a “cold reset” and return two bytes data. The first byte indicates the ATR
byte length and the second byte returns 00000001B if TA2 present (specific mode of card
operation). Following this command, host can use Endpoint 2 (Bulk Transfer) to get ATR
information. The number of bytes to transfer is indicated by “ATR Length”.
Power Down
bmRequestType bRequest wValue wIndex wLength Data
01000000B 00100010B Zero Zero Zero None
This command will reset the device and deactivate the SmartCard
Write SmartCard
bmRequestType bRequest wValue wIndex wLength Data
01000000B 00010000B Number of
bytes to
transfer
Zero Zero None
Following this command, host can use Endpoint 2 (Bulk Transfer) to transfer data to
SmartCard. The number of bytes to transfer is indicated by “Number of bytes to transfer”.
Read SmartCard
bmRequestType bRequest wValue wIndex wLength Data
01000000B 00010001B Number of
bytes to
transfer
Zero Zero None
Following this command, host can use Endpoint 2 (Bulk Transfer) to transfer data from
SmartCard. The number of bytes to transfer is indicated by “Number of bytes to Process”.

PROGRAMMING INTERFACE
13
Host Abort
bmRequestType bRequest wValue wIndex wLength Data
01000000B 00110000B Zero Zero Zero None
Host timeout, current command will be aborted.
Set Protocol
bmRequestType bRequest wValue wIndex wLength Data
01000000B 00110001B Zero Zero Two Protocol
Type,
FI & DI
Host will send two bytes data. The first byte codes the protocol type (T). The second byte
codes Clock rate conversion factor (FI) over the most significant half byte, and Bit rate
adjustment factor (DI) over the least significant half byte.

PROGRAMMING INTERFACE
14
This Page Intentionally Left Blank

ELECTRICAL CHARACTERISTICS
15
6.0 Electrical Characteristics
6.1. Absolute Maximum Ratings
SYMBOL PARAMETER RATING UNITS
VCC Power Supply -0.3 to 6.0 V
VIN Input Voltage -0.3 to VCC+0.3 V
VOUT Output Voltage -0.3 to VCC+0.3 V
TSTG Storage Temperature -40 to 125 ˚C
6.2. Recommended Operating Conditions
SYMBOL PARAMETER MIN TYP MAX UNITS
VCC Power Supply 4.5 5.0 5.5 V
VIN Input Voltage 0 VCC V
TOPR Operating Temperature -5 85 OC
6.3. General DC Characteristics
SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNITS
IIL Input low current no pull-up or pull-down -1 1 µA
IIH Input high current no pull-up or pull-down -1 1 µA
IOZ Tri-state leakage current -10 10 µA
CIN Input capacitance 4 ρF
COUT Output capacitance 4 ρF
CBID Bi-directional buffer capacitance 4 ρF

ELECTRICAL CHARACTERISTICS
16
6.4. DC Electrical Characteristics for 5 volts operation
( Under Recommended Operating Conditions and VCC=4.5v ~ 5.5v , Tj= -40OC to + 85OC )
SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNITS
VIL Input Low Voltage TTL 0.8 V
VIL Input Low Voltage CMOS 0.3*VCC V
VIL Schmitt input Low Voltage TTL 1.10 V
VIL Schmitt input Low V oltage CMOS 1.84 V
VIH Input High Voltage TTL 2.2 V
VIH Input Hight Voltage CMOS 0.7*VCC V
VIH Schmitt input High Voltage TTL 1.87 V
VIH Schmitt input High Voltage CMOS 3.22 V
VOL Output low voltage IOL=2, 4, 8, 12, 16, 24 mA 0.4 V
VOH Output high voltage IOH=2, 4, 8, 12, 16, 24 mA 3.5 V
RIInput Pull-up/down resistance Vil=0V or Vih=VCC 50
KΩ
6.5. Crystal Oscillator Circuit Setup for Characterization
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.
Table of contents