Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Re: Multimaster network

2005-03-07 by Brian Dean

On Mon, Mar 07, 2005 at 12:35:07PM -0000, Adam Read wrote:

> I had a (very) quick look at it, and it looks fairly complex to me,
> lots of decoding and stuff. I'm a very basic c programmer, and that
> looks above my skill level, plus it appears you need an RS485 chip.
> Wouldn't it be easier to utilise a 2 wire interface instead?

RS485 is only 2 signal wires.

> I'm currently looking at the mega64, and it has the module onboard,
> but it appears to allow multi-masters, and only needs the two
> pull-ups on the SDA & SCL lines. I realise that it'd be a pain in
> the butt on older chips (I've played with 8535s), but I think it may
> be simpler to implement.
> 
> In your opinion, would it be easier/more efficient to go for TWI or
> for ROBIN?

For short distances of a 1 meter or less, then I2C is fine.  I2C is not
designed for longer distances without bus extenders.  If you need
longer, you need something like RS485, CAN, etc.

-Brian
-- 
Brian Dean
BDMICRO - ATmega128 Based MAVRIC Controllers
http://www.bdmicro.com/

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.