Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

This section refers to the following sample application(s):

  • 02-spi
  • 02-spi_net

Table of Contents


Serial Peripheral Interface Bus (SPI) is a digital communication bus commonly used for interconnecting chips on a printed circuit board.

...

  • The master lowers the CS line, indicating a transaction is starting
  • The master starts outputting a clock signal (a "square wave") on the CLK line
  • At each rising edge of the CLK line:
    • The master samples the MISO line. If it's high, that's a 1, if it's low, a 0.
    • The slave samples the MOSI line. If it's high, that's a 1, if it's low, a 0.
  • The transaction goes on until the master stops sending a CLK signal, and raises the CS line.

SPI on 
Include Page
_def_chip_eterna
_def_chip_eterna

The libraries provided with the 

Include Page
_def_ocsdk
_def_ocsdk
 allow you to use the SPI in master mode.

...