Why SPI is used board to board communications and RS232 is used outside board communications

Thread Starter

sgr

Joined Jun 27, 2017
34
Why SPI is used board to board communications and RS232 is used outside board communications ??
 

Papabravo

Joined Feb 24, 2006
22,058
SPI was not designed to work over long cables. RS-232 was designed for that purpose. RS-232 preceeded SPI by about 4 decades.
 

MrChips

Joined Oct 2, 2009
34,626
You cannot compare SPI and RS-232. One is an interface protocol and the latter is an electrical standard.

RS-232 was designed for device to device communications over moderate distances, approximately 10 m max, for example, between computers and printers, modems, etc. It defines the voltage, current, rise and fall times, and high voltage tolerance. RS-485 can be used over longer distances.

If you meant UART TTL interface, it would be limited to similar restrictions as SPI.

SPI and TTL interfaces are intended for chip to chip communications for no more that a few centimetres on the same board.

By the way, you can send SPi over RS-232 standard.
 
Top