EVAL-ADP5520
Rev. 0 | Page 11 of 24
GPIO CONFIG TAB
0
76
51
-00
6
Figure 6. GPIO Config Tab
GPIO OUTPUTS
First press the reset button (S17) on the evaluation board to put
the device in a known state; then complete the following steps.
1.
On the motherboard, move the jumpers on Block J1
through Block J8 to the GPO position.
2.
On the
Aux LEDs Config
tab, set Bit 4 and Bit 5 in
Register 0x11 high; then program this setting by clicking
the
Program 0x11
button.
This reconfigures the R3 and C3 pins.
3.
On the
GPIO Config
tab, do the following:
a.
Set Bit 0 through Bit 7 in Register 0x18 high; then pro-
gram this setting by clicking the
Program 0x18
button.
b.
This reconfigures the R0, R1, R2, R3, C0, C1, C2, and
C3 pins as general-purpose outputs (GPOs).
c.
Set Bit 0 through Bit 7 in Register 0x1A to any
combination of 1s or 0s; then program this setting by
clicking the
Program 0x1A
button.
LED D1 through LED D8 on the motherboard reflect
the data programmed into Register 0x1A.
GPIO INPUTS
First press the reset button (S17) on the evaluation board to put
the device in a known state; then do the following:
1.
On the motherboard, do the following:
a.
Move the jumpers on Block J1 through Block J8
to the GPI position.
b.
Change all SW1 through SW8 switches to the low
position.
2.
On the
Aux LEDs Config
tab, set Bit 4 and Bit 5 in
Register 0x11 high; then program this setting by
clicking the
Program 0x11
button.
This reconfigures the R3 and C3 pins.
3.
On the
GPIO Config
tab, read back Register 0x19 by
clicking the
Read 0x19
button.
The readback value should be 0, indicating that all
GPI pins are low.
4.
On the motherboard, change the SW1 through SW8
switches to any combination of high and low.
5.
On the
GPIO Config
tab, read back Register 0x19 by
clicking the
Read 0x19
button.
The readback data reflects whatever data combination
was set in Step 5.