CodecControl Software
3.4.3
Register Inspector
The register inspector dialog (View->Register Inspector…) gives access to all registers of the TI audio
codec. The register inspector displays the content of the connected TI audio codec device registers.
Clicking the Refresh button triggers reading the content of one page.
•
The addr column shows the address of the registers in decimal notation.
•
The description column contains a description for each register. If the register has no function
assigned, it is declared Reserved.
•
The data columns show the data of each register (one byte). The first data column uses decimal
notation, and the second uses hexadecimal notation. It is possible to change the register value by
clicking into one of the data fields and typing the new value (either decimal or hexadecimal).
•
The numbered columns show the register content in binary notation. Read/write bits are shown solid
black or red; read-only bits are gray or dark red. Red numbers represent bits that recently changed.
Change a single writable bit by clicking on the bit and it flips.
The coefficients may be used for a specific customer filter implementation. The format is compatible with
the TI audio codec that was detected by the CodecControl software.
NOTE: This feature is not used for the PCM5122/42, which are hardware programmable only.
3.4.4
Firmware Update
TI may publish new firmware for TI audio codec EVMs. Program the new firmware to a TI audio codec
EVM by choosing File->Update Firmware… and select the new firmware file.
The update process takes a few seconds (there is no progress bar) and is completed once the update
firmware dialog disappears. The EVM must be disconnected and reconnected to finish the firmware
update process.
3.5
Script Syntax
A script is a text file that contains data to send to a device.
Each line in a script file is one command. No provision is made for extending lines beyond one line, except
for the > command. A line is terminated by a carriage return.
The first character of a line is the command. Commands are:
r
Read from the serial control bus
w
Write to the serial control bus
>
Extend repeated write commands
#
Comment
I
Set interface bus to use
b
Break
d
Delay
f
Wait for Flag
Command: r <address> <register> <length>
<address> is the device address in hexadecimal format. For example, 30 for device address 0x30.
<register> is the register that is read from in hexadecimal format.
<length> is the number of bytes that are read from <register> in auto-increment mode.
The result is displayed in the right-side output window of the command interpreter dialog.
Command: w <address> <register> <data ...>
<address> is the device address in hexadecimal format. For example, 30 for device address 0x30.
<register> is the register that is written to in hexadecimal format.
<data…> is a sequence of bytes that are written to the <register> in auto-increment mode. Each byte
is in hexadecimal format.
13
SLAU444 – May 2012
PCM5122/42EVM-U
Copyright © 2012, Texas Instruments Incorporated