Datasheet

www.ti.com
6.4.3.1 Software Script
Kit Operation
Figure 6. Read All Threshold Registers
The TSC2004EVM-PDK software was designed to identify and decipher several scripting commands, as
shown in the Command Type list in Table 6 .
Each line in a script file is a command; a line is terminated by a carriage return.
Table 6. Script Command Type
Command Type Description
w Write to TSC2004 through the SPI serial control bus
r Read from TSC2004 through the SPI serial control bus
# Comment line
b Break
d Delay
The first character of a line indicates the command type. Table 6 lists all the command types of the
TSC2004EVM-PDK software.
Following the command type w or r, the byte is the I
2
C device address. For TSC2004, this is [1001
0A1A0R/W]b, where A1A0 is 00b by default and can be changed by JMP6/JMP5; and the LSB R/W is
1 if read or 0 if write.
14 TSC2004EVM and TSC2004EVM-PDK SLAU215 May 2007
Submit Documentation Feedback