Re: Interface Buses

Erik Christiansen <[email protected]> Mon, 20 Oct 2003 10:43:16 +1000
Newsgroups gmane.comp.hardware.avr.general
Message-ID <[email protected]>
On Sun, Oct 19, 2003 at 11:46:10PM +0100, D I Freeman wrote:
> I have an AVR chip, and I want to interface a number of sensors to it,
> using some sort of bus, now the SPI bus springs to mind, but I am not
> sure if its possible to have n number of devices connected to it, and
> to read the data from each one?

We're in the process of designing a board with half a dozen SPI slaves
hanging off an AVR. Current intent is to use spare port pins as chip
selects, so that the slaves can be randomly accessed. (It would be a
pain to have to shift the whole lot while responding to interrupts.)

Have to admit though, we haven't done the smoke test yet.   :)

Erik