Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Endpoint Pinout mapping on CY3684

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



Endpoint Pinout mapping on CY3684
Moderator:
RSKV

Post Reply
Follow this topic



Endpoint Pinout mapping on CY3684

signal posted on 25 Mar 2013 11:55 PM PST
Member
3 Forum Posts

Could someone point me to an endpoint to P1 - P6 mapping on the CY3684?

I have the default/alternate pin configurations from the schematic and chip documentation but can't seem to find how they are mapped to endpoints.

I had thought it was Endpoint1 to P1, etc but that isn't the case.

Thanks

 

 




Re: Endpoint Pinout mapping on CY3684

NIKL posted on 25 Mar 2013 01:51 AM PST
Cypress Employee
148 Forum Posts

 It is not that way mapped that way.

Please go through chapters 8, 9 & 10 of FX2LP Technical reference manual (TRM) to get an idea of how the endpoint buffers are accessed.

The TRM will be available at the following path after FX2LP DVK installation: C:\Cypress\CY3684_EZ-USB_FX2LP_DVK\1.0\Documentation

 

Thanks

Nikhil



Re: Endpoint Pinout mapping on CY3684

Gayathri posted on 25 Mar 2013 07:01 AM PST
Cypress Employee
428 Forum Posts

 Hi,

 

What did you mean by P1-P6? Please clarify the same? Endpoint is nothing but a buffer in the device, which acts as source or sink of data.

 

Regards,

Gayathri



Re: Endpoint Pinout mapping on CY3684

signal posted on 25 Mar 2013 07:42 PM PST
Member
3 Forum Posts

"What did you mean by P1-P6? Please clarify the same? Endpoint is nothing but a buffer in the device, which acts as source or sink of data."
 
The Cypress FX2LP CY3684 Development Board has x6 20pin headers labeled P1 through P6. 
The CY3684 EZ-USB FX2LP Development Kit Quick Start Guide these are referenced as GPIO Headers (please see attached picture). 
 
The pinouts on the headers include:
 
P1 - PB[7:0] / FD[7:0]
P1 - PD[7:0] / FD[15:8]
P2 - PA[7:0]
P3 - PC[7:0]
P4 - D0[7:0]
P5 - A0[7:0]
P6 - PE[7:0]
 
My confusion is that it looks like PA, PC, D0, PE could be used with an endpoint.
These pins exist on the CY7C68013A family of chips.
 
Table 9-2 in the TRM shows that only one endpoint can be used with pins FD[15:0] and selected with FIFOADR pins on P2 (pins 14 and 15).
 
So my questions are:
 
Is it not possible to map an endpoint to any of the other pins such as PA, PC, D0, PE ?
 
If not with an endpoint, how does one utilize PA, PC, D0, A0, PE ?
 
Other documentation (example: AN58069) shows using PB[7:0] rather than the documented alternate name FD[7:0].
Is there no difference between PB,PD and FD[15:0] pins?



Re: Endpoint Pinout mapping on CY3684

RSKV posted on 25 Mar 2013 08:33 PM PST
Cypress Employee
851 Forum Posts

Please find answers to your questions in line:

 

Is it not possible to map an endpoint to any of the other pins such as PA, PC, D0, PE ?

          We don't map an endpoint to any of the port pins. We just mention the endpoint details in the descriptor file. If host PC sends some data to endpoint then that data will be written to the endpoint buffer over USB D+ and D- lines. You don't need to map any port pins to endpoint.

 

If not with an endpoint, how does one utilize PA, PC, D0, A0, PE ?

I am explaining you the usage of these port pins by assuming that you need to interface an external device  (let say FPGA) to FX2LP. Then you can interface FPGA to Slave FIFO interface of FX2LP.

          In Slave FIFO mode, Port A has a mix of fixed function pins for the Slave FIFO interface and alternate functions.

          In Slave FIFO mode, Port B is defined as the lower 8 bits of the FIFO data bus FD[7:0] and Port D is defined as the upper 8 bits of the FIFO data bus FD[15:8] if bus is set to be WORDWIDE.

          In Slave FIFO mode, Port C can be used as general purpose IO.

          Port E definition is determined mainly by the PORTECFG register.

        •          A0 and D0 are needed if you are going to add an external SRAM to FX2LP. (This is required only if the image (hex) file size is more than 16KB).

 

 

Other documentation (example: AN58069) shows using PB[7:0] rather than the documented alternate name FD[7:0].

Is there no difference between PB,PD and FD[15:0] pins?

          No difference. They are data lines in both Slave FIFO and GPIF mode. You can use them as GPIOs if you are not interfacing anything to FX2LP.

 

Thanks,

Sai Krishna.

 

 

 



Re: Endpoint Pinout mapping on CY3684

Gayathri posted on 27 Mar 2013 12:30 AM PST
Cypress Employee
428 Forum Posts

 Hi,

 

Check it out if you find this useful: http://www.cypress.com/?rID=12926.

 

Regards,

Gayathri






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