Yahoo Groups archive

AVR-Chat

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

Message

RE: [AVR-Chat] Re: I2C

2005-09-12 by Alex Shepherd

> Apparently there is no simple way to connect two or more AVRs 
> together using I2C protocol in BASCOM, since they are configured as 
> masters internally. If you find a solution (Bascom), pls let me know.

Most I2C libraries I've seen only do Master or Slave but not both.

AFAICT the main BASCOM library is a Master only, but they do also have a
software based Slave I2C library that you have to purchase separately, which
allows any AVR with I2C hardware or not to be a Software I2C Slave. I
brought it for US$ 1, but never used it.

The only library I have seen that is supposed to handle Master to Master I2C
comms as well as Master to Slave is the Procyon AVRlib by Pascal Stang. See:

http://hubbard.engr.scu.edu/embedded/avr/avrlib/docs/html/i2c_8c.html 

Cheers

Alex

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.