Serial Peripheral Interface Bus

Serial Peripheral Interface Bus

Protocol Analyzers

SPI Protocol Analyzers are tools which sample an SPI bus and decode the electrical signals to provide a higher level view of the data been transmitted on the bus. Some SPI protocol analyzers are built into oscilloscopes while others are stand-alone devices.

Related Terms

Queued Serial Peripheral Interface (QSPI)

The queued serial peripheral interface (QSPI) is one type of SPI controller, not another bus type. It uses a data queue with programmable queue pointers that allow some data transfers without CPU intervention [ [http://www.freescale.com/files/microcontrollers/doc/ref_manual/QSMRM.pdf Queued Serial Module Reference Manual] , Freescale Semiconductor] . It also has a wrap-around mode that allows continuous transfers to and from the queue with no CPU intervention. As a result, the peripherals appear to the CPU as memory-mapped parallel devices. This feature is useful in applications such as control of an A/D converter. Other programmable features in QSPI are chip selects and transfer length/delay.

SPI controllers from different vendors support different feature sets; such DMA queues are not uncommon, although they may be associated with separate DMA engines rather than the SPI controller itself. Most SPI master controllers integrate support for up to four chipselects, although some require chipselects to be managed separately through GPIO lines.

Microwire

Microwire is essentially a predecessor of SPI. It's a strict subset: half duplex, and using SPI mode 0. (Microwire-Plus supports other SPI modes.) Microwire chips tend to need slower clock rates than newer SPI versions; perhaps 2 MHz vs 20 MHz. Some Microwire chips also support a 3-Wire mode (see below), which fits neatly with the restriction to half duplex.

3-Wire Serial Buses

As mentioned above, one variant of SPI uses single bidirectional data line (Slave Out/Slave IN, called SISO) instead of two unidirectional ones (MOSI and MISO). Clearly, this variant is restricted to a half duplex mode. It tends to be used for lower performance parts, such as small EEPROMs used only during system startup and certain sensors, and Microwire. As of this writing, few SPI master controllers support this mode; although it can often be easily bit-banged in software.

When someone says a part supports SPI or Microwire, you can normally assume that means the four-wire version.

However, when someone talks about a part supporting a 3-Wire serial bus you should always find out what they mean. They might mean standard four-wire SPI ... excluding the chipselect pin from that count, since most buses use chipselects but only three wires carry "real" signals. (Plus, sometimes with an unshared SPI bus segment the device's chipselect will be hard-wired as "always selected".) They might mean "real" 3-wire SPI. They might even mean an RS232 cable with just RXD, TXD, and shield/ground, or an application-specific signaling scheme.

References

ee also

*I2C, sometimes called "2-wire" bus
*1-Wire
*Microwire
*Computer bus
*Controller Area Network
*Serial communications
* Synchronous Serial Port (SSP)
*Peripheral
*Interface

External links

* [http://embedded.com/showArticle.jhtml?articleID=9900483 Introduction to Serial Peripheral Interface] article on embedded.com
* [http://www.epanorama.net/links/serialbus.html Serial buses information page]
* [http://www.mct.net/faq/spi.html SPI Introduction] with helpful diagrams
* [http://www.serialflash.com/ Serial Flash] Lots of good information on SPI part manufacturers and models.
* [http://ww1.microchip.com/downloads/en/DeviceDoc/spi.pdf SPI - PICmicro Serial Peripheral Interface] Microchip (company) tutorial on SPI.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Serial Peripheral Interface Bus — Serial Peripheral Interface Liaison SPI: un maître et un esclave Une liaison SPI (pour Serial Peripheral Interface) est un bus de donnée série synchrone baptisé ainsi par Motorola, et qui opère en Full Duplex. Les circuits communiquent selon un… …   Wikipédia en Français

  • Serial Peripheral Interface — Bus SPI: un maestro y un esclavo …   Wikipedia Español

  • Serial Peripheral Interface — Das Serial Peripheral Interface (kurz SPI) ist ein von Motorola entwickeltes Bus System mit einem sehr lockeren Standard für einen synchronen seriellen Datenbus, mit dem digitale Schaltungen nach dem Master Slave Prinzip miteinander verbunden… …   Deutsch Wikipedia

  • Serial Peripheral Interface — Liaison SPI: un maître et un esclave Une liaison SPI (pour Serial Peripheral Interface) est un bus de donnée série synchrone baptisé ainsi par Motorola, et qui opère en Full Duplex. Les circuits communiquent selon un schéma maître esclaves, où le …   Wikipédia en Français

  • Serial Peripheral Interface — SPI (англ. Serial Peripheral Interface, SPI bus  последовательный периферийный интерфейс, шина SPI)  последовательный синхронный стандарт п …   Википедия

  • Serial — Serial, anything in the form of a series, can refer to several things:Art and literature*Serial, a format by which a story is told in installments **Serial (film), films released in chapters for viewing in cinemas, particularly in the 1930s and… …   Wikipedia

  • Bus (computing) — 4 PCI Express bus card slots (from top to bottom: x4, x16, x1 and x16), compared to a 32 bit conventional PCI bus card slot (very bottom) In computer architecture, a bus is a subsystem that transfers data between components inside a computer, or… …   Wikipedia

  • Bus analyzer — A bus analyzer is a computer bus analysis tool, often a combination of hardware and software, used during development of hardware or device drivers for a specific bus, diagnosing bus or device failures, or reverse engineering. A bus analyzer is a …   Wikipedia

  • Synchronous Serial Port — An SSP is a Synchronous Serial Port (SSP) controller capable of operation on a SPI, 4 wire SSI, or Microwire bus. [NXP Semiconductors [http://www.nxp.com/acrobat/usermanuals/UM10211 1.pdf page 384 of LPC2364/66/68/78 User manual Rev. 01.07; © NXP …   Wikipedia

  • Serial ATA — SATA redirects here. For other uses, see SATA (disambiguation). Serial ATA (SATA) From top to bottom, SATA Certification Logo, SATA cable, and two first generation (1.5 Gbit/s) SATA data connectors on a …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”