USB superspeed peripherals Forum Discussions
Hi,
We have used 19.2MHz oscillator for CLKIN and REFCLK pins of CX3 used in our product and we have not used watchdog timer in our design.
During RE testing of the product with camera streaming at 220fps, the device fails at 720MHz, please refer below graph.
But when the camera is streaming at 30fps, the device does not fail, please refer below graph
Can someone please let me know the reason for this and its correlation with respect to frame rate
Thanks,
Menaka
Show LessMy application uses a vendor request to periodically set parameters. I noticed that requests are processed very slowly, on the order of 30 ms. On another processor (CY7C68013A), these same requests are processed 3 ms. How to change request processing speed.
Show LessPrelude:
Based on USB3.1 spec. ("State Diagram of the Link Training and Status State Machine") a link training is done before link power mode return to U0 from U1/U2. The SDK function CyU3PUsbSetLinkPowerState only allows the return to U0 mode, with the exception of the host requesting the switch to U1/U2 also U1/U2. If the device wants to change, this does not seem possible.
Another way is "Error, Directed", which can be observed via the event CY_U3P_USB_EVENT_LNK_RECOVERY.
Problem:
In our case, if the USB3.1 cable is "bad" with about 40 phy errors / second regular link errors and CY_U3P_USB_EVENT_LNK_RECOVERY messages. After an indefinite time of 2-10h no link errors can be observed (according to CyU3PUsbGetErrorCounts), but still around 20 phy errors / second. Therefore CYU3P_USBEP_SS_RESET_EVT occur frequently, so that the data transfer has to be restarted. As long as the event (CYU3P_USBEP_SS_RESET_EVT) occurs less than once per second, the problem can be compensated by error handling. Afterwards, one cannot transfer any image data stream from our device any more. If you now perform a USB reconnect, the problem of the CYU3P_USBEP_SS_RESET_EVT events will be fixed.
USB-Reconnect:
CyU3PUsbLPMEnable();
CyU3PConnectState(CyFalse, CyTrue);
CyU3PThreadSleep(25);
CyU3PConnectState(CyTrue, CyTrue);
CyU3PUsbLPMDisable();
The assumption is that the USB reconnect solves the problem temporarily through its link training.
Is there any way to force a link training by device, only to be sure it's a missing link training is the problem?
Information:
We use SDK 1.3.3 and also testet with SDK 1.3.4 but this seems less stable than the old one.
Show LessHello
Q1)
Please let me know what happens if they switch to the following mode due to human error.
①PMODE [2: 0] = 111
②PMODE [2: 0] = FFF
Q2)
Looking at the TRM pull up and pull down registers, the initial value is 0: 1: 0 for both UP and DOWN.What state is it in?
It would be helpful if you could give an example of the answer as shown below.
(Example)The terminal after reset is in the state of ○○, so above ① is in △△ mode, ② may be in □□ mode, but do not set
By the way, in ①, it becomes 10/10 times in USB Boot mode. ② Then, I2C mode has been turned 10 times.
Best Regards
Arai
Show LessI have used CYUSB3012-BZXC part in my design.
I am calculating maximum junction temperature of this IC according to power dissipation of this IC.
Can you please help me to calculate junction temperature of "CYUSB3014-BZXC"?
Show LessHello,
I am trying to modify the firmware of the CYPD3125-40 in Notebook mode to control our Mux from TI TUSB1046I.
I have problems debugging the firmware using the MiniProg3 and SWD jtag interface. The pins are configured correctly for SWD debug.
I am using the PSoC Creator 4.2 to build and debug the code and test it with the CY4531 development kit.
After programming the device I "Select Debug Target". Than I select "Attach to Running Target" to get in debug mode.
Most of the times i get stucked to the cy_bootloader() and dont come to the main.
Sometimes i come to the main() and can stepwise debug for some lines but than i get the message:
Error: dbg.M0015: Debugger exited unexpectedly during run. Encountered error (Target disconnected See output window for more information.)
can someone help me debugging the CYPD3125-40 with the CY4531 devkit?
Thanks
Christian
Show LessHi,
I am Trying to receive image data coming from DDR3 to P-Port of FX3. From FX3 P-Port,i have to transfer it to S0 Port of FX3 and then to SD Card.
Which firmware is best suited for this application with better throughput?
Thanks in Advance.
Regards,
Srujana.
Show LessIn our design, CX3 SPI interface was used to control peripheral, such as LCD or camera ISP.
Distance between CX3 and peripheral is around 40cm. SPI signal transfer via fine coaxial cable.
I'm afraid if SPI can work properly with 40cm length. Maybe it is ok. but I'm not sure.
My question:
1. The maximum signal length for CX3 SPI interface?
2. Any solution to increase sign quality to make sure SPI signal can transfer longer distance?
Show LessTo the Support,
I have been going round and round in a circle trying to make 400x400 raw8 sensor to work. Here are the list of modifications that I have done from UVC_AN75779 project.
1) change resolution to 400x400 (0x90, 0x01,).
2) Modified Sensor.h and sensor.c files for the new sensor. (see 8MHz PCLK, LV=50us pluse, and FV=33.3ms pluse and stay low for 32us.
3) cyfxuvcdscr.c file: Maximum video or still frame size is 150K bytes (0x00,0x71,0x02,0x00,)
4) Number of bits per pixel = 8 (8 bit raw)
5) X and Y dimensions of the picture aspect ratio are 0x04 and 0x04. (tried 01,01; 08;08, and 00,00)
6) UVC.C fiel: Max video frame size in bytes = 160K= 0x00, 0x71, 0x02, 0x00,
Below is the output from TeraTerm, after loaded the img file and ran AMCap apllication. AMCap showed black screen and under the Option property, it showed 0 frames played.
How can I get image data from FX3?
TeraTerm:
UsbEventCB: Detected SS USB Connection
USBSetupCB:In SET_FTR 0::1
USBSetupCB:In SET_FTR 0::1
USBSetupCB:In SET_FTR 0::1
UsbEventCB: SUSPEND encountered...
Entering USB Suspeþ
j½5
After the AMCap application:
USBSetupCB:In SET_FTR 0::1
Leaving Suspend Mode
Application Started
Show LessHi,
is it possible to make a parallel to serial conversion?
I need to send a 32-bit data from USB and serialize it and send it to one pin of GPIF II and also add two other bits as frame sync and clock.(actually using 3-bit of GPIF).
I look at examples for modifying data before sending to consumer, but I have difficulties in bitwise modification in GPIF II.
Is there a more straightforward example or hints for me to follow?
Thanks