Forum Discussion
Altera_Forum
Honored Contributor
8 years agoconnect hps to fpga
Hi, I'm using de-10 standard and I need to connect RX and TX signals to UART, but i need them to connect to FPGA. I know you can connect hps to fpga, but I cannot find any examples for my...
Altera_Forum
Honored Contributor
8 years agoYou can utilize the HPS's UART, but it is a bit more complicated. Firstly, you need to open Qsys, set the two UART pins as loan I/O to the FPGA. Qsys will identify these as 67 I/O channels exported to the FPGA (even though only two of them are) so you need to count the channel numbers correctly. Then, assuming that the FPGA IP has it's own enable signals, you can connect that IP's output to these two HPS Pins that are used as loan I/O.
Finally, you will have to compile the design, update the preloader to the HPS SD Card (the preloader sets the HPS I/O properties, including the loan I/O settings) and hopefully it works :) (it's complicated, really. If you have $60 perhaps you can consider this: http://www.terasic.com.tw/cgi-bin/page/archive.pl?language=english&categoryno=225&no=1025&partno=1. Personally I'll solder the 2 wires out :))