Forum Discussion
How can I use the loan I/O?
Hello I am new to fpga.
I try to use uart for send data to pc.
I use de1-soc and there are two part FPGA and HPS.
According to my understanding, UART is connect with HPS, so I should borrow the pin use loan IO.
In the back, I attached a picture of how I did it.
First I only use tx, so I activated loan io 62.
and export loan io
and make this code (loan io oe 62 <=1 (out) / loan io out 62 <= uart_txd
It is my top level. I have another code for uart
Compile is completed but uart is not working.
Please advise for me. what is wrong. and how to use loan I/O
Thanks a lot.
4 Replies
- VROGE2
Occasional Contributor
Did you ever figure this out? I am also trying to use the UART on a cyclone V SoC using LoanIO but I am having some troubles.
- dkim37
New Contributor
We haven't solved your problem yet.
I contacted a local Intel company but did not receive an accurate response.
Please let me know if you can solve it.
We are just buying uart-gpio and using it.
- VROGE2
Occasional Contributor
Upon a second look at your code I noticed that you're using LoanIO 62. From some of the other research I have done on this subject I believe that you have to use LoanIO 50 as the TX. I could be completely wrong but it might be something that would be worth a shot. The UART-GPIO may be the way to go for me as well if I can't get mine to work either so let me know how that goes.
- TSche18
New Contributor
Anybody something new? Have the same problem since...I don't know when, but nothing helps