
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. To
trigger reading the content of one page, click the Refresh button.
•
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. To
change a single writable bit, click on the bit and it will flip.
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: For the PCM510x, which are hardware programmable only, this feature is not used.
3.4.4
Firmware Update
TI may publish new firmware for TI audio codec EVMs. To program the new firmware to a TI audio codec
EVM, choose 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 in hexadecimal format that will be read from.
<
length
>
is the number of bytes that will be read from
<
register
>
in auto-increment mode.
The result will be 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 in hexadecimal format that will be written to.
<
data
…>
is a sequence of bytes that will be written to the
<
register
>
in auto-increment mode. Each
byte is in hexadecimal format.
13
SBAU190A
–
May 2011
–
Revised June 2011
PCM510xEVM-U
Copyright
©
2011, Texas Instruments Incorporated