• 0
dzabakh

UART interrupt example

Question

Hello everyone!

I am facing a problem while working with a project on Zybo. I have UART1 input (the input connected with microUSB port) enabled in my project and I want to make a simple user interface in a standalone application.

I have already found several examples of such applications but the thing is that I don't want the program to continuously examine the input - I want the processor to get an interrupt every time the user makes an input.

Is there any example of how this has to be done?

Thank you in advance.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

The PS UART does have interrupt capabilities. Have you seen the UART interrupt example provided by Xilinx? I believe it will answer your questions. You can also find the controller's specifications in the Zynq reference manual page 583.

Sergiu

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now