Home/Support/Support Forum/Problem with I2C and LP3500
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Problem with I2C and LP3500

0 votes
Hi!
I'm having a problem using I2C on LP3500 board. I have defined i2c.lib to use correct pins (out0 and out1) and have pull-up resistors on sda and scl lines. the chip i'm trying to communicate to is MCP9808 from microchip. The problem is that there is nothing happening on the scl or sda pins, they stay constantly high. no clock signal or anything. i cant even seem to get start condition. Anyone have any idea what could be my problem?
asked May 26, 2014 in Rabbit Software by kuuki New to the Community (0 points)

Please log in or register to answer this question.

2 Answers

0 votes
The I2C library defaults to using PD6 as SCL and PD7 as SDA. These should be connected to the EEPROM chip with pull up resistors.
answered May 29, 2014 by MargaretK Veteran of the Digi Community (545 points)
0 votes
It sounds like you have not set things up correctly. Try using out6 and out7 instead. These are the default pins PD6 and PD7.

If this does not work it may not be possible to set out6 and out7 as necessary for I2C.
answered Aug 13, 2014 by trooper2 Veteran of the Digi Community (589 points)
...