EMC EKA8566A

eKA8566A
USB Audio Controller
Product
Specification
DOC. VERSION 0.1
ELAN MICROELECTRONICS CORP.
October 2006
Trademark Acknowledgments:
IBM is a registered trademark and PS/2 is a trademark of IBM.
Windows is a trademark of Microsoft Corporation.
ELAN and ELAN logo
are trademarks of ELAN Microelectronics Corporation.
Copyright © 2006 by ELAN Microelectronics Corporation
All Rights Reserved
Printed in Taiwan
The contents of this specification are subject to change without further notice. ELAN Microelectronics assumes no
responsibility concerning the accuracy, adequacy, or completeness of this specification. ELAN Microelectronics
makes no commitment to update, or to keep current the information and material contained in this specification.
Such information and material may change to conform to each confirmed order.
In no event shall ELAN Microelectronics be made responsible for any claims attributed to errors, omissions, or
other inaccuracies in the information or material contained in this specification. ELAN Microelectronics shall not
be liable for direct, indirect, special incidental, or consequential damages arising from the use of such information
or material.
The software (if any) described in this specification is furnished under a license or nondisclosure agreement, and
may be used or copied only in accordance with the terms of such agreement.
ELAN Microelectronics products are not intended for use in life support appliances, devices, or systems. Use of
ELAN Microelectronics product in such applications is not supported and is prohibited.
NO PART OF THIS SPECIFICATION MAY BE REPRODUCED OR TRANSMITTED IN ANY FORM OR BY
ANY MEANS WITHOUT THE EXPRESSED WRITTEN PERMISSION OF ELAN MICROELECTRONICS.
ELAN MICROELECTRONICS CORPORATION
Headquarters:
Hong Kong:
USA:
No. 12, Innovation Road 1
Hsinchu Science Park
Hsinchu, Taiwan 30077
Tel: +886 3 563-9977
Fax: +886 3 563-9966
http://www.emc.com.tw
Elan (HK) Microelectronics
Corporation, Ltd.
Flat A, 19F., World Tech Centre
95 How Ming Street, Kwun Tong
Kowloon , Hong Kong
Tel: +852 2723-3376
Fax: +852 2723-7780
[email protected]
Elan Information
Technology Group (U.S.A.)
Europe:
Shenzhen:
Shanghai:
Elan Microelectronics Corp.
(Europe)
Elan Microelectronics
Shenzhen, Ltd.
Elan Microelectronics
Shanghai, Ltd.
Siewerdtstrasse 105
8050 Zurich, Switzerland
Tel: +41 43 299-4060
Fax: +41 43 299-4079
http://www.elan-europe.com
SSMEC Bldg., 3F, Gaoxin S. Ave.
Shenzhen Hi-Tech Industrial Park
Shenzhen, Guandong, China
Tel: +86 755 2601-0565
Fax: +86 755 2601-0500
23/Bldg. #115 Lane 572, Bibo Road
Zhangjiang Hi-Tech Park
Shanghai, China
Tel: +86 21 5080-3866
Fax: +86 21 5080-4600
1821 Saratoga Ave., Suite 250
Saratoga, CA 95070
U.S.A.
Tel: +1 408 366-8225
Fax: +1 408 366-8220
Contents
Contents
1
2
3
4
5
6
7
8
9
General Description ................................................................................................ 1
Features ................................................................................................................... 1
Applications............................................................................................................. 2
Block Diagram ......................................................................................................... 2
Pin Configuration .................................................................................................... 3
Pin Assignment ....................................................................................................... 4
Function Description .............................................................................................. 6
Absolute Maximum Rating ..................................................................................... 6
Electrical Characteristic.......................................................................................... 7
9.1
10
11
DC Electrical Characteristic .............................................................................. 7
9.2 Analog Electrical Characteristic ........................................................................ 8
Application Circuit .................................................................................................. 9
PSTN+Skype Protocol........................................................................................... 10
11.1 Pin Assignment for Handshaking between eKA8566A and CID ...................... 10
11.2 Handshaking Flow Chart ................................................................................ 11
11.2.1 CID Request to Read Command/Data ..............................................................11
11.2.2 CID Request to Send Command/Data ............................................................. 12
11.3 Command Protocol ......................................................................................... 13
11.3.1 Reset CID ......................................................................................................... 13
11.3.2 Reset EKA8566A.............................................................................................. 13
11.3.3 Key Scan .......................................................................................................... 14
11.3.4 Skype Phone On............................................................................................... 16
11.3.5 Skype Phone Off............................................................................................... 17
11.3.6 PSTN Voice Recording On ............................................................................... 17
11.3.7 PSTN Voice Recording Off ............................................................................... 18
11.3.8 Skype ID ........................................................................................................... 18
11.3.9 PSTN ID............................................................................................................ 21
11.3.10 Download Phone Book ..................................................................................... 23
11.3.11 Dial Skype Phone ............................................................................................. 28
11.3.12 Download Vendor Data from PC to CID ........................................................... 30
11.3.13 Upload Vendor Data from CID to PC................................................................ 31
12
13
I2S Interface Signal................................................................................................ 32
Package ................................................................................................................. 33
Product Specification (V0.1) 10.23.2006
• iii
Contents
Specification Revision History
Doc. Version
0.1
iv •
Revision Description
Initial Preliminary Version
Date
2006/10/23
Product Specification (V0.1) 10.23.2006
eKA8566A
USB Audio Controller
1
General Description
The eKA8566A is a USB digital audio controller with audio data processing that
supports 16-bit 2-channel format at 48kHz, 44.1kHz, 32kHz or 8kHz sampling rate.
2
The device has an integrated USB transceiver, USB core, MCU, DAC, ADC, and I S
Input/Output. It can handle a high-level USB protocol, and manages user interface via
general I/O pins.
2
Features
„
USB Specification v1.1 Compliant
„
USB Audio and Human Interface Device (HID) Class v1.1 Compliant
„
Supports 12 Mbits/sec Full Speed Serial Data Transmission
„
Supports 48kHz, 44.1kHz, 32kHz, 8kHz sampling rate
„
Single oscillator: 6MHz
„
Audio buffer size: 192×16 bits × 2
„
Total of four Endpoints: Endpoint 0 for control transfer, Endpoint 1 for audio
streaming out, Endpoint 2 for streaming in , Endpoint 3 for HID
„
Supports stereo/mono playback
„
Built-in 2-channel D/A Converter with 10-bit resolution
„
Built-in 1-channel A/D converter with 10-bit resolution
„
Alternative settings supported by the audio streaming-out interface:
ALT-0: (default setting) zero isochronous bandwidth
ALT-1: 16-bit PCM 2 channel
„
Alternative settings supported by the audio streaming-in interface:
ALT-0: (default setting) zero isochronous bandwidth
ALT-1: 16-bit PCM stereo
„
2K×13 on-chip program ROM
„
32 bytes of general purpose RAM (R20~R3F)
„
RC Oscillator with internal RC
„
5 level stack for subroutine nesting
„
Total of 12 I/O pins (Port 50 ~ Port 57, Port 60~Port 63)
„
Supports buzzer/LED output pin
„
Port 5 and Port 6 with pull-up resistors
„
Wake-up pin in Port 5 and Port 6
„
MCU runs at 6 MHz frequency
„
Package: 48-pin LQFP
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
•1
eKA8566A
USB Audio Controller
3
Applications
„ Skype + PSTN (Public Switched Telephone Network)
4
Block Diagram
USB Bus
Transceiver
48MHz
UDC
6MHz
PLL
Arbiter
Audio RAM
Memory
Manage Unit
MCU
To Speaker
DAC
From Microphone
ADC
2•
AMP
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
eKA8566A
USB Audio Controller
MCLK
MCLKE
FS_SEL1
FS_SEL0
DGND1
DM
DP
DGND2
VPHY
VBUS
AGND1
F_LOUT
Pin Configuration
48
47
46
45
44
43
42
41
40
39
38
37
BCLK
1
36
VDA1
LRCLK
2
35
VDA2
SDATA
3
34
F_ROUT
I_BCLK
4
33
ALC
I_LRCLK
5
32
AMPO
I_SDATA
6
31
OPNF
30
AGND2
eKA8566A
LQFP-48
P54
10
27
VMIC
P53
11
26
VA
P52
12
25
AGND3
14
15
16
17
18
19
20
21
22
TEST
13
23
24
VAD
MIC_IN
PLLC
28
OSCI
9
OSCO
P55
RECORD_SEL
VREF
P60
29
P61
8
P62
P56
P63
7
P50
P57
P51
5
Fig. 5-1 48 Pin Configuration of EKA8566A LQFP Type
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
•3
eKA8566A
USB Audio Controller
6
Pin Assignment
Symbol
Pin No.
I/O
Function
2
BCLK
1
O
BCLK for I S interface
LRCLK
2
O
LRCLK for I S interface
SDATA
3
O
I S interface for FL, FR output
I_BCLK
4
I
BCLK for I S interface
I_LRCLK
5
I
LRCLK for I S interface
I_SDATA
6
I
I S interface for FL, FR input
P57
7
O
AP control output pin
P56, P50
8~14
O
Reference PSTN + Skype Protocol
P63~P61
15~17
I/O
Port 6 is a 4-bit bidirectional I/O port. They can be pulled-high
internally by firmware control.
18
O
Reference PSTN + Skype Protocol
P60
2
2
2
2
2
Record select pin.
2
RECORD_SEL
19
I
1 : I S record
0 : ADC record
An internal pull-low resistor is connected to DGND.
OSCO
20
O
Crystal output
OSCI
21
I
Crystal input
Test mode select pin
Test
22
I
Test = 0, enter normal mode
Test = 1, enter test mode
An internal pull-low resistor is connected to DGND.
PLLC
23
I
VAD
24
PWR
AGND3
25
−
A/D and PLL ground pin
VA
26
PWR
Analog power supply pin
VMIC
27
O
Power supply for external MIC
MIC_IN
28
I
Microphone analog input pin
Vref
29
O
Bandgap reference output
AGND2
30
−
MIC ground pin
4•
External capacitor for PLL
ADC analog power supply pin
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
eKA8566A
USB Audio Controller
Symbol
Pin No.
I/O
Function
OPNF
31
I
Non-inverting type amplifier. Normally, a feedback resistor
connects from AMPO to OPNF and a gain resistor connects to
MIC.
AMPO
32
O
Gain amplifier output and negative feedback terminal for MIC
ALC
33
I
Automatic Level Control adjustment pin for MIC
F_ROUT
34
O
Front right channel analog audio output pin
VDA2
35
PWR
DAC analog power supply Pin 2
VDA1
36
PWR
DAC analog power supply Pin 1
F_LOUT
37
O
AGND1
38
PWR
2-channel D/A ground pin
VBUS
39
PWR
USB bus power supply pin
VPHY
40
PWR
PHY and PLL power supply pin
DGND2
41
−
DP
42
I/O
USB plus data line interface
DM
43
I/O
USB minus data line interface
DGND1
44
PWR
Front left channel analog audio output pin
PHY ground pin
Digital ground pin
2
I S’s Sample Frequency
FS_SEL0
FS_SEL1
45,46
I
Sample Frequency
MCLK
00
32kHz
8.192 MHz
01
8kHz
2.048 MHz
10
44.1kHz
11.2896 MHz
11
48kHz
12.288 MHz
Internal pull-high resistors are connected to VD.
External MCLK enable pin.
MCLKE
47
I
0 : use external MCLK and MCLK pin is input pin
1 : use internal MCLK and MCLK pin is output pin
An internal pull-high resistor is connected to VD.
MCLK
48
I/O
Crystal oscillator I/O pin
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
•5
eKA8566A
USB Audio Controller
7
Function Description
The eKA8566A is a USB Audio Controller that transmits/receives audio data stream to /
from the host through its Audio Streaming interface. The Audio Data Format supports
16-bit, 2-channel, and 48kHz, 44.1kHz, 32kHz, 8kHz PCM. It has three interfaces.
Interface 1 supports four sampling frequencies. The sampling rate is changed by
FS_SEL0 and FS_SEL1. For Interface 2, this device transmits data at a rate that is
locked to frame timing. When user uses the recording format (ex. 8kHz) to record
speech other than 48kHz stereo format, the application software will transform 48kHz
data to 8kHz data. Interface 3 is HID pipe which is used to read user data.
The EKA8566A defines a PSTN + Skype protocol to communicate with an external
MCU. The device can use the protocol to by pass USB vendor data to external MCU or
read data from external MCU to USB host.
8
Absolute Maximum Rating
Symbol
Min
Max
Unit
0
70
ºC
Storage temperature
-65
150
ºC
Input voltage
-0.5
6.0
V
Output voltage
-0.5
6.0
V
Temperature under bias
6•
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
eKA8566A
USB Audio Controller
9
Electrical Characteristic
9.1 DC Electrical Characteristic
Ta = 0°C~70°C, VBus = 5V, DGND = 0V
Symbol
Parameter
Condition
Typ
Max
Unit
−
−
±1
µA
2.0
−
−
V
−
0.8
V
IIL
Input Leakage Current
VIH
Input High Voltage
−
VIL
Input Low Voltage
−
VIHX
Clock Input High Voltage
OSCI
2.5
−
−
V
VILX
Clock Input Low Voltage
OSCI
−
−
1.0
V
VOH1
Output High Voltage (Port 5, Port 6)
IOH = -10.0mA
2.4
−
−
V
VOH2
Output High Voltage
2
(I S Interface Pin)
IOH = -6.67mA
2.4
−
−
V
VOL1
Output Low Voltage (Port 5, Port 6)
(P5 : Normal Mode)
IOL = 10.0mA
−
−
0.4
V
Output Low Voltage
IOL = 10.0mA
(P5 : LED driver Mode)
VBus = 5 V
-10%
1.3
+10%
V
VOL3
Output Low Voltage
2
(I S Interface Pin)
IOL = 6.67mA
−
−
0.4
V
IPH
Pull-high Current
(Port 5 and Sel_Vref pin)
Pull-high active, input pin at DGND
-20%
(PH resistor = 25KΩ)
-125
+20%
µA
IPL
Pull-low Current (Test pin)
Test pin at VBus
(PL resistor = 25KΩ)
-20%
125
+20%
µA
ISB1
Power Down Current
All input and I/O pin at VBus,
output pin floating, WDT disabled
−
−
50
µA
ISB2
Power Down Current
All input and I/O pin at VBus,
output pin floating, WDT enabled
−
−
100
µA
ICC
Operating Supply Current
Fosc= 6.0 MHz , output pin floating
−
−
10
mA
VOL2
VIN = VBus, DGND
Min
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
•7
eKA8566A
USB Audio Controller
9.2 Analog Electrical Characteristic
Parameter
Condition
Min
Typ
Max
Unit
ADC Resolution
−
−
10
−
Bits
ADC Sampling Frequency
−
−
48
−
kHz
Internal High Reference Voltage for ADC
−
−
2.55
−
V
Internal Low Reference Voltage for ADC
−
−
0.75
−
V
−
19.5
20
20.5
dB
Voltage Amplifier Gain
−
49
50
51
dB
Output Voltage Swing
−
−
1.6
−
Vp-p
Output Voltage
−
0.85
−
2.45
V
MIC input = 7.5mV
-40
−
−
36
40
44
dB
Pass-Band Ripple
−
−
−
0.5
dB
Pass-Band Cutoff Frequency
−
−
4
−
kHz
Stop-Band Attenuation @ 24kHz
−
70
−
−
dB
Stop-Band Attenuation @ 48kHz
−
90
−
−
dB
DAC Resolution
−
−
10
−
Bits
DAC Sampling Frequency
−
−
48
−
kHz
Reference Voltage (Vref)
−
1.45
1.65
1.85
V
Minimum Analog Output Voltage
−
0.45
0.65
0.85
V
Maximum Analog Output Voltage
−
2.45
2.65
2.85
V
VDA=3.3V
-5%
2.0
+5%
V
Analog Output Impedance at Each Output Pin
−
−
−
200
Ω
Analog Output Capacitance at Each Output
Pin
−
−
−
20
pF
External Load Impedance
−
−
32
−
Ω
Volume Control Step
−
−
16
−
Step
ADC
Pre-Amplifier Spec.
Pre-Amplifier Voltage Gain
Gain Amplifier Spec.
ALC Circuit Spec.
ALC Detection Level
ALC Operating Range
dBm
LPF Spec
DAC
Full Scale Voltage Range
8•
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
eKA8566A
USB Audio Controller
10 Application Circuit
Fig. 10-1 EKA8566A 48-pin Application Circuit
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
•9
eKA8566A
USB Audio Controller
11 PSTN+Skype Protocol
11.1 Pin Assignment for Handshaking between eKA8566A and
CID
Symbol
I/O
DATA3~0
I/O
Data bus
−
CLK
O
Clock pin
−
DIR
O
CRS
I
CID_PWR
I
Function
Note
DIR = 0 : EKA8566A writes data to CID
DIR = 1 : EKA8566A reads data from CID
a.
When EKA8566A sends command/data to
CID, CRS is used to indicate if CID receives
the command/data. CRS is asserted after
CLK is asserted, CRS is de-asserted after
CLK is de-asserted. If CRS is not asserted,
then indicate that CID does not receive
command/data.
b.
When CID requests to send command/data
to EKA8566A, CRS will be asserted. CLK is
asserted after CRS is asserted, CLK is
de-asserted after CRS is de-asserted. If
CLK is not asserted, then indicate that the
EKA8566A does not receive
command/data.
CID_PWR=0: CID is in power down
CID_PWR=1: CID is in power on
CID must not drive a
Data bus, when DIR
is in low state.
−
−
Note: I – signal is from CID to eKA8566A.
O – signal is from eKA8566A to CID.
10 •
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
eKA8566A
USB Audio Controller
11.2 Handshaking Flow Chart
11.2.1 CID Request to Read Command/Data
Start 1
A
Ckeck
CLK = 1 ?
CID Request to Read
command/data
No
Yes
Ckeck
CLK = 1 ?
No
Start 2
Set CRS = 1 & Read
command/data from
DATA Bus
Yes
Set CRS = 1
Ckeck
CLK = 0 ?
No
Yes
Ckeck
CLK = 0 ?
No
Set CRS = 0
Yes
Set CRS = 0
Is there data
for Reading?
Yes
A
No
A
Release DATA bus
END

Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
• 11
eKA8566A
USB Audio Controller
11.2.2 CID Request to Send Command/Data
Start 2
B
Send command/data to
DATA Bus
CID Request to Send
command/data
Ckeck
CLK = 0 ?
Set CRS = 1
No
Start 1
Yes
Set CRS = 1
Ckeck
CLK = 1 ?
No
Yes
Ckeck
CLK = 1 ?
No
Set CRS = 0
Yes
Set CRS = 0
Ckeck
CLK = 0 ?
No
Yes
Ckeck
CLK = 0 ?
No
Is there data for
Sending?
Yes
B
Yes
B
Release DATA bus
END
12 •
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
eKA8566A
USB Audio Controller
11.3 Command Protocol
Command List
Command
0x0
0x1
0x2
0x3
0x4
0x5
0x6
0x7
0x8
0x9
0xA
0xB
0xC
0xD
0xE
0xF
From EKA8566A to CID
Reset CID
−
Skype Phone on
Skype Phone off
−
−
Skype ID
−
Download Phone book
−
Vendor data from EKA8566A to CID
Vendor data from EKA8566A to CID
Vendor data from EKA8566A to CID
Vendor data from EKA8566A to CID
Vendor data from EKA8566A to CID
Vendor data from EKA8566A to CID
From CID to EKA8566A
Reset EKA8566A
Key scan
−
−
PSTN voice recording on
PSTN voice recording off
−
PSTN ID
−
Dial Skype Phone
Vendor data from CID to EKA8566A
Vendor data from CID to EKA8566A
Vendor data from CID to EKA8566A
Vendor data from CID to EKA8566A
Vendor data from CID to EKA8566A
Vendor data from CID to EKA8566A
11.3.1 Reset CID
Format: cmd (0x0)
Description: EKA8566A reset CID
Timing:
CLK
DATA
CMD (0x0)
DIR
CRS
11.3.2 Reset EKA8566A
Format: cmd (0x0)
Description: CID reset EKA8566A
Timing:
CLK
DATA
CMD (0x0)
0x0
0x0
DIR
CRS
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
• 13
eKA8566A
USB Audio Controller
11.3.3 Key Scan
Format: cmd (0x1) + data (1 byte)
a. Button Pressed Command: cmd (0x1) + Key Code (0~254)
b. Button Released Command: cmd (0x1) + 0xF + 0xF
Description:
a. CID send the key scanned to EKA8566A
b. MSB significant nibble is sent first.
Timing:
1. Button Pressed Command (Key code=0~254)
CLK
DATA
CMD(0x1)
Key code
(MSB)
Key code
(LSB)
0xF
0xF
DIR
CRS
2. Button Released Command (Key code=255)
CLK
DATA
CMD(0x1)
DIR
CRS
14 •
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
eKA8566A
USB Audio Controller
Key Description:
Function Key
Function Description
Received Calls Record
IN
In idle or dialing state, press this key to search for the historical record of
received calls.
Dialled Number Record
OUT
In idle or dialing state, press this key to search for the historical record of
dialed-out telephone numbers.
Previous Page
Up
1. During dialled-in/out history search, press this key to search record
upward.
2. In other non-search states, this key functions as “Up” key of Skype’s
up/down function keys.
Next Page
Down
1. During dialled-in/out history search, press this key to search record
dwownward.
2. In other non-search states, this key functions as “Down” key of Skype’s
up/down function keys
Clear
1. During dialled-in/out history search, press this key twice to delete the
existing records.
C
2. During dial-out state, press this key to delete the last entered letter or
character.
3. With no letter or character entered, pressing this key will switch the
Skype window label.
Dial Out/Answer Key
Off-hook
1. When Skype window is hidden, press this key to display Skype
windiow.
2. When on-line with called party, pressing this key has no effect.
3. In other states, press this key to send out Skype dialled number.
On-hook Key
On-hook
1. In Idle state, press this key to hide the Skype windiow.
2. In dialling state, pres this key to clear all entered numbers.
3. In other states, press this key to set Skype in on-hook position.
1. In Idle state, press these keys to enter dialing state.
0-9, *, #
2. When on-line with called party, press these keys to send DTMF signal
to Skype.
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
• 15
eKA8566A
USB Audio Controller
Key Table:
Key Code
Key
Key Code
Key
0 (0x00)
Mute
25 (0x19)
Require Phonebook
1 (0x01)
Vol+
26 (0x1A)
Hang-On
2 (0x02)
Vol-
27 (0x1B)
Hang-Off
−
3 (0x03)
4 (0x04)
Up
−
5 (0x05)
−
−
−
−
−
−
6 (0x06)
In
−
−
7 (0x07)
Down
−
−
8 (0x08)
Out
−
−
9 (0x09)
Off Hook (Dial)
−
−
C
−
−
10 (0x0A)
11 (0x0B)
On Hook
−
−
12 (0x0C)
1
−
−
13 (0x0D)
2
−
−
14 (0x0E)
3
−
−
15 (0x0F)
4
−
−
16 (0x10)
5
−
−
17 (0x11)
6
−
−
18 (0x12)
7
−
−
19 (0x13)
8
−
−
20 (0x14)
9
−
−
21 (0x15)
*
−
−
22 (0x16)
0
−
−
23 (0x17)
#
−
−
24 (0x18)
+
255 (0xFF)
Button Release
11.3.4 Skype Phone On
Format: cmd (0x2)
Description: When turning on the Skype phone, the EKA8566A notifies the CID.
Timing:
CLK
DATA
CMD (0x2)
DIR
CRS
16 •
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
eKA8566A
USB Audio Controller
11.3.5 Skype Phone Off
Format: cmd (0x3)
Description: When turning off the Skype phone, the EKA8566A notifies the CID.
Timing:
CLK
CMD (0x3)
DATA
DIR
CRS
11.3.6 PSTN Voice Recording On
Format: cmd (0x4) + voice data
Description:
a. The PC records the 1-byte PSTN voice data, this byte is not the last byte.
b. MSB significant nibble is sent first.
Timing:
CLK
DATA
CMD (0x4)
Voice data
(MSB)
Voice data
(LSB)
DIR
CRS
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
• 17
eKA8566A
USB Audio Controller
11.3.7 PSTN Voice Recording Off
Format: cmd (0x5) + voice data
Description:
a. The PC records 1-byte PSTN voice data and this byte is the last byte.
b. MSB significant nibble sent first.
Timing:
CLK
DATA
CMD (0x5)
Voice data
(MSB)
Voice data
(LSB)
DIR
CRS
11.3.8 Skype ID
Format: cmd (0x6) + byte number of caller name + nibble number of telephone number
+ caller name + telephone number
Description:
a. When Skype phone is ringing, the PC sends the account and telephone number
to the CID for display on LCM.
b. If using Unicode, then two bytes denote one character of account; if using ASCII
code, then one byte denotes one character of account. This is dependent on user’s
choice.
c. 4 bits denote a telephone number digit.
d. MSB significant nibble is sent first.
18 •
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
eKA8566A
USB Audio Controller
Timing:
1) CMD + Data length
byte number of
account
nibble number of
telephone number
CLK
CMD (0x6)
DATA
MSB
nibble
MSB
nibble
LSB nibble
LSB nibble
DIR
CRS
2) Caller Name
A. Skype account coded by Unicode
First character of skype account
CLK
DATA
MSB
nibble
LSB nibble
DIR
CRS
Last character of skype account
CLK
DATA
MSB
nibble
LSB nibble
DIR
CRS
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
• 19
eKA8566A
USB Audio Controller
B. Skype account coded by ASCII code
First character of skype
account
Last character of skype
account
CLK
DATA
CLK
MSB
nibble
LSB nibble
DATA
DIR
DIR
CRS
CRS
MSB
nibble
LSB nibble
3) Phone Number
CLK
...
DATA
...
DIR
CRS
20 •
First digit of telephone
number
Last digit of telephone
number
...
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
eKA8566A
USB Audio Controller
11.3.9 PSTN ID
Format: cmd (0x7) + byte number of PSTN account + byte number of telephone
number + PSTN account + telephone number
Description:
a. When PSTN phone call is ringing, the CID sends the PSTN account and
telephone number to the PC for display on PC.
b. If using Unicode, then two byte denote one character of account; if using ASCII
code, then one denotes one character of account. This is dependent on the choice of
user.
c. 4 bits denote a digit of telephone number.
d. MSB significant nibble sent first.
Timing:
1) CMD + Data length
byte number of
account
nibble number of
telephone number
CLK
CMD (0x7)
DATA
MSB
nibble
LSB nibble
MSB
nibble
LSB nibble
DIR
CRS
2) PSTN account
A. PSTN account coded by Unicode
First character of PSTN account
CLK
DATA
MSB
nibble
LSB nibble
DIR
CRS
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
• 21
eKA8566A
USB Audio Controller
Last character of PSTN account
CLK
DATA
MSB
nibble
LSB nibble
DIR
CRS
B. PSTN account coded by ASCII code
Last character of PSTN
account
First character of PSTN
account
CLK
CLK
DATA
MSB
nibble
MSB
nibble
DATA
LSB nibble
DIR
DIR
CRS
CRS
LSB nibble
3) Telephone number
...
CLK
...
DATA
DIR
CRS
22 •
First digit of telephone
number
Last digit of telephone
number
...
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
eKA8566A
USB Audio Controller
11.3.10 Download Phone Book
Format: The procedure of downloading phone book is as below
a. start command of download phonebook:
cmd (0x8) + 0x0 + 0x0 +0x0 +0x0
b. the process of downloading phonebook:
cmd (0x8) + byte number of account + nibble number of telephone number + name +
telephone number
c. stop command of download phonebook:
cmd (0x8) + 0x0 + 0x0 + 0x0 + 0x1 + 0xA
Description:
a. PC sends Skype phone book to CID.
b. If using Unicode, then two bytes denote one character of account; if using ASCII
codes, then one byte denotes one character of account. This is dependent on user’s
choice.
c. 4 bits denote a digit of telephone number.
d. MSB significant nibble sent first.
Timing:
1) CMD + Data length
byte number of
account
nibble number of
telephone number
CLK
DATA
CMD(0x8)
MSB
nibble
LSB nibble
MSB
nibble
LSB nibble
DIR
CRS
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
• 23
eKA8566A
USB Audio Controller
2) Skype account
A. Skype account coded by Unicode
First character of skype account
CLK
DATA
MSB
nibble
LSB nibble
DIR
CRS
Last character of skype account
CLK
DATA
MSB
nibble
LSB nibble
DIR
CRS
B. Skype account coded by ASCII code
First character of skype
account
CLK
DATA
24 •
Last character of skype
account
CLK
MSB
nibble
LSB nibble
DATA
DIR
DIR
CRS
CRS
MSB
nibble
LSB nibble
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
eKA8566A
USB Audio Controller
3) Telephone number
CLK
...
DATA
...
DIR
First digit of telephone
number
Last digit of telephone
number
...
CRS
Download Phonebook Flow
1) Start command of downloading phonebook
CLK
DATA
CMD (0x8)
0x0
0x0
0x0
0x0
DIR
CRS
2) Download user data
2-1) User name coded by Unicode
CLK
DATA
CMD(0x8)
Byte number of user
name
nibble number of
telephone number
DIR
CRS
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
• 25
eKA8566A
USB Audio Controller
CLK
DATA
MSB
nibble
LSB nibble
First character
(Unicode)
DIR
CRS
CLK
DATA
MSB
nibble
LSB nibble
Last character
(Unicode)
DIR
CRS
CLK
...
DATA
...
DIR
First digit of telephone
number
Last digit of telephone
number
...
CRS
2-2) User name coded by ASCII code
CLK
DATA
CMD(0x8)
Byte number of user
name
nibble number of
telephone number
DIR
CRS
26 •
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
eKA8566A
USB Audio Controller
...
CLK
DATA
MSB
nibble
First character
(ASCII code)
DIR
MSB
nibble
...
LSB nibble
LSB nibble
Last character
(ASCII code)
...
...
CRS
CLK
...
DATA
...
DIR
First digit of telephone
number
Last digit of telephone
number
...
CRS
3) Stop command of download phonebook
CLK
DATA
CMD (0x8)
0x0
0x0
0x0
0x1
0xA
DIR
CRS
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
• 27
eKA8566A
USB Audio Controller
11.3.11 Dial Skype Phone
Format: cmd (0x9) + byte number of account + byte number of telephone number +
account + telephone number
Description:
a. User use the hand set to dial Skype phone
b. If using Unicode, then two byte denote one character of account; if using ASCII
codes, then one byte denotes one character of account.
c. 4 bits denote a digit of telephone number.
d. MSB significant nibble sent first.
Timing:
1) CMD + Data length
byte number of
account
nibble number of
telephone number
CLK
CMD (0x9)
DATA
MSB
nibble
MSB
nibble
LSB nibble
LSB nibble
DIR
CRS
2) Skype account
A. Skype account coded by Unicode
First character of skype account
CLK
DATA
MSB
nibble
LSB nibble
DIR
CRS
28 •
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
eKA8566A
USB Audio Controller
Last character of skype account
CLK
MSB
nibble
DATA
LSB nibble
DIR
CRS
B. Skype account coded by ASCII code
First character of skype
account
CLK
DATA
Last character of skype
account
CLK
MSB
nibble
LSB nibble
DATA
DIR
DIR
CRS
CRS
MSB
nibble
LSB nibble
3) Telephone number
...
CLK
...
DATA
DIR
First digit of telephone
number
CRS
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
Last digit of telephone
number
...
• 29
eKA8566A
USB Audio Controller
11.3.12 Download Vendor Data from PC to CID
Format: cmd (0xA~0xF) + byte number of vendor data + 0x0 (dummy nibble) + 0x0
(dummy nibble) + vendor data
Description:
a. PC downloads vendor data to CID. The meaning of vendor data is dependent on
user.
b. The command 0xA to 0xF is used as download vendor data command
c. Most significant nibble is sent first.
Timing:
1) CMD + Data length
byte number of
vendor data
CLK
DATA
MSB
nibble
cmd(0xA)
LSB nibble
0x0
0x0
DIR
CRS
2) Vendor data
CLK
...
DATA
...
DIR
CRS
30 •
First byte of vendor
data
Last byte of vendor
data
...
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
eKA8566A
USB Audio Controller
11.3.13 Upload Vendor Data from CID to PC
Format: cmd (0xA~0xF) + byte number of vendor data + 0x0 (dummy nibble) + 0x0
(dummy nibble) + 0x0 (dummy nibble) + vendor data
Description:
a. PC uploads vendor data from CID. The meaning of vendor data is dependent on
user.
b. The command 0xA to 0xF is used as upload vendor data command.
c. Most significant nibble is sent first.
Timing:
1) CMD + Data length
byte number of
vendor data
CLK
CMD
(0xB)
DATA
MSB
nibble
LSB nibble
0x0
0x0
DIR
CRS
2) Vendor data
...
CLK
...
DATA
DIR
First byte of vendor
data
CRS
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
First byte of vendor
data
...
• 31
eKA8566A
USB Audio Controller
2
12 I S Interface Signal
LRCLK
Left Channel
0
Right Channel
31
0
31
BCLK
SDATA
MSB -1
-2
-3
+3 +2 +1 LSB
MSB -1
-2
-3
+3 +2 +1 LSB
2
Fig. 12-1 I S Justified Audio Stream Format
LRCLK
Right Channel
Left Channel
0
31
0
31
BCLK
SDATA
MSB -1
-2
-3
+3 +2 +1 LSB
MSB -1
-2
-3
+3 +2 +1 LSB
Fig. 12-2 Left Justified Audio Stream Format
LRCLK
Right Channel
Left Channel
0
31
0
31
BCLK
SDATA
MSB -1
-2
-3
+3 +2 +1 LSB
MSB -1
-2
-3
+3 +2 +1 LSB
Fig. 12-3 Right Justified Audio Stream Format
The LRCLK and BCLK are derived from MCLK. The frequency ratio are as follows:
MCLK : LRCLK:BCLK = 256: 1 : 64
The frequency of LRCLK equals the sampling rate 48kHz, 44.1kHz, 32kHz or 8kHz
based on FS_SEL0 and FS_SEL1 pins status.
32 •
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
eKA8566A
USB Audio Controller
13 Package
Product Specification (V0.1) 10.23.2006
(This specification is subject to change without further notice)
• 33