|
Please find the answers to your questions below:
1) First of all I was wondering if there is any issue with bulk endpoints, that is, if there are any bulk endpoints designed specifically for working in SuperSpeed mode. If not, then I can just set a couple of IN/OUT bulk endpoints and use them independently of the port (USB 2.0 or 3.0) I connect the device to?
<RSKV>
Yes. You can configure endpoints to IN/OUT bulk endpoints and use them independently of the port.
Suppose you have developed your application firmware for FX3 device based on the example projects that we provide then it works independent of the port that you connect it to.
<RSKV>
2) The Alternate Interfaces. Let's say I have a USBDevice (CCyUSBDevice*) and I set the EndPoint 4 for IN transfers and EndPoint 6 for OUT transfers. Then I do a USBDevice->setAltIntfc(new_interface). Should I set a new pair of EndPoints or the alternative interface will just use the previous ones? And if so, each alternative interface is bound to its EndPoints or I just have to set them up everytime I switch to another interface?
<RSKV>
When you are using alternate interface then you can use the same endpoint numbers or different endpoints. Basically this information you need to mention in the descriptor tables. Please refer to the example project that comes with the Cypress SuiteUSB installation. (C:\Cypress\Cypress Suite USB 3.4.5\Firmware\CyStreamer)
http://www.cypress.com/?rID=34870
<RSKV>
Regards,
sai kirshna.
|