This section provides the step by step
procedure to configure the I2C slave addresses for up to four DACs. Use
the broadcast address for all the steps.
- Set GPI pin to 0b for all devices.
- Set GPI_CONFIG in the CONFIG2 register to 111b.
- Set GPI_EN in the TRIGGER register to 1b.
- Set the GPI pin to logic HIGH for the device that needs to be
configured.
- Write data to SLAVE_ADDRESS bit field in the CONFIG2 register.
Only the device with GPI pin logic HIGH updates the SLAVE_ADDRESS setting passed
in the command. Make sure that the rest of the devices on the same
I2C bus have their respective GPI pins set to logic LOW during this
process.
- Toggle the GPI pin of the device bring programmed to logic
LOW.
- Repeat steps (1) through (6) above to program the I2C slave
addresses to all the devices on the bus.
- Set GPI_EN to 0b.
- Change GPI_CONFIG to 000b.
- Trigger NVM write operation.
The devices are now ready for use.
Table 8-13 Address Format
SLAVE ADDRESS |
SLAVE_ADDRESS FIELD IN
CONFIG2 REGISTER |
1001000 |
00 (default) |
1001001 |
01 |
1001010 |
10 |
1001011 |
11 |