Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[51] i2c : PCF8575 Read and Write function roblem

Status
Not open for further replies.

chiart

Newbie level 5
Newbie level 5
Joined
Jul 26, 2011
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,362
Hi,

I'm connecting the PCF8575 with the P89C51RD2 microcontroller. I've managed to communicate with the PCF8575 chip using the i2c lines. However, i'm facing a problem with the read and write function with this chip.

Meaning that, I have no problem in reading the data, also no problem in sending the data, but I'm having problem to read back the data I've already sent.

Is it possible to do read back the data that we've already sent using this chip?

Any help highly appreciated.

Thanks.
 

As long as the port pins are open, you'll read back the previously written data. If a pin is shorted to ground, you read '0' independent of the previous written pin state.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top