> -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf > Of John Day > Sent: 18 August 2008 02:12 > To: Microcontroller discussion list - Public. > Subject: Re: [PIC] PIC-Friendly "serial expansion bus" > > At 07:52 PM 8/17/2008, Forrest W Christian wrote: > >5) Slaves should be able to be detected by the master, and should not > >have to have addresses set via dip-switches or other means. Globally > >(factory set) unique addresses are ok (aka 1-wire style), dip-switches > >are not (aka i2c is not an option). > > Nothing that you have said actually rules out I2C. If you use the > 'general call' address, you can discover the devices on the bus and > then dynamically assign an I2C address. In reality it depends almost > entirely on how dynamic you little network is, if it is highly > dynamic then this may result in a slow start-up each time. One thing that would tend to make it undesirable IMO is the complexity of implementing a slave in software, especially if you want it to work at reasonable speeds. If the SSP/MSSP is available on the slave devices then it's not a problem, but having the heardware available on the slaves is less likely than on the master IMO. Regards Mike ======================================================================= This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. ======================================================================= -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist