This section provides the step by step
procedure to configure the I2C target 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 to be
configured.
- Write data to TARGET_ADDRESS bit field in the CONFIG2 register.
Only the device with GPI pin logic high updates the TARGET_ADDRESS setting
passed in the command. Make sure that the rest of the devices on the same
I2C bus have the 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 target
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 7-10 Address Format
TARGET ADDRESS |
TARGET_ADDRESS FIELD IN
CONFIG2 REGISTER |
1001000 |
00 (default) |
1001001 |
01 |
1001010 |
10 |
1001011 |
11 |