CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

SPI slaves and master hardware connection

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
nia



Joined: 23 Dec 2010
Posts: 8

View user's profile Send private message

SPI slaves and master hardware connection
PostPosted: Thu Dec 30, 2010 1:35 pm     Reply with quote

Hi,

How to connect a PIC (Master) to 70 PIC (Slaves) in SPI? I wonder, a direct connection of SDO, SDI, SS and SCLK between a master and multi-slaves will work? especially the SCLK, do we need buffer? pull up?

My master is dsPIC30F6014A, and the 70 slaves will be dsPIC30F4012

TQ,
Nia
temtronic



Joined: 01 Jul 2010
Posts: 9221
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Thu Dec 30, 2010 3:23 pm     Reply with quote

You'll have to read the data sheets to compute the fan-in, fan-out of those devices and depending on the physical distance between them vs. speed to see if buffer devices are needed.

Easy enough to read the info, R&D say 5 devices, then 10, then 20,etc....to see what happens in the real world.

My systems handle 128 remotes over 18 miles of copper using a single wire interface, so your 70 devices are possible but you'll have to start small and build on what you learn.

Noise and grounds are two issues to look into!!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group