SPI question - Multiple IC's on the same bus?
Robert@HCC
Posts: 80
Alohas all,
I have quite a few SPI components in my current CanSat project:
Max187 (ADC)
DS1620(Temp)
DS1302 (RTC)
MicroChip 25LC640 (EEPROM)
My questions is, can I hook up all of the Data lines on the same bus like I2C ?
In other words, can I connect all of Data I/O pins on the ICs to one pin on the Basic stamp 2? If so, should I have some resistor on that line, and at what rating?
Running out of I/O pins here ,what with all the above components, plus GPS and RF ( and a uM-FPU handling the DS1620!) - I realize I can use shift registers to add I/O, but if I can run all of those components easily on one bus that would free up more than enough for my needs.
Thanks for any replies,
and Alohas!
Robert
I have quite a few SPI components in my current CanSat project:
Max187 (ADC)
DS1620(Temp)
DS1302 (RTC)
MicroChip 25LC640 (EEPROM)
My questions is, can I hook up all of the Data lines on the same bus like I2C ?
In other words, can I connect all of Data I/O pins on the ICs to one pin on the Basic stamp 2? If so, should I have some resistor on that line, and at what rating?
Running out of I/O pins here ,what with all the above components, plus GPS and RF ( and a uM-FPU handling the DS1620!) - I realize I can use shift registers to add I/O, but if I can run all of those components easily on one bus that would free up more than enough for my needs.
Thanks for any replies,
and Alohas!
Robert
Comments
shoulda used the search function BEFORE I posted - found the answer here - http://forums.parallax.com/forums/default.aspx?f=5&m=96701
[noparse]:D[/noparse]
Alohas