With your modifications, I dont get any bad start/stop cond, even under 
heavy communications
on the I2C bus.

But the read from the Atmega is still erratic... I will plug tomorrow my 
oscillo on the bus
to figure out what happens...

Thanks !

Frederic.

Geert Vancompernolle a écrit :
>
> --- In [EMAIL PROTECTED] s.com <mailto:foxboard%40yahoogroups.com>, 
> Frédéric Feyel <[EMAIL PROTECTED] .> wrote:
> >
> > I have still an issue : your driver reports an error while generating
> > the stop bit. I checked the code,
> > and found the test which produces this error, but I do not understand
> > how the test
> > can generate such an error.
> >
> > Also, I still have problems to get reliable reads from the atmega, but
>
> Just to inform you, Fréderic.
>
> Yesterday evening, I found a few small problems in my code while
> testing other I2C components.
>
> The problems were especially located around the generation of the
> (N)ACK bit. There were too many unnecessary high/low changes, which
> resulted in false start/stop conditions.
>
> I've uploaded the newest version, which you can find at the usual place:
>
> http://tech. groups.yahoo. com/group/ foxboard/ files/GeertVc/ 
> <http://tech.groups.yahoo.com/group/foxboard/files/GeertVc/>
>
> I've also added a subdirectory where everyone will be able to see the
> history of the I2C driver file "i2c.c", so you will be able to see at
> all times the changes I've done.
>
> Is it possible for you to try with this version and see if you're
> still facing the problems?
>
> > I think that the end is not that
> > far.
> >
> > I will post my (small) modifications when it will work.
>
> OK.
>
> >
> > Thanks for your work !
>
> Welcome!
>
> Best rgds,
>
> --Geert
>
>  

Reply via email to