Forum Discussion
NMitt6
New Contributor
6 years agoSending 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
1 Reply
- Ahmed_H_Intel1
Frequent Contributor
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,