Child pages
  • Serial Peripheral Interface (SPI) Master (VHDL)

Versions Compared

Key

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

...

  • VHDL source code of a Serial Peripheral Interface (SPI) master component
  • Configurable number of slaves
  • Configurable data width
  • Selectable polarity and phase
  • Selectable speed
  • Continuous mode Mode for lengthy data streams

Introduction

...

Figure 4.  Transaction Timing Diagram with Continuous Mode

Continuous mode Mode can transact very long data streams by being perpetually implemented.  Tying the cont port low disables continuous mode.

...

SPI 3-Wire Master (VHDL)

SPI to I2C Bridge (VHDL)

Accelerometer ADXL345 Pmod Controller (VHDL) – This design uses the SPI Master component described on this page to communicate with an Analog Devices ADXL345 Accelerometer.  It also demonstrates the use of the Continuous Mode feature of this SPI Master.

Ambient Light Sensor Pmod Controller (VHDL) – This design uses the SPI Master component described on this page to communicate with an ADC.

...