Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21263 Discussions

DE10 communication with windows PC

YigalB1
Beginner
647 Views

I am looking for a way to communicate between a host PC (probably windows) and a project running on the DE10 lite. The software on the PC should send some information to the FPGA, then get a result and display it. Many times. 

Few options considered:

- Implementing UART on the FPGA, and use adapter from USB to UART on the windows machine. There are many UART implementations on the net.

- connect Arduino or ESP32 in between. From the windows machine side it is a USB com port, that software can use to send/receive data, on the FPGA side, the GPIOs will be toggled by the ESP32 

 

Is there a better/other method to do that?

Labels (1)
0 Kudos
1 Solution
FvM
Honored Contributor II
496 Views

Hi,
I must confess I'm using my own UART modules written from the scratch since many years, thus I didn't care for existing Quartus UART IP. Perhaps others want to add info about it.

Regarding UART over JTAG, I know there have been some projects, I looked upon it many years ago but didn't found it useful for my purposes. Instead I'm using other JTAG debug functions during development and initial PCA test along with UART based debug interfaces. Also remote debugging through Ethernet and custom interfaces.

Regards
Frank

View solution in original post

0 Kudos
10 Replies
Jeet14
Employee
574 Views

Hi


On Host side(windows PC) there are many application(putty, hercules etc) which can help you to see the data and from there you can send data over UART.


This UART you can use from the HPS side peripherals or FPGA side UART. On board you can use the C code to send/receive the data over UART.


Regards

Tiwari


0 Kudos
YigalB1
Beginner
560 Views

Thank you for the answer.

On the host side, I assume there will be a com port assigned, so the access via software is easy.

Is that the same com port assigned to program the DE10 Lite?

 

I still have questions about the  DE10 Lite side:

1- Can the UART IP that is part of Quartus be used for this purpose?

2- Would the communication to this UART will run on the USB connection that is used to program the DE10 Lite?

 

Thank you

Yigal

0 Kudos
FvM
Honored Contributor II
522 Views
Hi,
DE10 lite programmer hardware is copy of USB Blaster and has only JTAG functionality. It can be used for communication purposes e.g. through JTAG UART IP or other debug components like source & probe or in-system memory content editor. It requires Quartus JTAG stack components to be installed on the PC.

If you have the option to connect two FPGA pins to an USB UART, I'd prefer this option.
0 Kudos
YigalB1
Beginner
511 Views

@FvM wrote:
Hi,
DE10 lite programmer hardware is copy of USB Blaster and has only JTAG functionality. It can be used for communication purposes e.g. through JTAG UART IP or other debug components like source & probe or in-system memory content editor. It requires Quartus JTAG stack components to be installed on the PC.

If you have the option to connect two FPGA pins to an USB UART, I'd prefer this option.

The two FPGA pins are not an issue, I start to understand that implementing an internal UART is the solution - I opened a separate ticket for that - I am not sure how to to use the Quartus UART IP.

 

I sill miss something - if there is a UART over JTAG, wouldn't it be possible to use it?

0 Kudos
FvM
Honored Contributor II
497 Views

Hi,
I must confess I'm using my own UART modules written from the scratch since many years, thus I didn't care for existing Quartus UART IP. Perhaps others want to add info about it.

Regarding UART over JTAG, I know there have been some projects, I looked upon it many years ago but didn't found it useful for my purposes. Instead I'm using other JTAG debug functions during development and initial PCA test along with UART based debug interfaces. Also remote debugging through Ethernet and custom interfaces.

Regards
Frank

0 Kudos
YigalB1
Beginner
490 Views

@FvM wrote:

Hi,
I must confess I'm using my own UART modules written from the scratch since many years, thus I didn't care for existing Quartus UART IP. Perhaps others want to add info about it.

Regarding UART over JTAG, I know there have been some projects, I looked upon it many years ago but didn't found it useful for my purposes. Instead I'm using other JTAG debug functions during development and initial PCA test along with UART based debug interfaces. Also remote debugging through Ethernet and custom interfaces.

Regards
Frank


Thank you Frank. 

Using UART over JTAG could have been nice, since it is saving the FTDI device and wires to connect, yet there is no clear guidance so I think I will drop this idea, and go with UART on the side, as you did.

Would you share the UART you are using?

0 Kudos
Jeet14
Employee
394 Views

Hi,


Yes, the com port will be assigned at PC side from the Board UART port. please find reply to your questions.


  1. you can use the UART IP from the FPGA and its part of Quartus tool.
  2. you can use the One 2x20 GPIO Connector to get the UART interface.


Regards

Tiwari



0 Kudos
Jeet14
Employee
340 Views

Hi,


Let me know if you have any query on this.


Regards

Tiwari


0 Kudos
YigalB1
Beginner
317 Views

@Jeet14 wrote:

Hi,

 

Let me know if you have any query on this.

 

Regards

Tiwari



Thank you, I am all set.

0 Kudos
Jeet14
Employee
298 Views

I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, Please login to ‘https://supporttickets.intel.com/s/?language=en_US, 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.


0 Kudos
Reply