Hello guys,
I need your help.
My customer is evaluationg TCA6416A with I2C port of Runesus CPU.
But they have a problem.
They wrote "slave address + 06h (as command data) + F0h (for P00 to P07)
+ 0Fh (for P10 to P17) to set configuration registor.
These data would define P04 to P07 and P10 to P13 to as input port.
After that they wrote FFh(All"1") to output register for P00 to 07 and P10 and 17 with command 02h.
But after that, they couldn't read the correct set input data and output data which they wrote previous.
We don't know why we can not read the input data and output data with commmand "00h".
If anyone knows the reason, could you please let me know?
If you know correct data to write for getting correct input data, could you please let me know?
Or should we send data like one slave address + one command data + one write data as
one packet?
Your reply would be much appreciated.
Best regards,