Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

Sending and Receiving Data via UART using interrupts in NIOS

NMitt6
Beginner
977 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
741 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-reference-design/

If you need more help please let me know.

Regards,

 

Reply