Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
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.
12435 Discussions

Sending and Receiving Data via UART using interrupts in NIOS

NMitt6
Beginner
442 Views

Hello,

I am trying to send and receive data from UART using interrupts in NIOS soft-core processor. I have registered the "Interrupt Handler function", and registered it using "alt_irq_register()" function. But my program gets stuck in an infinite loop while trying to close the UART File handler.

Can anybody please help me resolve the issue

Thanks and Regards

Prince

0 Kudos
1 Reply
Ahmed_H_Intel1
Employee
206 Views

Hi,

This is been done so many times before. I am sharing with you now a design example that will teach you how to create a UART and use the interrupts with it.

https://fpgacloud.intel.com/devstore/platform/16.1.0/Standard/uart-rs-232-maximum-baud-rate-referenc...

If you need more help please let me know.

Regards,

 

Reply