Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Serial Peripheral Interface
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Advantages=== * Full duplex communication in the default version of this protocol * [[Push-pull output|Push-pull drivers]] (as opposed to [[open drain]]) provide relatively good signal integrity and high speed * Higher [[throughput]] than [[I²C]] or [[System Management Bus|SMBus]] ** SPI's protocol has no maximum clock speed, however: *** Individual devices specify acceptable clock frequencies *** Wiring and electronics limit frequency * Complete protocol flexibility for the bits transferred ** Not limited to 8-bit symbols ** Arbitrary choice of message size, content, and purpose * Simple hardware and interfacing ** Hardware implementation for slaves only requires a selectable shift register *** Slaves use the master's clock and hence do not need precision oscillators *** Slaves do not need a unique [[address space|address]]{{snd}} unlike [[I²C]] or [[GPIB]] or [[SCSI]] *** Masters only additionally require generation of clock and {{Overline|SS}} signals *** Results in simple bit-banged software implementation ** Uses only four pins on IC packages, and wires in board layouts or connectors, much fewer than [[Parallel communication|parallel interfaces]] *** At most one unique signal per device ({{Overline|SS}}); all others are shared **** Note: the daisy-chain configuration doesn't need more than one shared {{Overline|SS}} ** Typically lower power requirements than [[I²C]] or SMBus due to less circuitry (including pull up resistors) ** Single master means no [[bus arbitration]] (and associated failure modes) - unlike [[CAN-bus]] ** Transceivers are not needed - unlike [[CAN-bus]] ** Signals are unidirectional, allowing for easy [[galvanic isolation]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)