Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
928 Views

Custom Spi Interface controlled by HPS in Arria 10

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
Altera_Forum
Honored Contributor I
47 Views

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.
Reply