PCM5122/42EVM-U
2.6
Use Cases
2.6.1
PurePath Studios
The PCM512x and PCM514x are software programmable, and can be programmed using either
CodecControl software or PurePath Studio. For more information on enabling the audio processing
capabilities of the PCM512x with Pure Path, see the document below. This application note provides a
great starting point regarding the usage of PurePath with PCM512x and PCM514x devices. Note that
while the PCM512x employs fixed function audio processing, the PCM514x has full miniDSP processing,
enabling configurable process flows.
•
PCM5122 with PurePath Application Note (
)
2.6.2
Scripts and Setup
Most of the I/O routing and clock frequency selection on the PCM5122/42 evaluation module is performed
by the SRC4392.
and
are two example scripts that adjust the SRC4392
registers accordingly, as well as set the proper jumper configurations.
There are several use cases where the PCM5122/42EVM-U can be used. Depending on whether it is
USB playback, or optical/SPDIF input, for example, there may need to be changes made in the scripts and
jumper configuration to accommodate these cases. Likewise, the shunts on header W3 may need to be
installed accordingly.
and
are some example use cases for the PCM5101 for
USB playback and optical/SPDIF input, respectively.
2.6.3
USB Playback
# The following script is used for playback via USB
# RESET RESET THIS IS MASTER RESET FOR SRC (48kHz)
# Page 0 = DEFAULT for Control
# Write to page 0
w E0 7F 00
# Register 01, Bit 7 = 1 resets to default
d 100
w E0 01 80
# Delay 0.1 sec to allow part to reset
d 100
# Register 01, Bit 7 = 0 for normal operation
w E0 01 00
d 100
# w E0 7F 00
# Register 01, Bit 7 = 1 resets to default
#----- Setup Port A ------#
# 24bit I2S, Master mode, DIR source, at mute
# Divide by 256, MCLK input source
# Unmute Port A Output
# power on port A and B
w E0 01 38
# set up port A as master, 24 bit I2S sourced from port B
w E0 03 19
# select
MCLK as source at 256fs
w E0 04 01
# port B slave, 24 bit I2S
w E0 05 01
#----- Setup DIR ------#
#DIR Config 1
# Input source: RX2 - S/PDIF RCA (default)
#w E0 0D 01
# Input source: RX4 - S/PDIF optical, RX_MUX = RX1
w E0 0D 08
#DIR Config 2 - default
7
SLAU444 – May 2012
PCM5122/42EVM-U
Copyright © 2012, Texas Instruments Incorporated