Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > sockets and threads

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



sockets and threads
Moderator:
RSKV

Post Reply
Follow this topic



sockets and threads

Spectrum posted on 15 May 2012 6:25 PM PST
Senior Member
13 Forum Posts

Hi,

I am working with the 2 address bit 32 bit data synchronous slave fifo example referenced in AN65974. I have an FPGA on the P Port and right now all it is doing is setting the address lines, A0 and A1, from 0 to 3 repeatedly. When I run the example I see Flag A and Flag B set to low. I then send 512 bytes from the USB Control center on the OUT endpoint and I see Flag B go high when the address is set to 1 or 3, and go low when it is set to 0 or 2. Flag A stays low at all address. Since for this example both Flag A and Flag B are set to current thread, I expected to see them track each other.
 
Is that assumption correct?
 
Also, the GPIF II help file says
 
sockets 0,4,8,12, etc., are mapped to thread 1. It’s thread 0 isn’t it?
sockets 1,5,9,13, etc., are mapped to thread 2. It’s thread 1 isn’t it?
 
Thank you for your help.



Re: sockets and threads

aasi posted on 18 May 2012 11:30 PM PST
Cypress Employee
1073 Forum Posts

Hi,

GPIF II Designer or the Application note for that matter talks in generic terms. I don't remember there being reference to specific example/waveform library.

Yes. Your understanding is right. I'll get the documentation bug corrected.

Regards,

Anand






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.