Pages: [1]   Go Down
Author Topic: Arduino Nano with SPI Daisy Chain  (Read 1126 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi to all,
First time posting here, I need an advice on the possibility to build a daisy chain with 2 or more SPI slave devices.

The master will be the Arduino Nano, with an RF24L01+ and a ISD 1790 connected to it.
I need a daisy chain to connect them because I haven't more pins available to do a separate slave select for each device.

There is any possibility to realize a daisy chain without having the control over the devices' software?

Other solution is using an Arduino Mega and a separate slave select line for each device. smiley-wink

Thank you in advance.
Marco
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 129
Posts: 8531
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You can daisy-chain SPI devices under certain conditions like they are all the same and/or simple devices like shift registers and/or smart devices that can handle the data stream.

I'm not familiar with the devices you are using but I doubt it would be possible to connect them like that as they would have different requirements for the data written. Do they even have data outputs?

If you can spare a single extra pin you can use external logic to select between any number of devices by using a shift reg to provide the CS signals.

_____
Rob
« Last Edit: March 05, 2012, 07:04:52 am by Graynomad » Logged

Rob Gray aka the GRAYnomad www.robgray.com

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you very much,
i should be able to free 2 pins to do 2 slave select channels.

Thankyou again!
Logged

Pages: [1]   Go Up
Jump to: