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.

Problem with communicating I2C bus with PIC MCUs

Status
Not open for further replies.

Seanohue

Newbie level 2
Joined
Jun 29, 2010
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,302
I was hoping someone could tell me why I am having spotty communication with my I2C bus on various PIC MCUs. I've tried using a 16F887 and a 877 and sometimes they will connect to my INA209s on the I2C bus, and sometimes they won't. The circuit and code do not change but the PIC and the INA209s refuse to talk to each other. I have the 16F887 on a demo board with the SCL and SDA wires running to a breadboard where I have the INA209s. The SCL and SDA lines are pulled up to 5V using 4.7K resistors. I had the same issue yesterday that I fixed (and I am completely serious about this) by straightening the wires and connecting to a scope. Since that remedy is not working today, could there be another type of voodoo that I can try to get these two devices to play nicely?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top