Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21595 Discussions

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

Altera_Forum
Honored Contributor II
1,187 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
451 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
451 Views

thank you sharkybaba

0 Kudos
Reply