Skip to main content
This topic has been closed for replies.

14 replies

daniel8
Associate III
May 17, 2011
Posted on May 17, 2011 at 09:36

As a sanity check, I assume you have pull-ups on your SCL and SDA lines on your board? If not, the bus will always be coming back as busy, and you wont get anywhere.

fred_blais5
Visitor II
May 17, 2011
Posted on May 17, 2011 at 09:36

Quote:

On 01-02-2007 at 14:23, k7g2lm3 wrote:

Hello,

is there anybody who managed to have I2C working properly and could help me? My problem is that only start and stop bit work, but no address or data is sent over the bus.

hi, I have the exact same problem, I can see the start bit, but no 7bit address. My code is inspired by k7g2lm3 code, except that I use the I2C1 port. I took a look to the solution of his problem, disabling other GPIO but it did not worked for me.. :(

Anyone as an idea?

k7g2lm3, if you see that, it would be great to have your advice on this!

hugh2
Associate II
May 17, 2011
Posted on May 17, 2011 at 09:36

I have 2 devices.

4k7 pull-ups and am running at 100,000kbps.

Thanks for your input. Keep going.

daniel8
Associate III
May 17, 2011
Posted on May 17, 2011 at 09:36

The only suggestion at this time that I have is to lower the pull-ups (to around 5-10k).

Two devices should not exceed the input capacitance requirements of the bus.

Daniel