Giter VIP home page Giter VIP logo

spi-fpga-vhdl's Introduction

SPI-FPGA-VHDL

Serial Peripheral Interface (SPI) is a synchronous serial data protocol used for communication between digital circuits. Therefore with SPI interface FPGAs or microcontrollers can communicate with peripheral devices, sensors and also other FPGAs and microcontrollers quickly over short distances.

In this implementation both SPI master and SPI slave components are written in VHDL and can be used for all FPGAs.

Features

  • Configurable data length
  • Configurable polarity and phase (All SPI Modes are supported)
  • Configurable frequency

SPI master

Table of i/o ports:

Port name IN/OUT length [b] Port description
CLK IN 1 System Clock
reset_n IN 1 Asynchronous Active Low Reset
enable IN 1 Initiate Communication
cpol IN 1 Clock Polarity Mode
cpha IN 1 Clock Phase Mode
miso IN 1 Master In Slave Out
sclk OUT 1 Spi Clock
ss_n OUT 1 Slave Select
mosi OUT 1 Master Out Slave In
busy OUT 1 Master Busy Signal
tx IN data_length Data to Transmit
rx OUT data_length Data Received

SPI slave

Table of i/o ports:

Port name IN/OUT length [b] Port description
reset_n IN 1 Asynchronous Active Low Reset
cpol IN 1 Clock Polarity Mode
cpha IN 1 Clock Phase Mode
sclk OUT 1 Spi Clock
ss_n OUT 1 Slave Select
mosi IN 1 Master Out Slave In
miso OUT 1 Master In Slave Out
rx_enable IN 1 enable signal to wire rxBuffer to outside
tx IN data_length Data to Transmit
rx OUT data_length Data Received
busy OUT 1 SLave Busy Signal

License:

SPI Master and Slave components are available under the GNU LESSER GENERAL PUBLIC LICENSE Version 3.

spi-fpga-vhdl's People

Contributors

nematoli avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.