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 support@ccsinfo.com

SPI question

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



Joined: 23 Sep 2003
Posts: 852
Location: Utah

View user's profile Send private message

SPI question
PostPosted: Wed May 26, 2010 10:02 am     Reply with quote

Greetings!

Whenever I use I2C I will use a device, normally an LTC1694, to sharpen up the signals of the bus lines. I'm wondering if anybody ever uses a similar device to have the same effect on the SPI lines (or even if it's necessary). I have a project that will have the master and slave approximately 30 feet apart and want to ensure the signals are as clean as possible. It won't be in a noisy environment either.

Thanks!

Ronald
Why don't mosquitos suck fat instead of blood?
Ttelmah



Joined: 11 Mar 2010
Posts: 19369

View user's profile Send private message

PostPosted: Wed May 26, 2010 10:13 am     Reply with quote

Seriously, even in a 'non noisy' environment, you will need some ESD protection on lines this long.....
The main part of the question depends totally on the speed you intend to use, and the capacitance of the lines. You will also run into transmission line effects with lines this long. Assuming you are using SPI, because you want reasonable speed (otherwise don't bother, use something like RS485 instead). As such, you would be 'best off', accepting this, and properly terminating the lines to minimise reflection problems.
Use a line driver IC, with protection built in. Use a wire of known impedance, and terminate at each end.

Best Wishes
bkamen



Joined: 07 Jan 2004
Posts: 1611
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Wed May 26, 2010 6:45 pm     Reply with quote

Ttelmah's right.

Another option is to go optical.

http://www.i-fiberoptics.com/Fiber_optic_led_photodetectors.php

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
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