Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

[SOLVED] SPI maximum distance at 100kbps

Status
Not open for further replies.

ashugtiwari

Full Member level 4
Joined
Dec 12, 2008
Messages
218
Helped
45
Reputation
90
Reaction score
44
Trophy points
1,308
Activity points
3,310
SPI comm distance

HI All,
What is the maximum distance of communication SPI can support with least speed fo communication with single device. Say the speed is 100kbps. Please reply.

Ashutosh
 

bobcat1

Advanced Member level 4
Joined
Jul 10, 2002
Messages
1,288
Helped
99
Reputation
198
Reaction score
34
Trophy points
1,328
Activity points
8,547
Re: SPI comm distance

Hi

Few meter to the most

All the best

Bobi

The microcontroller specialist
 

ashugtiwari

Full Member level 4
Joined
Dec 12, 2008
Messages
218
Helped
45
Reputation
90
Reaction score
44
Trophy points
1,308
Activity points
3,310
Re: SPI comm distance

Thanks bobcat
is there any relation for caculating distance for perticular speed of communication in SPI. what will be the approximate figure for distance of communication in SPI for this speed(100kbps).
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
47,875
Helped
14,125
Reputation
28,507
Reaction score
12,809
Trophy points
1,393
Location
Bochum, Germany
Activity points
277,851
Re: SPI comm distance

I guess, you're refering to the 3.3 or 5V TTL/CMOS/LVTTL/LVCMOS logic signals of SPI chips. They are basically intended for interchip communication rather than external interfaces. With 100 kbps, external cable length is mainly a question of interference susceptibility, I think. If you intend to pass a standard EMC, e.g. burst test with your design, don't do it.

Another question is to use a different layer 1 for the SPI protocol, e.g. RS422 or LVDS differential signaling. Then it's more suitable for external interfacing. But the amount of individual signals with SPI is unpleasant compared to other interfaces as half- or full-duplex UART.
 
  • Like
Reactions: tpetar

    tpetar

    points: 2
    Helpful Answer Positive Rating

ashugtiwari

Full Member level 4
Joined
Dec 12, 2008
Messages
218
Helped
45
Reputation
90
Reaction score
44
Trophy points
1,308
Activity points
3,310
Re: SPI comm distance

Thanks for reply FvM
the environment hwere I am using this protocol is noiseless, you can consider an open ground. And as I have tested it works pretty well for 10 feet cable, but i don't have any max distance specification for my speed for communication.
The communication is with one environmental sensor for atmospheric temperature.
Well, thanks once again for reply.
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
47,875
Helped
14,125
Reputation
28,507
Reaction score
12,809
Trophy points
1,393
Location
Bochum, Germany
Activity points
277,851
SPI comm distance

I think, a "noiseless" enviroment only exists in a lab. But taking it as granted, the cable capacitance will basically limit the maximum length. You also may experience signal reflections that cause overshoot and ringing. a SPI slave with fast clock input can possibly count multiple clock edges instead of one.
 
  • Like
Reactions: tpetar

    tpetar

    points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top