Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

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

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

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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