multiple props
ThePenguinMaster
Posts: 89
ok guys i know this has been run into the ground over and over and over, but in risk of repeating a previous thread...
im planning on using a few prop chips for my project, getting them to work togather dosnt seem like a huge challange since one will be commanding the other as a hard drive controller, and buffering data to remote memmory. the part im unsure about is that i heard that 2 devices can be programed on one line using the i2c lines. is it possible to send programs to a chip and have both of them programmed in one run? how would one set something like this up?
im planning on using a few prop chips for my project, getting them to work togather dosnt seem like a huge challange since one will be commanding the other as a hard drive controller, and buffering data to remote memmory. the part im unsure about is that i heard that 2 devices can be programed on one line using the i2c lines. is it possible to send programs to a chip and have both of them programmed in one run? how would one set something like this up?
Comments
Post Edited (Mike Green) : 7/17/2007 2:00:54 PM GMT
When Prop 0 has loaded it's program from eeprom it can increment a predetermined "prop_number " variable in eeprom that starts at zero so as to enumerate each prop that subsequently loads from eeprom. Each prop just increment the prop_number and from there determines the software that it should run and of course releases it's child's reset line.
This also means that the eeprom may not be available for shared application memory unless some sort of bus busy detection is built in. Fortunately the I2C bus is designed for multimasters it just means that the I2C driver has to be up to scratch too.
Any existing prop design can easily be "multiprop'd" by piggy-backing another prop (dip or qfp) on top of the parent and simply bending the reset line out so that it can be wired to the parent's "child reset" line. Sounds too easy? Yes it does, but it is easy. Of course, the only I/O that needs to be shared are the I2C lines plus a dedicated child reset.
There are many variations of this basic scheme but it provides a very practical way of connecting and programming multiple propellers.
*Peter*