10-23-2017 04:43 PM
Hi,
I'm trying to write an interrupt driven UART routine but am having trouble finding a lot of documentation on how to do this. One example program that I have seems to indicate that I need "xintc.h" but it's not anywhere to be found when I export my hardware project from Vivado to SDK. And yes, I do have the interrupt enabled in Vivado.
Thanks for your help!
Dan
10-24-2017 09:36 AM
@dps Best place to look for examples is in the SDK itself.
Generate a "Hello World" application with respective BSP. Open the BSP's system.mss and you will see tons of examples for each of the IPs included.
10-23-2017 10:36 PM
@dps You need an AXI interrupt controller in your design. SDK only "imports" what's needed in the design.
10-24-2017 06:39 AM
Hi Henry,
I have an AXI UART LITE block with interrupt output that now goes to the interrupt input on the AXI Interrupt Controller. The output of the interrupt controller is connected to the input of the ZYNQ7 Processing System (IRQ_F2P[2:0].
Do you have any sample C code that I could look at to tie all this together?
Thanks,
Dan
10-24-2017 09:36 AM
@dps Best place to look for examples is in the SDK itself.
Generate a "Hello World" application with respective BSP. Open the BSP's system.mss and you will see tons of examples for each of the IPs included.
10-24-2017 10:15 AM
Hi Henry,
Will do.
Thanks for your help...
Dan