• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Digital Signal Processors (DSP) » C6000 Multicore DSP » Keystone Multicore Forum (C66, 66A, AM5) » C6678 DSP PCIe issue with credits
Share
C6000 Multicore DSP
  • Forums
  • Announcements
Options
  • Subscribe via RSS
Training Available
TI provides self-paced online training that introduces the primary components of the KeyStone II family of SoC devices.

  • KeyStone II SoC Overview >
  • KeyStone II Software Overview >
  • KeyStone II ARM Cortex-A15 Corepac Overview >
  • More Information >
  • Check out
    Multicore Mix blog
    • $core_v2_blog.Current.Name

      A look back: Two years of Multicore Mix

      Posted 5 hours ago
      by Lauren Reed1
      A big thank you to everyone who participated in our contest last...
    • $core_v2_blog.Current.Name

      It’s our second anniversary, but you get the present!

      Posted 7 days ago
      by Lindsey Bare
      It’s hard to believe it’s already been two years...
    • $core_v2_blog.Current.Name

      Limited time offer: Save $100 on Keystone-based EVM!

      Posted 20 days ago
      by tscheck
      Have you been thinking about ordering a TI Keystone-based EVM...

    C6678 DSP PCIe issue with credits

    C6678 DSP PCIe issue with credits

    This question is not answered
    markus desgronte
    Posted by markus desgronte
    on Apr 12 2012 08:10 AM
    Prodigy140 points

    We have a performance issue with the PCIe lanes of the Shannon DSP.

    We are running the following SW lib (Version #: 0x01000003; string PCIE LLD Revision: 01.00.00.03)

    We have connected a Lattice FPGA with a Lattice PCIe core using a single PCIe lane.

    When setting up a DMA data transmission from the FPGA to the DSP via PCIe the achievable data rate is lower than expected. Looking at the data with a logic analyzer we found that the reason is a pretty low amount of credits the DPS’s PCIe  interface issues to the FPGA (0x2F).

    We have found no documentation about how to influence this.

    Any help appreciated.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Steven Ji
      Posted by Steven Ji
      on Apr 12 2012 09:33 AM
      Expert8595 points

      Markus,

      May I ask what is the data rate achieved in your case and what is your expectation please?

      And how the PCIe (single lane, but Gen1 or Gen2) and EDMA (DBS=64B or 128B, ACNT/BCNT) are configured for the transfer please?

      The Throughput Performance Guide discussed about the PCIe throughput and the factors affecting it. It has the realistic data rate for C66x PCIe module with 2 lanes, Gen2 and different EDMA DBS configuration. It could be the expectation data you can compare with.

      The credit is automatic managed. We can see if the other factors (section 11.1 in Throughput Performance Guide) affect your data rate and how we can get better performance. So please share more info about the configurations. Thanks a lot.

      Sincerely,

      Steven

      Sincerely,

      Steven

      ------------------------------------------------------------------------------------------------------------

      Please click the Verify Answer button on this post if it answers your question.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Frank Winzen
      Posted by Frank Winzen
      on Apr 17 2012 06:50 AM
      Prodigy10 points

      Hi Steven,

      please let me continue with this thread and answer your questions.

      Our connection between FPGA and DSP is one lane 2.5 Gbps. We do not use the EDMA, there is a DMA within the FPGA transferring 256 byte packets. Throughput is slightly above 1.2 Gbps, I would have expected/hoped something about 1.6 Gbps or even more.

      I read the throughput performance guide but it was only based on the connection of two DSPs with the internal EDMA limiting the transfer. This is not the case in our implementation.

      Watching the posted data credits offered to my VHDL implementation only two packets of 256 bytes are transferred and then transmission pauses because not enough credits are available. After credit update the next two packets are transmitted and so on. Sometimes the update does not release all credits but a smaller amount but this does not lead to slower overall transmission.

      The number of posted header credits is always greater than zero and does not influence the transmission.

      Questions are:

      • Can we influence the number of credits?
      • Can we influence the credit update period?
      • Are there more credits or a shorter update period when using 2 lanes?

      Regards,

      Frank

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Steven Ji
      Posted by Steven Ji
      on Apr 18 2012 13:54 PM
      Expert8595 points

      Frank,

      I think the flow control credit in C66x PCIe module is automatically managed. So there seems no control for the credit number or update period.

      Using 2 lanes will definitely give you more throughput. The credit could be doubled as well.

      Another thing you could try is to reduce the data burst size from 256 bytes to 128 bytes if you can control the DMA in FPGA. We can see if smaller credit required for each transaction will help on the throughput as well.

      Sincerely,

      Steven

      Sincerely,

      Steven

      ------------------------------------------------------------------------------------------------------------

      Please click the Verify Answer button on this post if it answers your question.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use