2 board setup, 3 script file syntax, 2 board setup 3.3 script file syntax – Cirrus Logic CDB8427 User Manual
Page 7: Figure 2. board setup panel, Table 3. script file syntax description, Cdb8427

CDB8427
7
3.2
Board Setup
The Board Setup panel has some very useful func-
tions, including setting the COM Port used by the
application, resetting the CS8427 from software, as
well as loading/saving register settings into files.
See
. You can also can read or write any
register on the CS8427 using the CS8427 Register
Access.
3.3
Script file syntax
The setup files generated by the board setup func-
tion only record the state of the chip registers.
There are many more useful commands that you
can insert into the setup scripts.
contains a
short description of these commands with their al-
lowed syntax.
Note: Most commands accept either hexadecimal
(indicated by either a “0x” prefix or “h” suffix) or
decimal parameters.
Figure 2. Board Setup Panel
//
used for single line comments
script scriptfile
call an external script file named
“scriptfile”
reset 1
assert reset of the CS8427
reset 0
de-assert reset of the CS8427
wr 1 30h
write register 1 with hex 30
set RUN 1
set the bit field labeled RUN to 1
write 2 3 0x10
12h 13
write 3 consecutive registers start-
ing from register 2 with hex 10, hex
12, and decimal 13
Table 3. Script file syntax description