Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] I2C again

2007-07-02 by David VanHorn

On 7/2/07, John Samperi <samperi@ampertronics.com.au> wrote:
> At 07:58 AM 3/07/2007, you wrote:
> >What I'm wrestling with at the moment, is what the SONAR wants though.
>
> It MUST be that darned PIC messing with your mind :-)

Yup.. Pic rays..

> >but you CANNOT read the data using the broadcast address..
>
> That makes sense otherwise all units would try and respond at the same
> time and...crash...

True, but if you have only one device on the bus, then why not let it respond.
The thing that bugs me is that this isn't a documented behaviour, and
their support guys said that what I was doing (including the broadcast
address) ought to be working.


> Must admit it is getting interesting though, I tried to compile the test
> code on Brian Dean's website but unfortunately it must have been written
> with an earlier version of WinAVR and the new one does not want to compile.

The second write of the address seems broken, unless I'm reading it
wrong, he's setting up to not get an ack but testing for the ack in
the result code.

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.