Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
19836 Discussions

Custom Spi Interface controlled by HPS in Arria 10

Honored Contributor II

Hi to all, I've a question about HPS. Is possible via HPS-FPGA bridge to command a Customized SPI interface (instanced as shared HPS GPIOs ) or it is necessary to use the embedded HPS SPI interface routed to FPGA ? For HPS prospective is preferred to use embedded SPI IP or it is not necessary?  



Best Regards
0 Kudos
1 Reply
Honored Contributor II

I'm not sure I understand your question. You can configure one or more of the HPS SPI controllers to send the SPI signals over to the FPGA section instead of HPS pins. In that case your FPGA design must connect those signals to FPGA pins and it doesn't go through the HPS to FPGA bridge. 

Alternatively you can put an Avalon SPI master component in the FPGA and connect it to the HPS to FPGA bridge. The SPI signals then need to be connected to FPGA pins and can't be shared with HPS GPIOs. 

Both solutions are fine but you must just remember that the HPS SPI controller and the Avalon SPI controller don't have the same software interface and will require different software drivers.