EVAL-ADuM4138EBZ
User Guide
UG-1194
Rev. 0 | Page 11 of 18
162
45-
0
1
0
Figure 10. Address Bits Are Being Read Back
EXAMPLE EEPROM WRITE
To write data to the EEPROM, the Sim_Trim bit must first be
set. Set this bit by selecting 1 in the
Sim Trim
field, and clicking
Write/Read Addr:10
. This setting results in the
Sim_Trim
green indicator lighting up (see Figure 11).
When the Sim_Trim bit is set to 1, write commands to Address 00
or Address 01 affect the operation of the
ADuM4138
.
The next step to programming the EEPROM is to set the
desired bits in Address 00 and Address 01. In this example, Bit 0
of the
GAIN_1
field is set to 1. When it is set to 1, clicking
Write/Read Addr:00
results in the
Addr:00 Output
field
showing that the value was written to the register. At this time,
the GAIN_1 EEPROM register is not yet programmed. Note
that
Sim_Trim
is still 1 (see Figure 12).
To write Address 00 data to EEPROM, set the
Prog Busy
field
to 1, and click
Write/Read Addr:10
(see Figure 13).
The write/read button performs a write and then a read as
normal. The
Prog_Busy
green indicator is usually lit up. This
state is because the read command occurs quickly after the
write, and the Prog_Busy bit in the
ADuM4138
is 1 while the
device is being programmed. Click
Read Addr:10
after this
programming, and once the Prog_Busy bit changes to 0, the
EEPROM is programmed. The programming takes approximately
10 μs; therefore, a human user generally cannot click the read
button fast enough to see a 1 in the
Prog Busy
field the second
time, but an automated program might (see Figure 14).