FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5203 Discussions

DE10-Nano | Unable to use UART (Platform Designer)

richard6
Beginner
435 Views

The attached pictures describe my test design where I try to setup a UART link between the NIOS II and my laptop.


The UART core signals are exported to the top-level design, where they are routed to arbitrary pins. According the forum at the following link, it is okay for those exported UART signals (RX, TX) to be arbitrarily routed since the HPS is hardwired such that the UART RX/TX signals go to the FT232R (https://community.intel.com/t5/FPGA-SoC-And-CPLD-Boards-And/DE10-Nano-RX-TX-pin-assignment/m-p/69096...).

In the NIOS II SBT, I configured the BSP settings to use the UART core as the STDIN and STDOUT.
However, when running the printf() function (picture 3, C code) nothing seems to actually travel through the UART:
1) The Tx LED on the DE10 nano does not flash (even if I push the reset button to restart the NIOS II program)
2) Nothing shows up on the Putty window of the laptop. (Whereas if I tap any key on my laptop, I can see the Rx LED on the DE10 nano flash.)

 

Does anyone know if I am missing a step or have something misconfigured? Thank you in advance!

0 Kudos
3 Replies
EricMunYew_C_Intel
Moderator
402 Views

Did you check if your Nios is booted and running?


richard6
Beginner
382 Views

Yes, I believe NIOS is booted and running!

I have two heartbeat LEDs, one software driven (NIOS) and one hardware driven (FPGA). Both are working/blinking properly.

 

Are there further checks I can do?

EricMunYew_C_Intel
Moderator
329 Views

Can you try loopback two UARTs within your FPGA and check if they work.



Reply