Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers

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



can one read/modify internal slave FIFO pointer (the one that tracks external logic writes)
Moderator:
RSKV

Post Reply
Follow this topic



can one read/modify internal slave FIFO pointer (the one that tracks external logic writes)

Hyped posted on 17 Dec 2012 6:58 AM PST
Member
5 Forum Posts

Hi,

We are implementing new firmware in our FX2 chip. Part of the data flow requires access to the Slave FIFO from both external logic and the firmware. Using the EZ-USB TRM Revision D reference and following Section 9.3.8 I've been able to edit the data in the FIFO that was written initially by external logic (our FPGA). However, in assembling the IN packet to the host in the FIFO, we'd like to write header data to the FIFO *before* the external logic writes (and hopefully appends) the FPGA data. Currently, I find that the external logic/FPGA always overwrites the header data written to the FIFO by the firmware. Is there a way to control the FX2 internal FIFO pointer that tracks the writing of FIFO data by external logic, such that I could advance it the header length through firmware before the FPGA-based  Slave FIFO write?

 

Thanks!!

Scott

 







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.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20