- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm looking forward for simple design flow to implement serial interface between FPGA and Host PC.
I'm aware I can connect HPS pins to FPGA to get uart_rx and uart_tx signals. Platform editor allows to work in two ways for this: (1) connect UART controller pins to FPGA (2) IO loaning.
In both cases its not clear how to connect the input and output signals added to the hps component instantiation, to the FPGA resources and be able to access them without incurring into synthesis error. Then:
(*) How to connect exported HPS pins to the top level module IO ports and internal signals?
(*) Regarding the preloader configuration, is it a must when using io loaning? Will GPIO selection in the Pin Multiplexer help to simplify the setup vs IO loan?
(*) Finally, accessing the UART through the AXI bridge may also work, can that setup function without starting up ARM processor, specifically, may the HPS work standalone?
Many thanks in advance.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
AN706 talks you through configuring the HPS so that HPS pins are exposed to the FPGA fabric.
https://www.intel.com/content/www/us/en/programmable/support/support-resources/design-examples/soc/exm-hps-fpga-interface.html
Cheers,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alex, thanks for your reply.
- I've been following the application note without success. I can expose HPS pins as indicated there (by assigning FPGA in the Peripheral Pin configuration in Platform designer and exporting them). I also connected them in the hps instantiation in the top level design and added the required AL_IOBUF instances.
- However given the application note is for another device, I cannot figure out how to proceed to the PAD connection. I.e when exporting uart0_tx and uart0_rx, quartus asks to connect them to a top level pin, and after that I couldn't find a way to apply proper pin assignment. Connecting them to B25 and C25 (the HPS pins associated to those signals in the board datasheet) quartus will report error in pin assignment.
Additionally,
- i found ftp://ftp.intel.com.br/Pub/fpgaup/pub/Intel_Material/16.1/Tutorials/Accessing_HPS_Devices_from_FPGA.pdf as reference
- all says that LoanIO is the way to go. I have configured everything in Platform Designer, connected the exported LOANIO pins in the top level.
- Again I cannot figure out how to do the pin assignment for those exported signals.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is helpful information regarding connection:
Key it to use loan 49 and loan 50 on this board (instead of 60 and 61 which would be the direct understanding in Platform Designer gui)


- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page