Re: TI-H: Multimaster I2C routines


Re: TI-H: Multimaster I2C routines

Osma Suominen wrote:
> Andy Johnson wrote:
> > > Then there'd be a variant for the general call address (00000000) that
> > > every I2C device receives. This will be very similar, but requires some
> > > thought. It could, for example, be used for "All hosts, identify
> > > yourself" -type requests, public messages in a chat program etc.
> >
> > You could also have a specific id code that many calcs would respond to
> > as a kind of chat room.  Only calculators in that chat room should
> > respond.
> Good point. But that could be done in the chat program only, so the
> "room id" would reside in the freeform data inside a packet with the
> "chat" protocol id.
> Now who wants to make a multimaster I2C chat program? =)

Well yes it could be done that way, but then any calc in any chat room
at all would have to look at the freeform data in all chat messages.  If
you were to put the chat room code in the leading address, the calc
could ingnore messages going into other chat rooms.

Andy Johnson

Follow-Ups: References: