> -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of M Core > Sent: Friday, June 29, 2001 8:22 AM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: I2C bus for motorola HC16 to PIC > > > Hi, > Good questions. The master will be the 68HC16, it will ask > the 4 PICs on > the network to start gathering data. When the PICs are done, > they will pass > back their information to the 68HC16 - this can either be > polled by the > HC16, or the PICs could become masters; whichever is easier. OK, let's go! You have PICS with I2C hardware, use them in slave mode and emulate a master I2C on HC16. I2C is a synchronus protocole and not need bit-bang technics because you EVER knows when the slave sends his bits (when the master act over the clock line) So, you can send data to the pics (and you do not need special hardware inside HC16 and, later, poll the pics to retrive the results. Like using any I2C chip (RTC, EEPROM, etc.) sorry for my bad english :-( Sergi Sanchez Barcelona Tecnologia S.A. http://www.piclist.org/techref/member/SSB-BTSA-K6C -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body