FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5975 ディスカッション

FPGA DE0-nano with RFS for serial communication

rosesea
ビギナー
1,192件の閲覧回数
Hi, I'm new new new newbie using FPGA I am having difficulty in sending processed signal data using the DE0-Nano FPGA to my PC. I've read some suggested methods on this forum, one of which involves using additional drivers. I have an RFS module equipped with UART to USB (CP2102N). What are the steps for me to utilize this RFS module to send my signal processing results to my PC? I'm having trouble finding existing examples. Which library should I add to my platform design so that my DE0-Nano FPGA can connect to the UART to USB (CP2102N) on the RFS? Thank you, rosesea
ラベル(1)
0 件の賞賛
12 返答(返信)
Farabi
従業員
1,168件の閲覧回数

Hello,


Is this the RFS(Radio Freq and Sensor) board you are using? link : https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=65&No=1025&PartNo=4


regards,

Farabi


rosesea
ビギナー
1,156件の閲覧回数

Indeed, the board has UART to USB, aand I think I can use it for serial communication to my laptop.

 

Thank you,

rosesea

AqidAyman_Intel
従業員
1,109件の閲覧回数

Hello rosesea,


There is the document named RFD_UserManual.pdf provided in the link provided by @Farabi.

Have you check the document?


There are the RTL Example designs provided as well as the demonstration setup that you can follow and see if it can help you with your difficulty.


Regards,

Aqid


rosesea
ビギナー
1,088件の閲覧回数

Hai Aqid,

Thank you for your advice. I have tried to search for demonstrations on the use of UART to USB, but I am having difficulty finding ones that only use UART to USB.

 

Then, I attempted to use the DE10-Standard, which in its system builder has an RFS port declaration. I have also added the UART (RS-232 Serial Port) library to my platform design and created a program on NIOS II to send "hello world" with transmission configuration for the host PC as per the tutorial at https://www.youtube.com/watch?v=7xJ9dhVDCwU.

 

There were no errors, but the "hello world" message did not transmit to the host PC. Is there any advice on what else I should ensure for my project?

 

Thank you,

rosesea

FvM
高評価コントリビューター III
1,075件の閲覧回数
If you are using NIOS II in your design, Intel UART IP is a reasonable choice. Don't know why your test doesn't work.
For designs without soft processor, I'd prefer a simple fixed baud rate UART module. I'm not aware of suitable Intel IP, but there are many examples on the internet. I'm usually writing it from the scratch. It's basically a shift register, a baud generator and a state machine.
AqidAyman_Intel
従業員
949件の閲覧回数

Hi Rosesea,


May I know if you need more support on this issue?

Or did you find the solution.


If no, please let me know.


Regards,

Aqid


rosesea
ビギナー
929件の閲覧回数

Hi Aqid, 

Thank you for asking me, I'm still unable to send data from DE10-Standard using RFS to my laptop. I'm not using the USB to UART (serial communication) available on the DE10-Standard because I find it difficult to activate that port since it requires activating its HPS system and I haven't found any examples of its usage yet.

Thank you,
rosesea

FvM
高評価コントリビューター III
910件の閲覧回数
Your first post is talking about DE0-Nano (Cyclone IV), now you tell that you apparently have DE0-Nano-SoC (with Cyclone V HPS). I presume there are examples how to setup the SoC system, e.g. on Rocketboard. But it's basically the same as I said about Nios soft processor. If your application doesn't need it, you'll rather use a basic FPGA UART.
AqidAyman_Intel
従業員
868件の閲覧回数

Hi rosesea


Can you help to confirm on the usage of the basic UART as suggested by @FvM?


Regards,

Aqid


FvM
高評価コントリビューター III
852件の閲覧回数

I'll send you an example of basic TX UART.

HAF
ビギナー
177件の閲覧回数

hello, 

may you please provide for RX?  and by basic Fpga do you mean it doesn't require any HPS connection? 

please extend you help ASAP

 

AqidAyman_Intel
従業員
768件の閲覧回数

As we do not receive any response from you on the previous question/reply/answer that we have provided, please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


返信