Texas Instruments PCM9211EVM-U Evaluation Module PCM9211EVM-U PCM9211EVM-U 데이터 시트

제품 코드
PCM9211EVM-U
다운로드
페이지 27
Dialogs and Active Objects
www.ti.com
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: <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: <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.
Command: <data ...>
This command continues a write sequence in a new line.
<data…> is a sequence of bytes that will be written in auto-increment mode. Each byte is in
hexadecimal format.
Command: [optional comment]
This command indicates a comment.
Command: I<interface>
<interface> is i2c for I
2
C or spi for SPI
Command: b[optional comment]
[optional comment] is a string of characters. The command interpreter will show a modal dialog with
the optional comment. Script execution will resume once the dialog is closed.
Command: d<time>
This command suspends script execution by at least <time> milliseconds.
Command: <address> <register> <mask> [optional timeout]
This commands suspends script execution until the value read from <address> <register> matches
<mask>
<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.
<mask> is a 8-bit binary format mask that is compared with the data from the device. Each bit can be
0, 1, or X.
For example: <mask> = 010XX01X tests, if the data from the device has D7 = 0, D6 = 1, D5 = 0, D4 =
don’t care, D3 = don’t care, D2 = 0, D1 = 1, D0 = don’t care.
[optional timeout] specifies how long (milliseconds) the command interpreter will poll the device if the
data do not match the <mask>
16
CodecControl Software
SBAU174 – June 2010
Copyright © 2010, Texas Instruments Incorporated