Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
21615 Discussions

Serial Peripheral interface between an Fpga an H bridge for Dc motors

Altera_Forum
Honored Contributor II
1,212 Views

ladies and gentlemen,  

I want to implements a SPI interface between an FPGA and a H brigde for DC-Motors. 

The Nios II serial peripheral interface (SPI) module is an Altera SOPC  

Builder library component included in the Nios development kit. 

can someone help me how to iplements SPI using Nios II? 

 

thank you 

 

 

karim
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
476 Views

Hi Karim, 

 

Have you had a look on the Nios Forum for SPI related threads? There are discussions and examples of code for using SPI. I'd suggest searching that forum and also reading the Altera document on the SPI peripheral. It depends on the device your NIOS is communicating with, but it should be fairly straightforward. 

 

Cheers 

 

Sharkybaba
0 Kudos
Altera_Forum
Honored Contributor II
476 Views

thank you sharkybaba

0 Kudos
Reply