Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: Strange issue with I2C master

2013-05-19 by englsprogeny1

Hi Dave,

Can you give us a code example?

I see that this library is to be used with GCC.

I always use external pullup resistors on my I2C lines.


Is something else trying to write to the DIO used for SDA?








--- In AVR-Chat@yahoogroups.com, "Dave McLaughlin" <dave_mclaughlin@...> wrote:
>
> Hi all,
> 
>  
> 
> I have an ATMega328P and trying to use the I2C Master interface but when I
> send the start bit I am seeing a series of what appears to be clocks on the
> SCL line and nothing on the SDA.
> 
>  
> 
> I would expect SDA to be high at the same time as SCL goes hi and then SDA
> goes low but all I see is a clock output on SCL.
> 
>  
> 
>  
> 
> I am using the library from this website.
> 
>  
> 
> http://homepage.hispeed.ch/peterfleury/group__pfleury__ic2master.html
> 
>  
> 
>  
> 
> Any ideas what I am missing?
> 
>  
> 
> Dave.
> 
>  
> 
> 
> 
> [Non-text portions of this message have been removed]
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.