SONIX SN11113

SN11113 spec
SN11113
USB AUDIO CONTROLLER
Data Sheet
2003 March 5th, Version 1.01
1
SN11113 spec
I. Description
SONiX SN11113 is an USB audio controller. It supports 32KHz, 44.1KHz and 48KHz sampling
rate in digital playback and recording; 44.1KHz and 48 KHz sampling rate in analog audio
playback and recording.
In digital playback mode, it receives audio stream from PC via USB interface and transmits
audio data according to the AES/EBU, IEC60958, S/PDIF consumer interface standards. In
analog playback mode, it supports AC 97 Codec for analog playback.
In digital recording mode, it receives S/PDIF digital audio input and sends back to PC through
USB. Three sampling rates; includes 32 KHz, 44.1 KHz, and 48 KHz; are automatically locked
internally. In analog recording mode, 44.1KHz and 48 KHz sampling rate are supported by
analog audio recording.
Totally one control pipe, two isochronous pipes, and one interrupt pipe are supported by
SN11113.
II. Features
Supports AES/EBU, IEC60958, S/PDIF consumer formats for stereo PCM data
32K, 44.1K and 48KHz sampling rate for 2 channel playback in digital mode
Conveys AC-3 data stream by S/PDIF output
44.1K and 48KHz sampling rate for 2 channel playback in analog mode
Supports digital recording function with 32KHz, 44.1KHz and 48KHz sampling rate
Supports analog recording function with 44.1KHz and 48KHz sampling rate
Supports SCMS (Serial Copy Management System) copy protection
Full-duplex playback/ recording audio stream without sound card in PC
Compatible with Win98 SE/ WinME/ Win2000/ WinXP and MacOS 9.2.1 / MacOS10.1
without additional driver
Plug-and-Play operation with Microsoft OS or MacOS default drivers
Compliant with USB specification v1.1
Compliant with USB audio device class specification v1.0
Supports USB full speed 12Mbits/s serial data transmission
USB bus powered operation
Supports suspend/resume and remote wake-up
6MHz crystal input with on-chip PLL and embedded transceiver for USB
2
SN11113 spec
USB audio function topology has four input terminals, three output terminals, one selector
unit, one mixer unit, and six feature units
Alternate setting0 is a zero-bandwidth setting; used to release the claimed bandwidth on
the bus when this device is inactive
Isochronous transfer uses adaptive, synchronous and asynchronous synchronization
Supports AC’97 component specification v2.1 and v2.2; AC link interface for external
AC97 audio Codec
Compliant with USB HID class specification v1.1; pin control for volume up / down, play
mute, and record mute
Supports two wire series bus interface; slave only interface with transfer speed up to
400Kbps(Fast-mode)
EEPROM interface for customized USB IDs and Codec programming
3.3 V core operation and 5 V tolerant I/O
Available in 64-pin LQFP(10x10 mm)
System on chip solution: low cost and easy implementation without external memory
LED indicator pins for playback and recording mute
Features programmable by jumper pins
III. Ordering information
SN11113F : 64-pin LQFP (10x10x1.4 mm)
Block diagram
PDSW
(TYPE0, TYPE1, TYPE2, TYPE3,
PLLEN, RECO RD)
LEDN
HIDMUTER
SO F
CMPCLK
XIAUD
RS TN
XO AUD
Preamble
Validity
CLK
generator
VO LUP
VO LDN
MUTEP
MUTER
User data bits
M
U
X
Channel status bits
Processor
S/PDIF O UT
Parity
SCL
MCU
interface
-
DR
D+
D-
parallel / serial
DW
EEPROM
interface
Audio data
ACDIN
USB
Memory
FIFO
DPLL
serial / parallel
SDA
CS
SK
Aux data
Transceiver
IV.
AC'97 Controller
XIUSB
S/PDIF
decoder
PLL
XO USB
3
Digital
receiver
BITCLK
ACRS TN
ACSYNC
ACDO UT
S/PDIF IN
SN11113 spec
Pin description
45
40
RECORD
NC
RVSS
35
BITCLK
VOLUP
NC
ACSYNC
ACDIN
40
VSS
VDD
XVSS2
XOAUD
XIAUD
45
XVDD2
SN11113 pin chart (64-pin LQFP)
RVDD
5.1
RVSS
V.
35
TYPE3
ACRSTN
CMPCLK
NC
50
VOLDN
30
NC
ACDOUT
CS
MUTEP
RVDD
PLLEN
SK
VSS
SPDIFO
55
USB audio controller
SN11113
VDD
TAVSS
25
DW
DR
USBDM
VSS
USBDP
VDD
TAVDD
XVSS1
60
AVSS
20
XOUSB
AVDD
XIUSB
HIDMUTER
XVDD1
TYPE0
MUTER
5.2
pin assignment and description (64-pin LQFP)
Pin No. Pin Name
Pin Type
Description
1
2
3
I, ST
Product type setting pin1
TYPE1
NC
NC
4
SPDIFI
LEDN
RVSS
SCL
SDA
15
RVDD
NC
VSS
VDD
SOF
10
PDSW
RSTN
TYPE2
NC
5
NC
TYPE1
1
SN11113 spec
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
TYPE2
RSTN
PDSW
SOF
VDD
VSS
NC
RVDD
SDA
SCL
RVSS
LEDN
SPDIFI
MUTER
XVDD1
XIUSB
XOUSB
XVSS1
VDD
VSS
DR
I, ST
I, ST, PU
O, 4mA, SR
O, 4mA, SR
P
P
Product type setting pin2
P
I/O, 4mA, SR
I, ST
P
O, 8mA, SR
I, ST
I, ST
P
I
O
P
P
P
I, ST
Power pin for pad
System reset pin, pull low to reset
Power down switch control -- 0: normal mode, 1: power down mode
USB SOF (Start of Frame) pin provides 1KHz signal
Power pin
Power pin
IIC data pin for external MCU control
IIC clock pin for external MCU control
Power pin for pad
LED indicator pin, output low after power on reset, toggle during operation
Input pin for SPDIF signal
Recording mute, edge trigger with 64ms de-bouncing circuit
Power pin for USB external crystal
6 MHz clock osc pin for USB PLL
6 MHz clock osc pin for USB PLL
Power pin for USB external crystal
Power pin
Power pin
EEPROM data input
Fixing this pin to H or L sets USB vendor ID to SONiX USB vendor ID (hex
0C45); PU or PD is used for different product ID
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
DW
SPDIFO
SK
RVDD
CS
NC
NC
ACRSTN
RECORD
NC
RVSS
BITCLK
VOLUP
ACSYNC
NC
ACDIN
VSS
VDD
XVSS2
XOAUD
XIAUD
XVDD2
RVSS
RVDD
TYPE3
O, 4mA, SR
O, 8mA, SR
O, 4mA, SR
P
O, 4mA, SR
EEPROM data output
O, 4mA, SR
I, ST
AC’97 Codec reset
P
O, 8mA, SR
I, ST
O, 4mA, SR
Power pin for pad
I, ST
P
P
P
O
I, ST
P
P
P
I, ST
AC’97 Codec serial data input
SPDIF data output
EEPROM clock pin
Power pin for pad
EEPROM chip select
Recording function enable (=1)
AC’97 serial data clock
Volume up control, edge trigger with 64ms de-bouncing circuit
AC’97 Codec sync (48 kHz) signal
Power pin
Power pin
Power pin for external crystal
12.288 MHz Crystal output
12.288 MHz Crystal input / connected to PLL VCO output
Power pin for external crystal
Power pin for pad
Power pin for pad
Product type setting pin3
5
SN11113 spec
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
CMPCLK
VOLDN
ACDOUT
MUTEP
PLLEN
VSS
VDD
TAVSS
USBDM
USBDP
TAVDD
AVSS
AVDD
HIDMUTER
TYPE0
O, 4mA, SR
I, ST
O, 4mA, SR
I, ST
I, ST
P
P
P
I/O
I/O
P
P
P
O, 8mA, SR
I, ST
PLL comparator input
Volume down control, edge trigger with 64ms de-bouncing circuit
AC’97 Codec serial data
Playback mute control pin, edge trigger with 64ms de-bouncing circuit
Use PLL (=1)
or Crystal at XIAUD pin
Power pin
Power pin
Power pin for USB transceiver
USB data minus
USB data plus
Power pin for USB transceiver
Power pin for PLL
Power pin for PLL
Playback mute led indicator
Product type setting pin0
** All input pin are 5 volt tolerance, TTL level and Schmitt trigger
All output pins are slew rate control
I – input pin , O – output pin, P – power pin, ST – Schmitt trigger, SR – slew rate control,
PU/PD – pull up or pull down
6
SN11113 spec
VI.
6.1
Operating rating and electrical characteristics
Absolute maximum rating
symbol
Parameter
value
unit
Dvmin
min digital supply voltage
DGND – 0.3
V
Dvmax
max digital supply voltage
DGND + 4.6
V
Avmin
min analog supply voltage
AGND – 0.3
V
Avmax
max analog supply voltage
AGND + 4.6
V
Dvinout
voltage on any digital input or output
pin
voltage on any analog input or output
pin
storage temperature range
DGND –0.3 to 5.5
V
AGND –0.3 to Avdd + 0.3
V
-40 to +125
0
5000
V
ESD (MM)
ESD human body mode
C=100pF, R=1.5KΩ
ESD machine mode
200
V
Ioff
Leakage current
10
uA
Ilatch
minimum latch up current
100
mA
Avinout
Tstg
ESD (HBM)
6.2
C
Operation conditions
symbol
Parameter
value
unit
DVdd
digital supply voltage
+3 to +3.6
V
Avdd
analog supply voltage
+3 to +3.6
V
TA
operating ambient temperature range
0 to 70
0
0 to 115
0
TJ
operating junction temperature range
C
C
6.3 DC electrical characteristics
symbol
parameter
test condition
Value
unit
VDI
differential input sensitivity
| (D+) – (D-) |
0.2 (min)
V
VCM
differential common mode range
Included VDI
range
0.8 (min)
2.5 (max)
V
VSE
single ended receiver threshold
0.8 (min)
2.0 (max)
V
VIH
high level input voltage
2.0 (min)
V
VIL
low level input voltage
0.8 (max)
V
VOH
high level output voltage
IOH = -4 mA
2.3 (min)
V
VOL
low level output voltage
IOL= 4 mA
0.5 (max)
V
IIL
low level input current
VI = 0 V
RSTN pin :
the other pins :
7
- 50.0 (max)
- 3.0 (max)
µA
SN11113 spec
VI = 3.6 V
SPDIFI, XSDIN pins :
the other pins :
3.0 (max) µA
3.0 (max)
IIH
high level input current
IDD
input supply current
20 (max)
mA
Isuspend
supply current in suspend
20 (max)
µA
6.4 AC electrical characteristics
6.4.1
USB transceiver signal (full speed mode)
symbol
parameter
Tr
min
max
unit
transition rise time for DP or DM
4
20
ns
Tf
transition fall time for DP or DM
4
20
ns
Trfm
rise / fall time matching
90
110
%
Vo(crs)
signal crossover voltage
1.3
2.0
V
6.4.2
test condition
(Tr / Tf ) * 100
Operation clocks
symbol
parameter
Value
unit
CLKin
XIAUD/XOAUD crystal value
BITCLK serial data clock
CLKin duty cycle
12.288 (typ)
MHz
50 ± 2
%
XIUSB/XOUSB crystal value
6 (typ)
MHz
USBCLKin duty cycle
50 ± 2
%
USBCLKin
6.4.3 External EEPROM interface
symbol
parameter
Value
unit
Fsk
SK pin clock frequency
200
kHz
6.4.4 AC’97 Audio Codec interface timing
Please refer to AC’97 component specification ver2.1, ver2.2
6.5
System level power consumption reference values
symbol
parameter
Value
unit
Isys_op
USB device operation power consumption
100 (max)
mA
Isys_suspend
USB device suspend power consumption
304 (max)
µA
8
SN11113 spec
VII. Function and control register description
7.1
Controller topology
AC-97 analog / digital playback and recording
IT 1
OT 5
USB OUT
SPDIF OUT
FU D
MU F
FU 9
OT 6
SPK OUT
FU E
IT 2
FU A
MIC IN
IT 3
FU B
SU 8
LINE IN
OT 7
USB IN
IT 4
FU C
SPDIF IN
7.2
7.2.1
Topology setting and button function
Topology setting
(a) Digital function only or analog function only
1. AC’97 D :
only S/PDIF in/out
2. iMAC(44.1K) : only AC’97 analog out, 44.1KHz playback and recording without mixer
3. headset(44.1K & mixer) : only AC’97 analog out, 44.1KHz playback and recording with mixer
4. headset(44.1/48K & mixer) : only AC’97 analog out, 44.1KHz/48KHz playback and recording with mixer
9
SN11113 spec
pin
PD
AC'97 D
iMAC(44.1K)
Headset(44.1K & mixer)
headset(44.1/48K & mixer)
TYPE0
0
0
0
0
TYPE1
0
0
1
1
TYPE2
0
1
0
1
TYPE3
PLLEN
1: bused power (500mA)
1: bused power (500mA) 1: bused power (500mA)
1: bused power (500mA)
0: bused power (100mA)
0: bused power (100mA) 0: bused power (100mA)
0: bused power (100mA)
1: use PLL
1: use PLL
1: use PLL
0: use Crystal
0: use Crystal
0: use Crystal
always use PLL
1: D recording source,
SPDIF(def =SPDIF)
RECORD
only
1: A recording source, only 1: A recording source,
1: A recording source,
MIC (def = MIC)
MIC & LINE(def = MIC) MIC & LINE(def = MIC)
0: none
0: none
0: none
0: none
(romopt, pllen) =
1: fit PC monitor & record
(1,0) : 44.1K play/record rate & Gain ctrl
no HID,
(1,1) : 44.1K play/record rate &
HID
1: fit PC monitor & record
Gain ctrl
MUTER button will mute
monitor CH
0: MUTER button doesn't mute
monitor CH
(romopt, pllen) =
0: fit iMAC monitor &
(0,0) : 48K play rate,
record Gain ctrl
32K/44.1K/48KHz record rate &
HID
(0,1) : 32K/44.1K/48KHz play
rate, 32K/44.1K/48KHz record
rate & HID
0: fit iMAC monitor & record 1: MUTER button will mute
Gain ctrl
monitor CH
MUTER button will mute
monitor CH
ROMOPT
‘ROMOPT’ value is set by ‘DR’ pin when no EEPROM is mounted on the board. Pulling high or
pulling low at DR pin can set ‘ROMOPT’ value to be 1 or 0. When EEPROM is used on the
board, ‘ROMOPT’ is defined by USB product ID bit1.
(b) Digital + analog function
1. AC’97 A+D+REC(A) : Digital and Analog playback,
Analog recording only
2. AC’97 A+D+REC(A+D) : Digital and Analog playback, Digital and Analog recording
3. AC’97 A+D+H+REC(A) : Digital and Analog playback,
Analog recording only,
USB HID function enable
4. AC’97 A+D+H+REC(A+D) : Digital and Analog playback, Digital and Analog recording, USB HID function
enable
PD
pin
AC'97 A+D+REC(A)
AC'97 A+D+REC(A+D)
AC'97 A+D+H+REC(A)
AC'97 A+D+H+REC(A+D)
TYPE0
1
1
1
1
TYPE1
0
0
1
1
TYPE2
0
1
0
1
10
SN11113 spec
TYPE3
PLLEN
RECORD
1: bused power (500mA)
1: bused power (500mA)
1: bused power (500mA)
1: bused power (500mA)
0: bused power (100mA)
0: bused power (100mA)
0: bused power (100mA)
0: bused power (100mA)
1: use PLL
1: use PLL
1: use PLL
1: use PLL
0: use Crystal
0: use Crystal
0: use Crystal
0: use Crystal
1: A recording source,
MIC & LINE (def = MIC)
1: A+D recording sources,
MIC & LINE & SPDIF
(def = MIC)
1: A recording source,
MIC & LINE (def = MIC)
1: A+D recording sources,
MIC & LINE & SPDIF
(def = MIC)
0: none
0: none
0: none
0: none
0: MUTER button doesn't mute 0: MUTER button doesn't mute 0: MUTER button doesn't mute 0: MUTER button doesn't mute
monitor CH
monitor CH
monitor CH
monitor CH
1: MUTER button will mute
monitor CH
1: MUTER button will mute
monitor CH
1: MUTER button will mute
monitor CH
1: MUTER button will mute
monitor CH
ROMOPT
‘ROMOPT’ value is set by ‘DR’ pin when no EEPROM is mounted on the board. Pulling high or
pulling low at DR pin can set ‘ROMOPT’ value to be 1 or 0. When EEPROM is used on the
board, ‘ROMOPT’ is defined by USB product ID bit1.
SN11113 can adopt two type clock sources for internal logic. One is using external PLL and the
other is using external crystal. ‘PLLEN’ pin is used to define clock source. When using external
PLL, it can synchronize to the USB frame rate. If the USB audio device uses PLL as clock
source and enables USB HID function, it can convey AC-3 data stream by vendor specific
software when playing DVD on PC.
‘RECORD’ pin is used to enable recording function. When the USB audio device having
recording function is plugged into PC, there is a default recording source defined above table. If
‘RECORD’ pin is pulled down, then the USB audio device has no recording function.
7.2.2
button function
The SN11113 has four buttons to control playback and recording volume. It supports volume
up, volume down, play mute, and recording mute. Button function is only effective in analog
terminal. 1M pull-up resistors connected to 3.3V are recommended for these pins. It supports
remote wakeup from device. A device in the resume state may respond to pressing button event
by signaling a wakeup to PC via the USB.
11
SN11113 spec
7.2.3
LED indicator
There are two LED pins used to indicate the operation condition. ‘LEDN’ is flashing in a
256ms period during playback and recording. ‘HIDMUTER’ lights up when pressing ‘MUTER’
button to enable recording mute function.
7.3
Playback / recording sample rate under different product configuration
Product
Recording
notes
AC'97 A+D+REC(A),
D : 48KHz ,
AC'97 A+D+REC(A+D), A : 48KHz
AC'97 A+D+H+REC(A),
AC'97 A+D+H+REC(A+D)
Playback
D : 48KHz/ 44.1KHz ,
A : 48KHz/ 44.1KHz
when playing AC3 data stream to
Digital output, mute Analog output
headset(44.1/48K & mixer) 44.1KHz/ 48KHz
44.1KHz/ 48KHz
when playing 44.1KHz , mute
Digital output
iMAC(44.1K),
headset(44.1K & mixer)
44.1KHz
when playing 44.1KHz , mute
Digital output
44.1KHz
44.1KHz
(ROMOPT=1'b1,
PLLEN=1'b1 / 1'b0)
AC'97 D
7.4
44.1KHz
48KHz
(ROMOPT=1'b0 &
PLLEN=1'b0)
32K/ 44.1K/ 48KHz
32K/44.1K/48KHz
(ROMOPT=1'b0 &
PLLEN=1'b1)
32K/ 44.1K/ 48KHz
Audio output
SN11113 supports 16-bit stereo PCM audio data output at 32K, 44.1K and 48KHz sample rate.
The audio data sent from USB is sent to both SPDIF out terminal (digital out) and Speaker out
terminal (analog out). AC’97 Codec can be used at the Speaker out terminal to get analog audio
sound. If the device uses external PLL and enable USB HID function, it can convey AC-3 data
stream to S/PDIF out terminal (digital out).
7.5
Audio input
SN11113 can record 16~24 bits stereo PCM audio data at 32, 44.1 and 48KHz sample rate via
S/PDIF input. It converts incoming audio data format to 16 bits PCM data. In digital recording,
12
SN11113 spec
SN11113 supports SCMS (serial copy management system); if incoming digital audio data has
copyright protection enabled, it will not record this audio data and send silent audio data to PC.
Because the digital audio data has its original data format (16~24bits) and sample rate, sample
rate in recording software on PC should be set as the same rate when user wants to record this
digital audio data. For analog audio data recording, it supports two sampling rate : 44.1KHz and
48KHz.
7.6 EEPROM data storage pattern
EEPROM
address
0
1
2
3
4
5
6
.
.
High byte (MSB to LSB) Low byte (MSB to LSB) Notes
idVendor high byte
idProduct high byte
Control word high byte
Reg address
Reg dataH
Reg address
Reg dataH
Reg address
Reg dataH
idVendor low byte
idProduct low byte
Control word low byte
X
Reg dataL
X
Reg dataL
X
Reg dataL
Refer to the next table
Programming AC’97 reg address
Programming reg data
Programming AC’97 reg address
Programming reg data
Programming AC’97 reg address
Programming reg data
* 16 bit per word at each address
control word (address 02)
15
R
14
R
13
12
11
10
9
8
7
6
5
4
3
2
1
0
cdcreg outsw regcnt3 regcnt2 Regcnt1 regcnt0 Chk7 Chk6 Chk5 Chk4 Chk3 Chk2 Chk1 Chk0
bit 15 – bit 14
R – reserved
bit 13
cdcreg – 0 : programming with EEPROM values
1: programming with SN11113 built-in values
bit 12
outsw – 0 : volume control
Aux. Line Out (ox04)
1 : Volume control Stereo Line Out (0x02)
bit11 – bit 8
regcnt [3:0] – toatl number of programming AC’97 Codec registers
bit 7 – bit 0
Chk [7:0] – EEPROM magic code (Hex AB), used to check EEPROM existence
programming example:
bit 13 = 1,
ignore setting in bit 11 to bit8 , using SN11113 built-in programming values
bit 13 = 0,
regcnt [3:0]
≠0
– using programming values stored in EEPROM
bit 13 = 0,
regcnt [3:0]
=0
– inhibition
13
SN11113 spec
AC’97 Codec registers default values
(1) iMAC mode
Address (HEX)
04
2A
2C
1A
1C
18
32
10
0E
Name
Alt. line output vol.
Ext. audio stat/control
PCM front DAC rate
Record select
Record gain
PCM out volume
PCM LR ADC rate
Line in volume
Mic in volume
Setting value
0000
0001
AC44
0000
0000
0808
AC44
8808
8008
(2) Headset (44.1K & Mixer) mode
Address (HEX)
04
2A
2C
1A
1C
18
32
10
0E
Name
Alt. line output vol.
Ext. audio stat/control
PCM front DAC rate
Record select
Record gain
PCM out volume
PCM LR ADC rate
Line in volume
Mic in volume
Setting value
0000
0001
AC44
0000
0000
0808
AC44
8808
0008
Name
Alt. line output vol.
Ext. audio stat/control
Line in volume
Record select
Record gain
PCM out volume
Mic in volume
Setting value
0000
0001
8808
0000
0000
0808
0008
(3) The other modes
Address (HEX)
04
2A
10
1A
1C
18
0E
EEPROM read sequence:
idVendor (MSB to LSB) idProduct (MSB to LSB) Control word Programming reg address Programming reg data
…
14
SN11113 spec
7.7
SPDIF
SPDIF Channel Status Block Structure –consumer format
bit0
byte0 consumer
default
0
byte1
default
0(W)
byte2
bit2
audio/data copyright
0(W)
1(W)
0(W)
bit3
bit4
0
emphasis
0
category code
0(W)
0(W)
0(W)
source number
default
1
byte3
32KHz
44.1KHz
default
bit1
48KHz
0
0
1
0
0
sampling frequency
1
1
0
0
0
0
0
1
0
bit5
bit6
mode
0
0(W)
0
0
0(W)
L
0(W)
channel number
0
0
1
0
clock accuracy
0
0
0
0
W : These bits can be programmed by vendor specific driver via USB.
15
bit7
0
0
0
reserved
0
0
SN11113 spec
VIII. Application
8.1
Application example
PC or NoteBook
Audio
CD
VCD,
DVD
MD , DAT
Multimedia
amplifier
USB cable
Audio data
stream
AC-3 Decoder
S/PDIF out
… etc.
Line-out
USB
AC'97 Codec
SONiX SN11113
AC link
wav, mp3,
or other
audio AP
Line-in / Microphone in
S/PDIF in
DAT, MD, CD player with
S/PDIF out
8.2
Brief application circuit chart
programmable Jumper pins
LED N,
HIDMUTER
TYPE0, TYPE1, TYPE2,
TYPE3, PLLEN, RECORD
MCU interface
12.288MHz
PC
USB
AC97
CODEC
SN11113
AC link
Line out
Line in
MIC in
push buttons
6 MHz
SOF, CMPCLK, PDSW
EEPROM
S/PDIF OUT
93C46
S/PDIF IN
( VOLUP,
VOLDN,
MUTEP,
MUTER )
* detail application circuit is available by customer request
16
SN11113 spec
IX.
Package Specification
D1
A1
D
A2
33
48
32
49
E
E1
17
64
L1
16
1
e
b
L (0.6)
0
c
64-pin LQFP package
Lead Count
64
Body Size
D
10.00
Stand-off Body Thk
A1
A2
0.10
1.40
E
10.00
D1
12.00
Lead Length
L1
1.00
Lead Width
b
0.24
E1
12.00
Lead Thk Lead Pitch
c
e
0.125
0.50
Unit : mm
17
0
θ(0 ~ 7 )
SN11113 spec
Appendix A
Two wire series bus in SN11113
To provide extension capability, SN11113 contains a two wire series bus circuitry as an interface
to MCU. The two wire series bus serves as a slave device with bit rate up to 400Kbps (fast
mode). MCU can write two bytes to SN11113 with 8-bit register address 8’bxxxxxxx0 and
8’bxxxxxxx1; where ‘x’ means either ‘0’ or ‘1’. MCU can also read one byte from SN11113 by
any register address. The 7-bit slave address of SN11113 is assigned as 7’b0111000.
With ‘HIDEN’ activated, SN11113 will transfer the two bytes to the USB host via an additional
interrupt pipe when any byte is written to it by MCU. Accompany with the two bytes two wire
series bus data, SN11113 will also send one byte of button status. The sequence of the upward
HID report is the button status first (LSB), then register with address 8’bxxxxxx0, then register
with address 8’bxxxxxx1 (MSB). The USB host will keep polling the upward HID report every
32mS. When there is any button pressed or released, or two wire series bus data coming,
SN11113 will transfer the three bytes of HID report to the USB host.
SN11113 can also transfer one byte data from the USB host to its register when ‘HIDEN’ is
active. This is accomplished by a ‘Set Output Report’ HID class request via default control
pipe. MCU can get this downward byte by polling. That is, MCU should read the byte at its
favorite rate.
This document just provides simple description of the two wire series bus. User can get more
detailed explanation from the specification.
SN11113 has one input pin ‘SCL’ where it gets two wire series bus clock from MCU, and one
open-drain output pin ‘SDA’ where it sends or receives serial signal to/from MCU. As shown
below, ‘SDA’ should be stable when ‘SCL’ is high, and can have transition only when ‘SCL’ is
low.
18
SN11113 spec
START and STOP conditions shown below are the exception. Every two wire series bus
transaction begins from a START, and ends with a STOP, or another START (repeated START).
The figure below demonstrates a typical two wire series bus transaction. After every 8 bits sent
by the transmitter, the receiver should send one bit low for positive acknowledgement or one bit
high for negative acknowledgement. After the negative acknowledgement, a STOP or repeated
START should follow. The next figure shows more detailed about acknowledgement bit.
Note that ‘SCL’ is always driven by the master.
19
SN11113 spec
The figure below shows a complete data transfer. After a START, MCU should send 7-bit slave
address (7’b0111000) first, and then the 8th bit denotes a read transfer when it’s high; or a write
transfer when it’s low. The first acknowledgement is always a duty of SN11113.
In the write transfer, MCU keep acting as the master and the transfer direction is not changed.
The following figure gives an example of one byte write transfer.
SN11113 regards the first DATA byte as the register address. The second DATA byte is the
content that MCU would like to write at the register address. If there is the third DATA byte,
SN11113 will record this byte to the other register address. Note that the register address is
auto-increment.
The figure below shows an example of two bytes read transfer. Because SN11113 has only one
byte register to be read, the second DATA byte will be the same as the first one.
20
SN11113 spec
Please note that the USB host try to get new HID data every 32mS. It’s quite slow. If the
continuous two wire series bus write transfers are too close in time, the former transfer may have
no effect.
21
SN11113 spec
SONiX Technology Co., Ltd
Headquarters:
9F, No. 8 Lane 32, Hsien Chen 5th St. Chupei City, Hsinchu, Taiwan R.O.C.
TEL:886-3-5510520
FAX:886-3-5510523
http://www.sonix.com.tw
Taipei Office:
15F-3, No. 171, Song Ted Road, Taipei, Taiwan R.O.C.
TEL:886-2-27591980
FAX:886-2-27598180
HongKong Office:
Flat 3 9F Energy Plaza 92 Granville Road, Tsimshatsui East Kowloon
TEL:002-852-27238086
FAX:002-852-27239179
E-mail:[email protected]
22