Other Parts Discussed in Thread: TCA8418E, TCA8418
Hi, I have several questions :
1. Do the input port register always reflect the latest voltage level of the input port? Or it will only update until I read the register?
Let's say the initial voltage level of port 0.7-0.0(configured as input) are all 0, and the register of BIT I0.7-0.0 is also 0x00.
Then port 0.7 is driven high. INT/ should be driven low, right?
And then I read the register of BIT I0.7-0.0, will I get 0x00 or 0x80? If it's 0x00, then I have to read it again to get the latest value 0x80, right?
2. If 3 input ports voltage level changes and initiate INT, I only read after the 3rd INT, then I can't know the which port level is the 3rd change, I can only know that there are 3 input ports voltage level changes, right?
3. In the WRITE and READ example of the datasheet from page 23 to 25, Input Port Registers and (Output Port Registers) are always in pair, if CPU sends the command with Register Address 0x00, the device will always send back both Input Port 0 and Input Port 1 value, right? If I send the command with register Address 0x01, the device will only send back Input Port 1 value, right? So it's impossible for me to read only Input Port 0 value?
My customer would like to ask for a device similar to TCA9539
which
1. have 2 input registers, one reflects last time, one reflects current time
2. be able to mask some input port. For example, P07-00 are all input, but only the voltage level change on P07-06 will initiate INT,
do we have such devices?