Skip to content

thatdanish/SPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serial Peripheral Interface (SPI)

Serial Peripheral Interface (SPI) protocol establishes synchronous-serial bit transfer between different ICs. It follows master-slave relationship, with master sharing a clock signal with the slave IC for ensuring synchronous transfers.

Source : Wikipedia

Implementation

This repository contains three blocks required for implementing the SPI interface, i.e. SPI-Master, SPI-Slave and a top wrapper acting as a Register Interface (RIF)

Design Parameters

  • CPOL : 0

Clock polarity: Shared clock (sclk) remains low under idle condition.

  • CPHA : 1

image

Fig 1: Transmitting and receiving two values ('d161 & 'd121) via SPI interface.

About

RTL implementation of Serial Peripheral Interface (SPI)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors