• 0
Sridhar Prasath Aruppukottai Ganesan

doubts on uartlite interrupt

Question

Greetings all,

 This might be a basic question about uartlite interrupt. lets assume that, we are going to use the uartlite in interrupt mode.

1. If we scugic interrupt, it will enter into interrupt handler function for each cycle(based on the timeout value).

2. If we use custom interrupt(user defined interrupt) , how will it enter the interrupt handler at the first place? "The interrupt handler should know that this is the reason(interrupt)why i am entering the interrupt handler function" ..right? 

3. where will we define that interrupt? otherwise there is a great chance that it wont enter the interrupt handler function at all..right?

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Dear @jpeyron i could also get the same ouput for uartlite interrupt example in my sdk. But I couldnt able to understand the code completely.  There are some doubts in that code.

1. What are sendhandlers and recvhandlers?

2.  Could you please just tell in simple words what are we exactly doing in that example? 

Your help is very much needed.

Thank youe.JPG.5010ffab6e6f6ab864546ae4d32275c7.JPG

Share this post


Link to post
Share on other sites
  • 0

Hi @Sridhar Prasath Aruppukottai Ganesan,

The Zynq Book here covers interrupts in more detail and has tutorials as well. My understanding of the example is that it generates data to be sent and then received and uses interrupts for both processes. Their code has comments throughout it as well. The example has a handler for both the send and receive process.   I would also suggest to reach out to xilinx support about their interrupt example to get more specific information about it.  Here is a AR# 50572 Zynq-7000 Example Design - Interrupt handling of PL generated interrupt that might be helpful. 

thank you,

Jon

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