Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Data into GPIF consumer socket from DMA, no flags asserting?

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Data into GPIF consumer socket from DMA, no flags asserting?
Moderator:
RSKV

Post Reply
Follow this topic



Data into GPIF consumer socket from DMA, no flags asserting?

PicoPete posted on 07 Aug 2012 7:59 AM PST
Member
8 Forum Posts

So I've got an application with a GPIF waveform that worked fine in V1 of the libraries but does not in V1.1 or 1.1.1 (although the upgraded libraries fix other issues I had with spi i2c gpio etc.).

The mechanism should transfer data from an out endpoint via an Auto DMA channel to the gpif which transfers out of an 8 or 16bit interface. The GPIF is running at 50MHz, Master, and the transition from wait to data out is defined as "(!BUSY)&(DMA_RDY_TH3)" where busy is an external input pin. The DMA is receiving data and filling buffers but the consumer CY_U3P_PIB_SOCKET_3 doesn't take any data. I beleive this is because the DMA_RDY_TH3 flag is never asserted having observed it on an output pin, the same is true of the WM flag or the current thread flags, none seem to toggle which they do from builds with V1 library. I have tried using this DMA as a manual channel and commiting the data manually using the CyU3PDmaChannelCommitBuffer function which returns success but I still get no data transferred out of the GPIF or any flags changing state.

Has anyone had this issue or possibly hit on a solution.




Re: Data into GPIF consumer socket from DMA, no flags asserting?

RSKV posted on 12 Aug 2012 11:30 PM PST
Cypress Employee
655 Forum Posts

Meanwhile, I would recommend you to create a tech support case so that one of our engineer will work on this in parallel to help you.

Thanks,

sai krishna.






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS 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. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

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 and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers 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.