SCPA063 March 2023 PCA9306
When debugging an I2C device, always check and see if the data sheet pinout matches the schematic pinout. Sometimes the pins on a schematic are arranged differently from how the pins are presented on a device data sheet. If this check was not performed, there is a chance that the device can be incorrectly connected on the circuit. Leaving a device incorrectly connected can cause the device to become damaged whenever the circuit is energized. Therefore, to avoid damaging the device unintentionally, always check to see if there are any differences between the pinout of the data sheet and the pinout of the schematic.
Figure 2-2 shows an example of TCA9555 in which a schematic error can cause a NACK to occur.
The error illustrated in Figure 2-2 involves pin 2 and pin 3 being swapped (A2 and A1) which indicates the I2C target address is 0x25h. Figure 2-3 reveals the schematic error side by side with the TCA9555 data sheet pinout. With the A1 and A2 swap, the schematic address indicates 0x25h while the correct I2C target address based on the data sheet pinout is 0x23h. Anyone viewing the schematic incorrectly tries to communicate with the I2C target at 0x25h and always receive a NACK.