Hi All,
I am new to TI forums. I need some support from you people.
I am using PCA9539 IO Expander and configuring through two GPIO lines from PIC32 microcontroller . The I2C protocol is implemented through bit banging.
I am not reading the actual logic levels available on the pins. I am trying to read the input port register 0 and 1 , but always 0xFF is put out .
Can anyone let me know with snapshot of working drivers (in C without Linux or OS API please......since I have not ported my application on Linux)
for reading and writing to this chip. The device Address I use is 0xE8 while writing and 0xE9 while reading. The A0 and A1 lines are at logic 0.
All the other H/W connections are taken care as per the datasheets.
Looking forward to hear from anyone who have a working C code without OS.
thanks
BLTR