OpenCores

SPI Verilog Master & Slave modules :: Overview

Project maintainers

Details

Name: spi_verilog_master_slave
Created: Mar 12, 2014
Updated: Feb 23, 2017
SVN Updated: Dec 16, 2015
SVN: Browse
Latest version: download
Statistics: View

Other project properties

Category: Communication controller
Language: Verilog
Development status: Beta
Additional info: none
WishBone Compliant: No
License: LGPL

Description

This Project provides SPI Mode-3 Master & Slave modules in Verilog HDL.
The data width is 8 bits. It is synthesized for Xilinx Spartan 3E, & can be clocked upto 225MHz. Maximum SPI Clock (sck) Frequency is 112MHz, which is derived from Main Clock. The scaling factors for SCK from master clock can be 2, 4, 8 & 16, which can also be reduced further.

SPI Master Module is coded in FSM (finite state machine)
The slave module is designed simply like a shift register.

The interface signals are SCLK (or SCK), MOSI, MISO and SS. SCK is the SPI Clock which is generated by the master device. MOSI is the data output of master which is the data input of slave device. MISO is slave data output which is data input of master. SS is the Slave Select active low signal which enables the slave device in the bus to be active.

TO DOWNLOAD CODE: http://opencores.org/websvn,listing,spi_verilog_master_slave

© copyright 1999-2017 OpenCores.org, equivalent to ORSoC AB, all rights reserved. OpenCores®, registered trademark.