Texas Instruments | PCM9211EVM Record and Playback via USB Interface | Application notes | Texas Instruments - PCM9211EVM Record and Playback via USB Interface

Texas Instruments - PCM9211EVM Record and Playback via USB Interface
Application Report
SBAA179 – November 2010
PCM9211EVM Record and Playback via USB Interface
Tahar Allag
.................................................................................................... Audio Interface Products
ABSTRACT
The PCM9211 evaluation module (EVM) is designed to allow users to record and play back audio signals
via a USB interface while running CodecControl software on a PC. The USB interface uses the TAS1020B
USB interface device. This document presents a detailed description of the recording interface setup from
an analog input to PC, and discusses how to play back a digital signal from the PC via a USB connection.
In both cases, the path and the clock settings are enabled using the CodecControl software. Hardware
setup and jumper configurations are also described.
1
2
3
4
Contents
Introduction ..................................................................................................................
Recording Analog Audio Signal via USB ................................................................................
Play Back Digital Audio Signals via USB ................................................................................
Conclusion ...................................................................................................................
1
2
6
9
List of Figures
1
1
Hardware Connection for Record Path: PCM9211 in Slave Mode ................................................... 2
2
Hardware Connection for Record Path: TAS1020B in Master Mode
3
CodecControl Path Settings for Recording .............................................................................. 4
4
Recorded Sine Wave Signal via USB .................................................................................... 5
5
Hardware Connections for Playback via USB: PCM9211 in Slave Mode ........................................... 6
6
Hardware Connections for Playback via USB: TAS1020B in Master Mode......................................... 7
7
CodecControl Path Setting for Playback ................................................................................. 8
8
Send Sine Wave 1-kHz Signal via USB for Playback .................................................................. 9
................................................
3
Introduction
The PCM9211EVM is an evaluation module for the PCM9211 codec. The PCM9211 includes optical
S/PDIF input and output, coaxial S/PDIF input, analog stereo input, and USB interface circuitry. The
CodecControl software for PCM9211EVM, available for download at www.ti.com, exposes most of these
features through an intuitive graphic user interface, or GUI.
The PCM9211 is an analog and digital front-end device for any media player/recorder. The device
consists primarily of an integrated analog-to-digital converter (ADC), digital audio interface receiver (DIR),
and digital audio interface transmitter (DIT). The PCM9211 can be controlled by either SPI™ or I2C™
interface modes.
The optical and the coaxial S/PDIF inputs are connected directly to the DIR of the PCM9211 through an
integrated multiplexer. The analog input data are converted to digital data using the integrated ADC. The
optical output can be obtained either from the DIT or directly from an outside digital source using the
Multipurpose Input/Output (MPIO) pins on the device.
Microsoft, Windows are registered trademarks of Microsoft Corporation.
SPI is a trademark of Motorola, Inc.
I2C, I2S are trademarks of NXP Semiconductors.
All other trademarks are the property of their respective owners.
SBAA179 – November 2010
Submit Documentation Feedback
PCM9211EVM Record and Playback via USB Interface
© 2010, Texas Instruments Incorporated
1
Recording Analog Audio Signal via USB
www.ti.com
This report describes the path and the registers settings (using the GUI software) of the PCM9211EVM for
recording and playback via USB interface. Only analog input data are considered for recording. The
playback of digital audio signals via USB to either an optical or a digital jumper output is also discussed.
Test stand setup descriptions are provided, and the measured results are presented.
2
Recording Analog Audio Signal via USB
Figure 1 and Figure 2 show the required hardware connections, respectively, for the recording path for the
PCM9211 in slave mode and the TAS1020B in master mode.
ANALOG DATA INPUT
COAX INPUTS
RXIN0-RXIN1
3
J5
C33
0.1ufd/50V
0603
1 Signal
R22
75
RES,SMT,0603
FILTER COMPONENTS
LOCATE CLOSE TO THE DEVICE UNDER TEST (DUT) U4
ANALOG LINE IN
VINL
C15
Shield
Analog Input
2
1
W10
2
Black
RCA RA-F
GND
+
2
AVE-A
10ufd/16V
VINR
C16
3
4
AVE-A
10ufd/16V
GND
GND
+5V
W1
1
3
4
3
1
2
19
3
18
4
17
5
16
6
15
7
14
8
13
OUT
3
2
SHIELD
TORX147PL(F,T)
GND
DNP
0603
1
GND
Y2
White
C36
2
4
10pfd/100V
0603
Y2
GND ABM10
GND 24.576 MHz
C25
0.1ufd/50V
0603
GND
C34
C18
39
42
41
40
GND
C35
0.1ufd/50V
0603
DNP
0603
+3.3V
+3.3V
10pfd/100V
0603
10ufd/6.3V
0603
5
Vcc
GND
GND
GND
+3.3V
9
Vcc
GND
12
U11
3
1
10
0603
0.1ufd/50V
+3.3V
11
GND
+3.3V
TSSOP20-PW
PCF8574APWR
C27
0.1ufd/6.3V
0402
SN74LVC1G08DCKR
SC70-DCK5
5
+3.3V
W5
2
U10
3
GND
GND
GND
1
C28
0.1ufd/6.3V
0402
SN74LVC1G08DCKR
SC70-DCK5
36
35
U8
3
RESET~
34
MULTI-PURPOSE INPUT/OUTPUTS
4
P4
1
2
3
4
5
6
7
8
33
5
31
U4
7
15
7
14
8
13
1
2
SN74LVC1G08DCKR
SC70-DCK5
U12
1
4
2
SN74LVC1G08DCKR
SC70-DCK5
12
U13
1
1
2
3
4
5
11
1
SN74LVC1G08DCKR
SC70-DCK5
U14
1
2
2mm PIN HEADER
SN74LVC1G08DCKR
SC70-DCK5
2
U15
1
2
22
23
SN74LVC1G08DCKR
SC70-DCK5
24
19
20
21
16
U12
3
U13
3
C29
0.1ufd/6.3V
0402
SN74LVC1G08DCKR
SC70-DCK5
5
Vcc
GND
GND
+3.3V
C30
0.1ufd/6.3V
0402
SN74LVC1G08DCKR
SC70-DCK5
5
Vcc
GND
U14
3
4
4
17
5
Vcc
GND
GND
+3.3V
4
SN74LVC244APWR
TSSOP20-PW
6
W11
10K
0603
GND
GND
18
8
W6
25
13
6
7
16
6
U11
+3.3V
R23
12
14
4
5
5
GND
White
26
15
3
17
2
SN74LVC1G08DCKR
SC70-DCK5
2
TP14
27
11
2
4
10
10
8
P6
1
18
28
6
7
19
9
29
9
4
5
30
PCM9211PT
2
3
20
3
LQFP48-PT
8
P5
1
4
GND
1
2
4
32
6
1
U10
C24
2
GND
GND
+3.3V
5
Vcc
GND
3
GND
C31
0.1ufd/6.3V
0402
SN74LVC1G08DCKR
SC70-DCK5
U15
C32
0.1ufd/6.3V
0402
SN74LVC1G08DCKR
SC70-DCK5
MCLK
BCLK
W12
1
+3.3V
2
DIN
3
2
WCLK
3
SS~
U4-PIN 26
W7
1
+3.3V
0402
0.1ufd/6.3V
W13
7
3
6
GND
W14
1
8
2
1
SHIELD
INPUT
3
GND
TOTX147PL
GND
10K
0603
R19
1
R18
VCC
GND
P7
1
2
3
4
5
6
7
8
GND
3
WCLK
3
MOSI
U4-PIN 24
SDA
5
W15
SSOP8-DCT
SN74LVC2G125DCTR
1
W8
J3
2
C21
0.1ufd/50V
0603
2
GND
1
4
+3.3V
2
OPTICAL
MPO0-MPO1
U4-PIN 25
SCL
2
GND
GND
SCLK
C23
U7
MPIO CONNECTIONS
W9
10K
0603
2
GND
2
8
6
C22
4
8
6
4
0603x4
10K
+3.3V
2
1
0603
0.1ufd/50V
1
1
7
5
3
7
5
3
RN3
2
8
4
6
0603x4
10K
2
0603x4
10K
RN2
1
3
5
7
R24
RN1
1
MCLK, BCLK,
WCLK
GND
20
C37
GND
0.0
0603 ABM10
24.576 MHz
GND
45
If C17 & C18 are placed
as filter components,
film type capacitor
is recomended.
2
SOT23-DBV5
SN74LVC1G04DBVR GND
SCL
2
10K
0603
1
4
P3
10ufd/6.3V
0603
R21
TP13
C17
44
U6
D5
Yellow
W3
R15
0805
U9
1
SDA
43
1
1
2
48
C20
0.1ufd/50V
0603
GND
5
GND
Vcc
C39
0.1ufd/50V
0603
10K
0603
3
SOT23-DBV5
SN74LVC1G04DBVR GND
+3.3V
W4
2
47
Yellow
2
J4
+3.3V
R14
2
1
0.1ufd/50V
0603
1
4
+3.3V
C45
10ufd/6.3V
0603
2
1
0603 +3.3V
0.1ufd/50V
C26
C44
W2
U5
D4
332
0603
OPTICAL INPUTS
RXIN2-RXIN7
C38
0805
R17
C41
4700pfd/50V/2%
0805
C19
0.1ufd/50V
0603
GND
5
332
0603
GND
0.068ufd/25V
1206
46
R16
0.1ufd/50V
0603
680
0603
1
+3.3V
C43
10ufd/6.3V
0603
R20
J2
ERROR/NPCM+3.3V
& INT
C40
C42
3
RIGHT
+
6
38
Shield
5
37
LEFT
3
MISO
BCLK
U4-PIN 23
GND
10K
0603
GND
GND
DOUT
I2S/SPI SELECTION
2
I S Data Out
Figure 1. Hardware Connection for Record Path: PCM9211 in Slave Mode
2
PCM9211EVM Record and Playback via USB Interface
© 2010, Texas Instruments Incorporated
SBAA179 – November 2010
Submit Documentation Feedback
Recording Analog Audio Signal via USB
www.ti.com
+3.3V
EEPROM
+3.3V
U2
R8
mfg: MICROCHIP
p/n: 24FC512-I/SM
GND
C10
1
8
2
7
3
6
4
5
2.7K/5%
0603
0.1ufd/6.3V
0402
GND
R9
2.7K/5%
0603
TP1
GND
White
SDA
+3.3V
SOIC8-SM
512K
C11
U3
1
0.1ufd/6.3V
0402
5
GND
TP3
2
3
Y1
USB CONNECTOR
1
2
C2
8
9
10
GND
11
3.09K
0603
1000pfd/50V
0603
Case
GND
Case
ID_NC
Case
Data+
NC
Data-
NC
5v
USB MINIB
mfg: HIROSE
p/n: H2959CT
5
GND
GND
+3.3V
C3
GND
R2
4
2
BCLK
47
46
45
44
43
42 14
40
39
38
37
1
36
2
35
3
34
33
27.4
0603
+5V
+3.3V
R4
27.4
0603
C4
C5
C6
47pfd/50v
0603
47pfd/50v
0603
0.1ufd/6.3V
0402
TP7
0.1ufd/6.3V
0402
9
28
10
27
11
26
12
25
13
14
15
16 17
18
19
20
21 22
23
TP8
GND
White
GND
30
29
I S Interface
White
C9
31
8
2
White
+3.3V
32
TAS1020BPFB
I2S
WCLK
TP6
4
7
1
DOUT
TP5
6
R3
MCLK
DIN
White
GND
5
1.50K
0603
3
MCLK
TP4
3
48
0.1ufd/6.3V
0402
SOT23-DBV5
SN74LVC1G126DBVR
White
R1
USB INPUT
J1
GND OUT
White
4
4
SMT-8002
6MHz/3.3V
C1
Case
GND
Vcc
GND mfg: SiTIME
p/n: SIT8002AI-13-33E-6.00000T
100pfd/50V
0805
7
OE
I2C
TP2
+3.3V
6
SCL
White
MISO
MOSI
White
SS~
TP9
TP10
GND
SPI
SCLK
White
24
White
TP11
Output via USB
GND
GND
GND
GND
+3.3V
R5
100K
0603
C7
1.0ufd/16V
0603
GND
D1
D2
Yellow
0805
Yellow
0805
+3.3V
I2S_ENABLE
R13
10K
0603
+3.3V
GPIO2
+3.3V
R6
R7
649
0603
649
0603
I2S_ENABLE
+3.3V
C8
R12
10K
0603
GND
0.1ufd/6.3V
0402
C14
GPLED1 GPLED2
SW3
1
2
mfg: E-SWITCH
p/n: TL1015AF160QG
0.1ufd/50V
0603
GND
GND
GND
GND
+3.3V
R11
10K
0603
C13
GPIO1
SW2
1
2
mfg: E-SWITCH
p/n: TL1015AF160QG
0.1ufd/50V
0603
GND
GND
TP12
White
RESET~
RESET
+3.3V
RESET
R10
10K
0603
C12
0.1ufd/50V
0603
SW1
1
2
mfg: E-SWITCH
p/n: TL1015AF160QG
GND
GND
Figure 2. Hardware Connection for Record Path: TAS1020B in Master Mode
In Figure 1, the analog line-in of the PCM9211EVM receives the analog signal. These input lines are
connected directly to the inputs of the integrated ADC within the PCM9211. Jumpers W2 and W3 are used
to select the RC filter, which is not considered in this application.
In Figure 2, the TAS1020B receives data from the DOUT pin of the codec ( I2S™ interface) and interfaces
the data with the USB output connector. Jumper P7 is removed to avoid forcing the DOUT pin to ground.
SBAA179 – November 2010
Submit Documentation Feedback
PCM9211EVM Record and Playback via USB Interface
© 2010, Texas Instruments Incorporated
3
Recording Analog Audio Signal via USB
www.ti.com
The CodecControl settings of the PCM9211 are shown in Figure 3. The output of the ADC is connected to
the DOUT of the main block. The integrated ADC takes its clock from the MPIO-C, as shown in the ADC
setting window. The ADC is driven in slave mode and the ADC-DOUT is selected as the output. The
MPIO-C SELECTOR is set to AUXIN1, as shown in the MPIO-C setting window in Figure 3.
SCKO/BCK/LRCK of the main output ports are connected to the AUXIN1 pin through the integrated
multiplexer.
Figure 3. CodecControl Path Settings for Recording
4
PCM9211EVM Record and Playback via USB Interface
© 2010, Texas Instruments Incorporated
SBAA179 – November 2010
Submit Documentation Feedback
Recording Analog Audio Signal via USB
www.ti.com
I2S interface outputs are used to transfer the DOUT data from the main block of the PCM9211 to the
TAS1020B as digital inputs. The TAS1020B is an integrated circuit designed specifically to interface digital
data to the USB input. By using Microsoft® Windows®-compatible audio recording software such
Gold-Wave or Cool-Edit-Pro, the received data can be recorded. In our test setup, a 1-kHz analog sine
wave signal was sent. The recorded signal with its FFT representation is shown in Figure 4.
Figure 4. Recorded Sine Wave Signal via USB
As shown in Figure 1 and Figure 2, the TAS1020B is used as a master and the PCM9211 is used in slave
mode. The TAS1020B sends the Master CLK, Bit CLK, and Word CLK through I2S outputs into the MPIOs
of the PCM9211. MPIO-C0 is used for MCLK, MPIO-C1 is used for BCLK, and MPIO-C2 is used for
receiving WCLK. In this case, the DIN pin is not used because there is no data input sent from the
TAS1020B to the PCM9211. The sampling frequency used in this application is 44.1 kHz, and all the
clocks are set accordingly.
SBAA179 – November 2010
Submit Documentation Feedback
PCM9211EVM Record and Playback via USB Interface
© 2010, Texas Instruments Incorporated
5
Play Back Digital Audio Signals via USB
3
www.ti.com
Play Back Digital Audio Signals via USB
In the playback test, the digital input signal is sent from any Windows multimedia player through the USB
interface as shown in Figure 5 and Figure 6. The USB data (±) pins are connected directly to the IN/OUT
pins of the TAS1020B. The I2S outputs of the TAS1020B are used to transfer the data and send the
required clock signals to the PCM9211 codec device.
COAX INPUTS
RXIN0-RXIN1
3
J5
C33
1 Signal
0.1ufd/50V
0603
R22
75
RES,SMT,0603
FILTER COMPONENTS
LOCATE CLOSE TO THE DEVICE UNDER TEST (DUT) U4
ANALOG LINE IN
VINL
C15
Shield
2
1
W10
2
Black
RCA RA-F
GND
+
2
AVE-A
10ufd/16V
VINR
C16
3
4
AVE-A
10ufd/16V
GND
GND
+5V
W1
1
U5
3
4
3
1
2
19
3
18
4
17
5
16
6
15
7
14
8
13
9
12
10
11
OUT
3
2
SHIELD
TORX147PL(F,T)
GND
DNP
0603
1
GND
Y2
White
C36
2
4
10pfd/100V
0603
Y2
GND ABM10
GND 24.576 MHz
C25
0.1ufd/50V
0603
GND
C34
C18
39
42
41
40
GND
C35
0.1ufd/50V
0603
DNP
0603
+3.3V
+3.3V
10pfd/100V
0603
10ufd/6.3V
0603
5
Vcc
GND
GND
GND
+3.3V
Vcc
GND
U11
3
1
0603 +3.3V
0.1ufd/50V
GND
+3.3V
TSSOP20-PW
PCF8574APWR
C27
0.1ufd/6.3V
0402
SN74LVC1G08DCKR
SC70-DCK5
5
+3.3V
W5
2
U10
3
GND
GND
GND
1
C28
0.1ufd/6.3V
0402
SN74LVC1G08DCKR
SC70-DCK5
36
35
U8
3
RESET~
34
MULTI-PURPOSE INPUT/OUTPUTS
4
P4
1
2
3
4
5
6
7
8
33
5
31
U4
7
P5
1
W6
15
7
14
8
13
1
2
SN74LVC1G08DCKR
SC70-DCK5
U12
1
4
2
SN74LVC1G08DCKR
SC70-DCK5
12
U13
1
2
3
4
5
11
1
SN74LVC1G08DCKR
SC70-DCK5
U14
1
2
2mm PIN HEADER
SN74LVC1G08DCKR
SC70-DCK5
U15
1
4
2
23
SN74LVC1G08DCKR
SC70-DCK5
24
20
21
22
17
18
19
U12
3
U13
3
C29
0.1ufd/6.3V
0402
SN74LVC1G08DCKR
SC70-DCK5
5
Vcc
GND
GND
+3.3V
C30
0.1ufd/6.3V
0402
SN74LVC1G08DCKR
SC70-DCK5
5
Vcc
GND
U14
3
4
GND
16
5
Vcc
GND
GND
+3.3V
4
SN74LVC244APWR
TSSOP20-PW
6
W11
10K
0603
2
25
GND
MCLK, BCLK,
WCLK
16
6
U11
+3.3V
R23
12
13
8
14
6
7
5
GND
White
26
15
2
4
5
17
2
SN74LVC1G08DCKR
SC70-DCK5
2
TP14
27
11
3
4
10
10
8
P6
1
18
28
6
7
19
9
29
9
4
5
30
PCM9211PT
2
3
20
3
LQFP48-PT
8
1
4
GND
1
2
4
32
6
1
U10
C24
2
GND
GND
+3.3V
5
Vcc
GND
3
GND
C31
0.1ufd/6.3V
0402
SN74LVC1G08DCKR
SC70-DCK5
U15
C32
0.1ufd/6.3V
0402
SN74LVC1G08DCKR
SC70-DCK5
MCLK
BCLK
W12
1
+3.3V
2
DIN
3
2
WCLK
3
SS~
U4-PIN 26
W7
1
+3.3V
0402
0.1ufd/6.3V
W13
7
3
6
GND
W14
1
8
2
1
SHIELD
INPUT
3
GND
TOTX147PL
GND
10K
0603
R19
1
R18
VCC
GND
P7
1
2
3
4
5
6
7
8
GND
3
WCLK
3
MOSI
U4-PIN 24
SDA
5
W15
SSOP8-DCT
SN74LVC2G125DCTR
1
W8
J3
2
C21
0.1ufd/50V
0603
2
GND
1
4
+3.3V
2
OPTICAL
MPO0-MPO1
U4-PIN 25
SCL
2
GND
GND
SCLK
C23
U7
MPIO CONNECTIONS
W9
10K
0603
2
GND
2
8
6
C22
4
8
6
4
+3.3V
2
1
0603
0.1ufd/50V
1
1
7
5
RN3
0603x4
10K
2
8
4
2
6
0603x4
10K
3
7
5
3
RN2
1
5
3
1
7
R24
RN1
0603x4
10K
Optical Output
GND
20
C37
GND
0.0
0603 ABM10
24.576 MHz
GND
45
If C17 & C18 are placed
as filter components,
film type capacitor
is recomended.
2
SOT23-DBV5
SN74LVC1G04DBVR GND
SCL
2
10K
0603
1
4
P3
10ufd/6.3V
0603
R21
TP13
C17
44
U6
D5
Yellow
W3
R15
0805
U9
1
SDA
43
1
1
2
48
C20
0.1ufd/50V
0603
GND
5
GND
Vcc
C39
0.1ufd/50V
0603
10K
0603
3
SOT23-DBV5
SN74LVC1G04DBVR GND
+3.3V
W4
2
47
Yellow
2
J4
+3.3V
R14
2
1
0.1ufd/50V
0603
1
4
+3.3V
C45
10ufd/6.3V
0603
2
1
0603 +3.3V
0.1ufd/50V
C26
C44
W2
D4
332
0603
OPTICAL INPUTS
RXIN2-RXIN7
C38
0805
R17
C41
4700pfd/50V/2%
0805
C19
0.1ufd/50V
0603
GND
5
332
0603
GND
0.068ufd/25V
1206
46
R16
0.1ufd/50V
0603
680
0603
1
+3.3V
C43
10ufd/6.3V
0603
R20
J2
ERROR/NPCM+3.3V
& INT
C40
C42
3
RIGHT
+
6
38
Shield
5
37
LEFT
3
MISO
BCLK
U4-PIN 23
GND
10K
0603
GND
GND
DOUT
I2S/SPI SELECTION
2
I S DOUT
Figure 5. Hardware Connections for Playback via USB: PCM9211 in Slave Mode
6
PCM9211EVM Record and Playback via USB Interface
© 2010, Texas Instruments Incorporated
SBAA179 – November 2010
Submit Documentation Feedback
Play Back Digital Audio Signals via USB
www.ti.com
+3.3V
EEPROM
+3.3V
U2
R8
mfg: MICROCHIP
p/n: 24FC512-I/SM
GND
C10
1
8
2
7
3
6
4
5
2.7K/5%
0603
0.1ufd/6.3V
0402
GND
R9
2.7K/5%
0603
TP1
GND
White
SDA
+3.3V
SOIC8-SM
512K
C11
U3
1
0.1ufd/6.3V
0402
5
GND
TP3
2
3
Y1
USB CONNECTOR
1
2
C2
8
9
10
GND
11
3.09K
0603
1000pfd/50V
0603
Case
GND
Case
ID_NC
Case
Data+
NC
Data-
NC
5v
USB MINIB
mfg: HIROSE
p/n: H2959CT
5
GND
GND
+3.3V
C3
GND
R2
4
2
BCLK
47
46
45
44
43
42 14
40
39
38
37
1
36
2
35
3
34
33
27.4
0603
+5V
+3.3V
R4
27.4
0603
C4
C5
C6
47pfd/50v
0603
47pfd/50v
0603
0.1ufd/6.3V
0402
TP7
0.1ufd/6.3V
0402
9
28
10
27
11
26
12
25
13
14
15
16 17
18
19
20
21 22
23
TP8
GND
White
GND
30
29
I S Interface
White
C9
31
8
2
White
+3.3V
32
TAS1020BPFB
I2S
WCLK
TP6
4
7
1
DOUT
TP5
6
R3
MCLK
DIN
White
GND
5
1.50K
0603
3
MCLK
TP4
3
48
0.1ufd/6.3V
0402
SOT23-DBV5
SN74LVC1G126DBVR
White
R1
USB INPUT
J1
GND OUT
White
4
4
SMT-8002
6MHz/3.3V
C1
Case
GND
Vcc
GND mfg: SiTIME
p/n: SIT8002AI-13-33E-6.00000T
100pfd/50V
0805
7
OE
I2C
TP2
+3.3V
6
SCL
White
MISO
MOSI
White
SS~
TP9
TP10
GND
SPI
SCLK
White
24
White
TP11
Data in via USB
GND
GND
GND
GND
+3.3V
R5
100K
0603
C7
1.0ufd/16V
0603
GND
D1
D2
Yellow
0805
Yellow
0805
+3.3V
I2S_ENABLE
R13
10K
0603
+3.3V
GPIO2
+3.3V
R6
R7
649
0603
649
0603
I2S_ENABLE
+3.3V
C8
R12
10K
0603
GND
0.1ufd/6.3V
0402
C14
GPLED1 GPLED2
SW3
1
2
mfg: E-SWITCH
p/n: TL1015AF160QG
0.1ufd/50V
0603
GND
GND
GND
GND
+3.3V
R11
10K
0603
C13
GPIO1
SW2
1
2
mfg: E-SWITCH
p/n: TL1015AF160QG
0.1ufd/50V
0603
GND
GND
TP12
White
RESET~
RESET
+3.3V
RESET
R10
10K
0603
C12
0.1ufd/50V
0603
SW1
1
2
mfg: E-SWITCH
p/n: TL1015AF160QG
GND
GND
Figure 6. Hardware Connections for Playback via USB: TAS1020B in Master Mode
As in the previous section, the MPIOs of the PCM9211EVM receive the data. MCLK, BCLK, and WCLK
are connected to MPIO-C0, MPIO-C1, and MPIO-C2, respectively. However, the DIN pin is used to send
to the data to the PCM9211 through pin MPIO-C3, as shown in Figure 5.
SBAA179 – November 2010
Submit Documentation Feedback
PCM9211EVM Record and Playback via USB Interface
© 2010, Texas Instruments Incorporated
7
Play Back Digital Audio Signals via USB
www.ti.com
The path setting of the integrated MPIO-C is important. As shown in Figure 7, AUXIN1 is chosen as the
output path of the MPIO block. Using the multiplexer, AUXIN1 is connected to both DOUT and the
SCKO/BCLK/LRCK signals of the Main output port. Note that the TAS1020B sends both the signal and
the clocks to the PCM9211 device. Thus, the PCM9211 is set to operate in slave mode and the
TAS1020B is set in master mode, as in the previous section. The sampling frequency is set to be 44.1
kHz in this application.
Figure 7. CodecControl Path Setting for Playback
There are two choices to the final path of the playback. The user can choose to take the digital audio data
directly from the DOUT, LRCK, BCK, and SCKO pins of the PCM9211EVM by using the P7 jumpers.
However, special care is needed for the buffer U7. This buffer must first be disabled; this step can be
done simply by removing jumper W9. The user also can use the optical output through MPO0 and MPO1.
8
PCM9211EVM Record and Playback via USB Interface
© 2010, Texas Instruments Incorporated
SBAA179 – November 2010
Submit Documentation Feedback
Conclusion
www.ti.com
In our test, a sine wave signal with 1-kHz fundamental frequency is played using Cool-Edit-Pro software
as shown in Figure 8. The FFT representation of the signal is also shown here. The signal is sent via USB
to the TAS1020B, then to the PCM9211. The 2700 series AudioPrecision signal analyzer can be used to
analyze the resulting output signal.
Figure 8. Send Sine Wave 1-kHz Signal via USB for Playback
4
Conclusion
This application note described the path settings for the playback and record functions of the
PCM9211EVM through using the CodecControl software and a specified jumper configuration. The
TAS1020B is set to operate in master mode. The multi-purpose input and output (MPIO) pins of the
PCM9211 provide the device with the MCLK, BCLK, and WCLK signals. In the record mode, the DOUT of
the codec is used to transfer data to the USB interface. For the playback mode, the DIT block is used to
loop the input data to the optical output pins. Each application was shown with results provided. Recording
digital data coming from either the coax input or the optical inputs was not discussed in this application
report.
SBAA179 – November 2010
Submit Documentation Feedback
PCM9211EVM Record and Playback via USB Interface
© 2010, Texas Instruments Incorporated
9
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements,
and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should
obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are
sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard
warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where
mandated by government requirements, testing of all parameters of each product is not necessarily performed.
TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and
applications using TI components. To minimize the risks associated with customer products and applications, customers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right,
or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information
published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a
warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual
property of the third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied
by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive
business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional
restrictions.
Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all
express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not
responsible or liable for any such statements.
TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably
be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing
such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and
acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products
and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be
provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in
such safety-critical applications.
TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are
specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military
specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at
the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use.
TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are
designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated
products in automotive applications, TI will not be responsible for any failure to meet such requirements.
Following are URLs where you can obtain information on other Texas Instruments products and application solutions:
Products
Applications
Amplifiers
amplifier.ti.com
Audio
www.ti.com/audio
Data Converters
dataconverter.ti.com
Automotive
www.ti.com/automotive
DLP® Products
www.dlp.com
Communications and
Telecom
www.ti.com/communications
DSP
dsp.ti.com
Computers and
Peripherals
www.ti.com/computers
Clocks and Timers
www.ti.com/clocks
Consumer Electronics
www.ti.com/consumer-apps
Interface
interface.ti.com
Energy
www.ti.com/energy
Logic
logic.ti.com
Industrial
www.ti.com/industrial
Power Mgmt
power.ti.com
Medical
www.ti.com/medical
Microcontrollers
microcontroller.ti.com
Security
www.ti.com/security
RFID
www.ti-rfid.com
Space, Avionics &
Defense
www.ti.com/space-avionics-defense
RF/IF and ZigBee® Solutions www.ti.com/lprf
Video and Imaging
www.ti.com/video
Wireless
www.ti.com/wireless-apps
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2010, Texas Instruments Incorporated
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising