CDB8420
DS245DB4
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 CS8420 by the software,
as well as loading/saving register settings into files.
You can also can read or write any register on the
CS8420 using the CS8420 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. Here is a short de-
scription of them with their allowed 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 CS8420
reset 0
de-assert reset of the CS8420
wr 1 30h
write register 1 with hex 30
set DITH 1
set the bit field labeled DITH 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