Using PCA9538, I constructed the circuit as follows, but I have some questions.
1. In the datasheet, the default value of Register 1 is 0xFF,
The default value of Register 3 was 0xFF.
However, when reading with I2C, Register 1 is read as 0x01 and Register 3 is read as 0x03.
2. The default value of Register 1 is read as 0x01, but the output does not come out unless a new value is written again.
3. If 0x02 is written to Register 1 as shown below, the actual output is shown as 0x02, but when read by I2C, other values are read. Other values such as 0x03 are the same.
4. As for the value of Register 3, if the actual PIN is NC, is the corresponding PIN value not written? For example, when writing 0x05, 0x01 is read.