USB superspeed peripherals Forum Discussions
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 LessHello,
I am developing program to run and control my device under Linux distribution, where I want to control my device in program runs on linux. What I need to have in order to complete the program.
I have seen the libusb library I can use but is there anything Cypress provide to have better option then libusb?
Thank you,
-Dhrumil
Show LessHello,
Context:
We have a transient problem while receiving data from FX3 via a BULK IN endpoint and simultaneously issuing vendor requests towards the FX3 device. I use the FX3 SDK version 1.3.1.
Problem:
At random, a USB event CY_U3P_USB_EVENT_EP_UNDERRUN on endpoint 0x80 is reported and starting from this point in time, all data responses from FX3 to vendor requests via CyU3PSendEP0Data are received on the host as garbage (completely corrupted data).
Following facts are holding in the error condition:
.) Endpoint 0x80 and 0x00 are not stalled or not nak as i checked with UsbGetEpCfg on endpoint 0x80.
.) The data streamed via BULK IN endpoint is still working although.
.) Vendor Requests are received and CyU3PUSBSetupCb_t is called correctly (Only the SendEp0Data response gets corrupted).
.) My processing in the CyU3PUSBSetupCb_t only does EventSet and GpioGetValue so it returns very quickly.
.) I am calling only one of these functions in CyU3PUSBSetupCb_t: UsbAckSetup, UsbStall, SendEP0Data, GetEP0Data.
.) I return the value CyTrue from CyU3PUSBSetupCb_t at least in case of SendEP0Data or GetEP0Data.
Question:
Under what conditions does the USB event CY_U3P_USB_EVENT_EP_UNDERRUN occur and how can i recover from this situation or avoid it ?
kind regards,
Julian
Show LessHello world,
I'm trying to migrate from External clock to internal clock for Sensor interfaced with CX3, what are the changes needs to be done in CX3, if only CyU3PMipicsiCfg_t structure need to be changed can we do that with out using any tool?
Isn't there any way to control these parameters, without CX3 MIPI configuration utility tool?
Regards,
Nolan
Show Less