Community
cancel
Showing results for 
Search instead for 
Did you mean: 
NMitt6
Beginner
310 Views

Sending and Receiving Data via UART using interrupts in NIOS

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
74 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