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