Evaluation Board User Guide
UG-077
Rev. 0 | Page 15 of 16
USING THE EVALUATION BOARD TO PROGRAM AN AD9522 ON A USER BOARD
This guide shows how to use an AD9522 evaluation board to
program an AD9522 on a customer board via the I
2
C interface.
It assumes that the user has access to the I
2
C pins via a header
on the target board, and knows the assigned address of the
target I
2
C device.
1.
Move Jumper S2 to the center and left (I
2
C) pins.
2.
Move Jumper W1 to the center and left (I
2
C) pins.
3.
Select the desired I
2
C address for the AD9522 evaluation
board using Jumper S5 and Jumper S6. Note that the S5 =
S6 = high setting is reserved for SPI mode. Also, this I
2
C
address should not conflict with the I
2
C address of the
target AD9522.
4.
Attach a jumper cable from the
sdio_sda
pin of Header P1
of the evaluation board to the SDA pin on the target board.
5.
Repeat Step 4 for both the
sclk_scl
pin and
gnd
pin of the
AD9522 evaluation board to the SCL pin and ground pin
of the target board, respectively. On the evaluation soft-
ware, select
Configure Serial Por
t from the
I/O
menu.
This window is shown in Figure 28.
08747-
025
Figure 28. AD9522 Evaluation Software Serial Port Configuration
6.
Click
Reset Serial Port
, and then click
Detect Current
Configuration
. A dialog box appears and acknowledges
the I
2
C mode and address. The evaluation software starts
at I
2
C Address 0x058 and stops at the first valid I
2
C address
that it finds. If the target I
2
C address is different from the
one automatically selected, select the I
2
C address of the
target AD9522 from the list, and click
OK
.
7.
From the
View
menu on the main window (see Figure 24),
click
Debug Window.
Click the
I2C Debug
button. The
window shown in Figure 29 appears.
08747-
026
Figure 29. AD9522 Evaluation Software I
2
C Debug Window
8.
Enter the I
2
C address set by Jumper S5 and Jumper S6 on
the AD9522 evaluation board, and click
Ping
. The user
should see a green
ACK
message, as shown in Figure 29.
Repeat this step for the I
2
C address of the target AD9522. If
ACK
is returned for both addresses, the remote AD9522 is
ready to be programmed.
If the ping test fails, double-check the cabling between the
boards, as well as the I
2
C address of the target AD9522.
The user should ensure that the I
2
C address of the AD9522
on the evaluation board is different from the target AD9522.
The user should also disconnect the jumper cable and make
sure that I
2
C mode is working properly on the AD9522
evaluation board.
9.
Proceed to program the target AD9522 with the desired
settings. When finished, click the
EEPROM
button on the
main window to access the EEPROM window, and then click
Program EEPROM
to write the settings to the EEPROM.