element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development Zedboard multi-peripheral application(USB and HDMI reference designs)
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 1 reply
  • Subscribers 312 subscribers
  • Views 184 views
  • Users 0 members are here
Related

Zedboard multi-peripheral application(USB and HDMI reference designs)

Former Member
Former Member over 9 years ago

I am in the process of designing a standalone application for zedboard that uses the usb peripheral to receive data every 20ms and plots them in an HDMI screen. I based the input part of my application in the Standalone (Bare-Metal) USB Device Tutorial of this site and the output part in ADV7511 Zedboard Reference Design( http://wiki.analog.com/resources/fpga/xilinx/kc705/adv7511 ).

Each part is fully functional using the ADV7511 Zedboard Reference Design's hardware, but I have trouble trying to connect the two parts in a single software project. I think that the problem lies in the use of the interrupt system that both parts try to initialize and work with, but I am not sure about the specifics.

To my understanding the Xusbps driver uses DMA to tranfer the input data from the usb buffer to the DDR. How does it affect any other use of the DMA? And what configuration should I do for an other peripheral(axivdma) to use DMA as well?

Knowing that the output part uses IIC and DMA, what configurations in the gic should I do for the interrupt system to be able to work?

Thanks in advance for any help

  • Sign in to reply
  • Cancel
  • zedhed
    0 zedhed over 9 years ago

    Hi Conme,

    I think to determine whether this is possible, you need to be able to understand the amount of data that you are going to be moving during these two DMA transactions and make sure you are not exceeding the bandwidth limitations of your DDR3 memory.  Here is an interesting APP note that is related to performance of the VDMA used to support the HDMI output:

    http://www.xilinx.com/support/documentation/application_notes/xapp1205-high-performance-video-zynq.pdf

    As for handling two separate interrupts, that should also be possible.  I will use our Zynq SW SpeedWay training lab 10 as a reference and you can refer to that lab to get a better understanding of where this code is located in an application.

    In Lab 10, there is a single call to SetupInterruptSystem() which is responsible for setting up the GIC and registering interrupt handlers.

    Here is where you would need to make sure that you are registering the interrupt handler for each of the interrupts you are using.

    The GIC needs to know about the interrupt ID number, interrupt priority, level/edge detection, and the name of the interrupt handler.  Here is what lab 10 does in order to handle these requirements for interrupt registration:

    XScuGic_SetPriorityTriggerType(IntcInstancePtr, INTC_PWM_INTERRUPT_ID,
    0xA0, 0x3);

    /* Connect the interrupt handler that will be called when an
    * interrupt occurs for the device. */
    result = XScuGic_Connect(IntcInstancePtr, INTC_PWM_INTERRUPT_ID,
    (Xil_ExceptionHandler) PWMIsr, 0);

    /* Enable the interrupt for the PWM controller device. */
    XScuGic_Enable(IntcInstancePtr, INTC_PWM_INTERRUPT_ID);

    Regards,

    -Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube