07-29-2019 06:16 AM
I want to test my entire video system to handle the frame rate. I used the image data collected by the PL side, then buffered into the DDR through VDMA0, and transferred the buffered image to the image processing IP via VDMA0. The processed image is then buffered into the DDR via VDMA1 and finally displayed via HDMI. If you add a time function to the SDK software, how should you add it? What is the specific solution?
07-29-2019 06:57 AM
In a real-time video system like the one that you are describing, your best bet is to have one of the IP in your system generate an interrupt everytime it completes a frame. The processor can then keep track of the amount of time that elapses between interrupts.
07-29-2019 07:06 AM
I understand your idea. Can I add the IP of the time node to the hardware project of vivado, and then calculate the difference between the two time nodes in the C program in the SDK? If this method is feasible, what should I do specifically?
Thank you very much!
07-29-2019 07:41 AM
You could use one of the VDMA's to generate the interrupt. The VDMA driver provides example code for SDK that illustrates using the VDMA with interrupts. Look for "xaxivdma_example_intr.c" at:
Replace the XXXX.X with the version of Vivado that you are using.
08-08-2019 10:35 AM
Is everything clear for you on this topic?
If your question is answered or your issue is solved, please kindly mark the response which helped as solution (click on "Accept as solution" button below the reply)
If this is not solved/answered, please reply to the thread giving more information on your current status.
Thanks and Regards,