ISL22102IV20Z-EVAL

4
AN1555.0
April 13, 2010
Set Wiper Position in I
2
C and SPI interfaces
The wiper position can be set by moving the slider or by
typing in a hex or decimal value in the corresponding text
box, see Figure 4. Software will automatically read back
the wiper register if Auto Read box is checked out. Each
DCP channel has its own wiper control and read
capability.
Set Wiper Position in Up/Down and
Push-Button Interfaces
In order to move the wiper in Up or Down direction, type
in the number of counts in corresponding text box as
shown in Figure 5 and push the Up or Down button.
Script Execution
The DCP Evaluation software allows multiple commands
to be executed, that had been written in sequence in a
script file. A script file is a text file written in Notepad or
other simple text editing programs. There are some
examples of script files provided for your convenience,
that can be opened by following Script Execution > File >
Open Script File from the menu bar. Script files can be
executed only in I
2
C and SPI interface product windows.
Script execution is not supported for Up/Down and Push-
button DCPs.
I
2
C Script File
The structure of the command line for the I
2
C interface is
a Slave Address followed by a Register Address, Write
Data, Read Data and Comments. The data in the
command line is separated by a comma without spacing.
All spaces will be ignored.
The Slave Address should be written once at the
beginning of the command sequence, starting with an
acute symbol and letter “A, e.g. ‘AA0 for address A0 or
A50 for address 50. This slave address will be used for
Type in the number of taps
wiper is going to Up or
Down
FIGURE 5. UP/DOWN INTERFACE PRODUCT EVALUATION WINDOW
Application Note 1555
5
AN1555.0
April 13, 2010
all lines below in the sequence until the next address line,
if a script file is written to communicate with several
DCPs on the bus. Comments must start with the number
sign “#” followed by any ASCII symbols.
The Write Data or Read Data can be omitted for Read
only or Write only operation. For example:
00,55, #write 55 to address 0 without reading back
00,55,55 #write 55 to address 0, then read back
from address 0. The read data will be compared with
55
00, ,55 #read from address 0 and compare result
with 55
The wait command starts with the acute symbol followed
by a letter “w” and a number that represents waiting
time before execution of the next command in
milliseconds. For example, ‘w1000 #delay for 1000ms.
The script execution window is shown in Figure 6.
.
Successfully executed commands are highlighted by a
green color, while non successful command or
unexpected returned values are highlighted by a red
color. A script file can be executed at once, or put in a
loop by pressing the “Run All Steps” or “Loop Count”
buttons in the upper right corner of the Script Execution
Window. The actual read data can be stored in an
updated script file by specifying a path and press the
“Write to Disk” button.
FIGURE 6. THE ISL22316 SCRIPT EXECUTION EXAMPLE
Application Note 1555
6
AN1555.0
April 13, 2010
SPI Script File
The structure of the command line for SPI interface is
slightly different than for I
2
C. The first executable
command should be an acute symbol followed by letters
“SPIO”, e.g. ‘SPIO. All the following commands start with
the comma followed by data bytes. The total number of
data bytes is limited to 32 for this application. Comments
must start with the number sign “#” followed by any
ASCII symbols. The acute symbol followed by the ENDM,
e.g. ‘ENDM, indicates the end of the script.
Command examples for ISL224x4 family
(2 byte Write, 4 byte Read operation), see Figure 7.
,60C0 #Write C0h into the ACR register to set
volatile #operation
,C05A #Write 5Ah into reg. 0
,80000000, XXXXXX5A #Read from reg. 0 and
compare #with the anticipated data of 5Ah.
where the “X” symbol represents ignored by test.
Command examples for ISL224x6 family
(3 byte Write, 3 byte Read operation) are as follows:
,50C8C0 #Write C0h into the ACR register, reg. 8, to
set #volatile operation
,50C07F # Write 7Fh into reg. 0
,50B000,XXXX7F #Read back from reg. 0 and
compare with #the anticipated data of 7Fh
The script file can be used for programming DCPs in
daisy chain configuration. The DCP Evaluation software
supports up to 8 daisy chained devices. The example of
daisy chain programming is shown in Figure 8.
Note, not all SPI DCPs have daisy chain capability.
FIGURE 7. THE ISL224X4 SCRIPT EXECUTION EXAMPLE
Application Note 1555

ISL22102IV20Z-EVAL

Mfr. #:
Manufacturer:
Renesas / Intersil
Description:
Digital Potentiometer Development Tools ISL22102IV20Z-EVAL D EMO BRD
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet