Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] I2C / TWI

2007-06-27 by David VanHorn

> For bit banged ASM stuff look at AVR300 and AVR302, I have used the
> master and it works very well. Some people think that there may be
> some merits on using the bit banged TWI as they suspect some hardware
> issue with the hardware TWI. I have some more bits if you get stuck,
> I have partially translated the C code for AVR315 (Master) into ASM but
> it is not pretty yet.

I'd prefer to use the TWI hardware.  I need this fast, and I'm in a
very limited environment, one master, and exactly four slaves.
I already implemented a "broken comms" timer, so that it will restart
if the comms hangs.  Only a truly hung hardware (broken) would stop
me.

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.