IO Expander I2C Address Problem
Posted: Mon Jun 27, 2022 3:02 pm
I am working with and ESP32-S3-Korvo-2. It has an IO expander on it that is shown to be a TCA9554 on the schematic. According to the schematic and the data sheet for the TCA9554, The I2C address is 0x20 (- 0x27, depending on A[0..2] inputs). That address would not work. I confirmed with my scope that the clock and data were present and the correct speed (100kHz). A[0..2] = 0. The chip was powered. The chip would not ACK the address byte. I finally incremented the address from 0 to 127 in a loop and got ACKs at 5 addresses. Eliminating the 4 other things on the I2C bus left me with 0x38 as the only possible address for the expander. And that, it turns out, is the address of the expander. Using it everything works fine.
Looking at the chip, it has a TI logo on it, and looks like it might have a 9554 stamped on it, but the center of the number is rubbed off. Looking at the right angle, it looks like some other number might be stamped under it... It can't really be a TCA9554 if the address is wrong, can it?? There went a couple of wasted hours that should not have been wasted...
Anyone have any thoughts?
Looking at the chip, it has a TI logo on it, and looks like it might have a 9554 stamped on it, but the center of the number is rubbed off. Looking at the right angle, it looks like some other number might be stamped under it... It can't really be a TCA9554 if the address is wrong, can it?? There went a couple of wasted hours that should not have been wasted...
Anyone have any thoughts?