Generic Soft SPI Master Controller Demonstration

Serial Peripheral Interface (SPI) Master Controller Demo

Our system is going under maintenance starting April 18, 2025 at 6:00 PM Pacific and ending April 20, 2025 at 4:00 PM Pacific. During this window, the website may not be reachable. For immediate assistance, please contact techsupport@latticesemi.com.

Industry standard interface - The Serial Peripheral Interface (SPI) bus provides an industry standard interface between processors and other devices.

Compatible with all SPI Modes - SPI interface is a good choice for designs that require full-duplex capability for sending and receiving data at the same time. The SPI Master Controller can communicate with multiple off-chip SPI ports and can also be configured to support all modes of CPOL and CPHA (00, 01, 10, and 11).

Features

  • Implements the Generic Soft SPI Master Controller Reference Design by performing simple transactions to the external SPI Flash device found in the MachXO3-9400 Development Board
  • Can also be programmed into a wide array of Lattice FPGAs such as MachXO2™, MachXO3, LatticeECP3™, ECP5™, CrossLink™, CrossLink™-NX, and iCE40 UltraPlus™
  • Provision for easy integration of any processor interface
  • Up to five slave select outputs
  • Configurable timing features for timing-sensitive slave devices

Jump to

Block Diagram

SPI Master Demo Board BD

Documentation

Quick Reference
Downloads
TITLE NUMBER VERSION DATE FORMAT SIZE
Select All
Generic Soft SPI Master Controller Demo - Documentation
FPGA-UG-02123 1.0 1/1/2021 PDF 1.6 MB
TITLE NUMBER VERSION DATE FORMAT SIZE
Select All
Generic Soft SPI Master Controller Demo - Source Code
FPGA-UG-02123 1.0 1/1/2021 ZIP 1.8 MB

*By clicking on the "Notify Me of Changes" button, you agree to receive notifications on changes to the document(s) you selected.

Like most websites, we use cookies and similar technologies to enhance your user experience. We also allow third parties to place cookies on our website. By continuing to use this website you consent to the use of cookies as described in our Cookie Policy.