USB superspeed peripherals Forum Discussions
Is there any reference code about UAS?
Currently I'm studying for USB msc with EZ USB FX3 board, but it's not easy to find any information about UAS.
I saw a comment from 2 years ago that there is no example code for UAS.
But in the meantime, if someone has experience implementing it, please help me.
Hi,
Looking at the AN75779 and focusing on the Figure 32 (also as attached file) I noticed that DATA and COUNT are 2 different FW counters used to count the number of Bytes written in the DMA Buffer.
My question is the following: is it possible to use a single counter (for example ADDR) and enable the flag:"Reload counter on reaching limit" so that each time it reaches the max value of the DMA_Buffer for socket 0 it automatically resets its value and jump into the other state for socket 1 and vice versa?
Using the ADDR counter for both the DMA_buffer of the sockets and keeping COUNT free, will help me to use COUNT for a different scope in the state machine.
Thanks for the help.
dear team:
apply notebook : Is there a product recommendation for the corresponding specifications?
Hi Support,
Thank you for your usual support.
While designing the HX3, I faced the following questions while checking below AN.
https://www.infineon.com/dgdl/Infineon-AN91378_HX3_Hardware_Design_Guidelines_and_Schematic_Checklist-ApplicationNotes-v03_00-EN.pdf?fileId=8ac78c8c7cdc391c017d073c6ed2607c
* 5V power supply line of the DS port passes through a discharge resistor instead of a discharge FET. Therefore, it takes about 10 seconds to discharge. Is this a problem?
In addtion,I also have a question about the following questions.
AN P22 "Layout checklist"
"7:Are the USB SS and HS signal lines matched in length?"
* Is equal length wiring necessary for all three pairs (ex: US-D*, US-RX*, US-TX*)?
We are doing pattern wiring considering that only equal length wiring of pairs (P and N) is sufficient.Therefore the pairs are not wired with the same length. Is this a problem?
Could you please answer above two questions??
Best regards,
Koki
Hello
Could you please share Spice or IBIS model data of CYUSB2014-BZXC?
Best Regards
Hi,
simple question , related to CX3.
when void CyU3PDmaSocketDisable (uint16_t sckId,uint8_t mode) fails because the CY_U3P_ENABLED stays enabled...
what must be done to clear this bit correctly ? I cannot find any correct solution for now. The dead loop inside function is stalling the CX3 forever in this case :
value &= ~(CY_U3P_GO_ENABLE | CY_U3P_WRAPUP);
glDmaSocket[ip][sck].status = value;
while (glDmaSocket[ip][sck].status & (CY_U3P_ENABLED)); // what can be done if CY_U3P_ENABLED STAYS enabled ??
I must say that I reach this case in one of our design so this is not theoritical speaking. This function is called inside DmaReset function. I just want to reset the dma channel correctly at this point but because of this behavior, this is not reliable.
Library used is latest available, 1.3.4
Thank you for your help,
Best Regards.
Show LessI am conducting a loopback experiment with USB3.0, and the loopback function of CYUSB3014 has been implemented. Now I want to burn the loopback test program into the flash memory chip N25Q128 for solidification, but an error occurred, as shown in the figure. When I followed the steps, the error message of Programming of SPI FLASH Erase Failed was displayed in the bottom left corner of the USB Control Center. How can I solve this situation
Show Less
Hi,
I implement the Fx3-softreset Api and it take around 4 seconds for re-initialization the device in application code.
This is because I add the CyU3PThreadSleep() in the Firmware.
For optimization purpose Can I remove the Sleep and another way to do that ?
After the Soft-rest Host application will initialize the device and then send the vendor request .
Steps are as follow
1) USBDevice = new CCyUSBDevice(NULL, CYPRESS_GUID, true);
2) USBDevice->DeviceCount() // check for number of devices
3) USBDevice->Open(Device_No);
4) USBDevice->EndPointCount();
Also give suggest on Host application for softreset optimization.
Hello all,
I'm stuck on how to interface ov5640 sensor with FX3, so is there any basic source code for me to start working on this.
The ov5640 board I'm using is this https://www.waveshare.com/wiki/OV5640_Camera_Board_(C)
Regards,
Nolan
Show Less2028×1080@50fps 32bit
prblem:Webcams /VLC/amcap do not display video
- uart prints logs
wireshake image
The attachment has fx3 program, may I ask why there is no video transmission to vlc and other software display
Show Less