USB superspeed peripherals Forum Discussions
Hi,
I'm using the AN75779 demo project with my camera initialize function, now I can get correct images(1280*1080).
But the output frame rate is always half of input(30FPS),even in other frequence such as 2 FPS.
What's the cause of this problem?
Regards,
Qi
uint8_t glProbeCtrl[CY_FX_UVC_MAX_PROBE_SETTING] = {
0x00, 0x00, /* bmHint : no hit */
0x01, /* Use 1st Video format index */
0x01, /* Use 1st Video frame index */
0x15, 0x16, 0x05, 0x00, /* Desired frame interval in the unit of 100ns: 30 fps */
0x00, 0x00, /* Key frame rate in key frame/video frame units: only applicable
to video streaming with adjustable compression parameters */
0x00, 0x00, /* PFrame rate in PFrame / key frame units: only applicable to
video streaming with adjustable compression parameters */
0x00, 0x00, /* Compression quality control: only applicable to video streaming
with adjustable compression parameters */
0x00, 0x00, /* Window size for average bit rate: only applicable to video
streaming with adjustable compression parameters */
0x0A, 0x00, /* Internal video streaming i/f latency in ms */
0x00, 0x30, 0x4A, 0x00, /* Max video frame size in bytes */
0x00, 0x40, 0x00, 0x00, /* No. of bytes device can rx in single payload = 16 KB */
#ifndef FX3_UVC_1_0_SUPPORT
/* UVC 1.1 Probe Control has additional fields from UVC 1.0 */
0x00, 0x60, 0xE3, 0x16, /* Device Clock */
0x00, /* Framing Information - Ignored for uncompressed format*/
0x00, /* Preferred payload format version */
0x00, /* Minimum payload format version */
0x00 /* Maximum payload format version */
#endif
};
0x1E, /* Descriptor size */
0x24, /* Descriptor type*/
0x05, /* Subtype: uncompressed frame I/F */
0x01, /* Frame Descriptor Index */
0x01, /* Still image capture method 1 supported */
0x00, 0x05, /* Width in pixel */
0x38, 0x04, /* Height in pixel */
0x00,0x00,0x8D,0x27, /* Min bit rate bits/s. */
0x00,0x00,0x8D,0x27, /* Max bit rate bits/s. */
0x00,0x30,0x2A,0x00, /* Maximum video or still frame size in bytes(Deprecated)*/
0x15,0x16,0x05,0x00, /* 30fps */
0x01,
0x15,0x16,0x05,0x00,
Hi,
We are using Cypress' CYUSB3014 on a new board we're currently developing.
On our latest assembly run, we have a number of boards that are failing to be recognized by a PC. What i've noticed are:
- no FX3 UART activity
- pclk (GPIO_16) doesn't toggle
- DP line toggles when USB cable is hooked up, then goes to 3.3V. On working boards, DP goes to 0V.
Power supply levels are clean. Clock input is OK at 26Mhz . Reset input is high.
Any suggestion on how i can debug/diagnose the problem?
Many thanks!
Show LessWhat is the tolerance of I2C Open-drain voltage?
Device : CYUSB306x.
If VDDIO1:1.8V, Is it possible that I2C Pull-up Voltage is 3.3V ?
If damage, I will use I2C level-shift.
CYUSB306x datasheet is below;
thanks,
Show LessSuperSpeed Explorer Kit User's Guide references following video:
Note You can go to www.cypress.com/go/GettingStartedwithEzUsbSuite for a video course on getting started with the Eclipse IDE for FX3.
Where is this video?
Regards,
Show LessHi
After rebuilding our firmware using your 1.3.4 SDK to improve USB3 comms robustness, we are now experiencing random byte dropouts on the MOSI line, leading to frequent EEPROM read corruptions. This was not happening before the upgrade. Can you please help? Traces attached. Thanks.
Fernando Fonseca
Snr Elec Eng
Malvern Panalytical Ltd.
Show LessI have the CX3 streaming 2720x2080@14.4 fps data as a UVC device. The code was generated using a CX3 configuration project.
The source data is 10-bit raw monochrome data, so I would like to enable the CX3 streaming endpoint.
I have commented out
/* #define UVC_APPLICATION */
from uvc.h and the device now shows up as 'Cypress FX3 USB StreamerExample Device'
however, when I try to send vendor command 0x76, I receive the following error:
Additionally, the streamer app only shows errors when I try to read from the device.
Can you provide any insight as to what I might be doing wrong?
Thanks!
Show LessHi,
How can I make CyUSB3014 switch from a usb3.0 device to a usb2.0 device?
Intel chipset if you connect a USB2.0 device and USB3.0 device will used different usb port.
Regards,
Ethan
Show LessHi
I'm using the CyAPI API for performing asychronous bulk transfers between the host (running Windows 10) and a Cypress FX3.
The FX3 is sending data to the host. The host application is only receiving on the bulk endpoint. The FX3 is sending relatively large chunks of data per transfer. I am successfully able to perform such large transfers up to approximately 4 MB.
Now I have new use case where the FX3 is sending more than 4 MB in a single transfer. I am calling BeginDataXfer() and FinishDataXfer() with the bufLen parameter set to 5 MB (5*1024*1024). The FX3 is performing transfers that are larger than 4 MB but smaller than 5 MB.
In this situation, the CyAPI API is behaving very strange. Firstly neither BeginDataXfer() or FinishDataXfer() are returning any errors, i.e. it looks like they are completing successfully from the point of view of my application. Typically, FinishDataXfer() will return with bufLen set to the maximum buffer size after completion. Sometimes it will also be less. I have found in the CyAPI documentation some hint that CyUSB3.sys driver is limited to 4 MB bulk transfer size.
I have the following questions.
1. Is it true that CyUSB3.sys driver is limited to 4 MB per bulk transfer?
2. If yes, is this a limitation of the driver or the operating system?
3. Is it possible to detect (via error checking) that I'm passing a bufLen parameter that is too large for CyAPI? I expect the API to know any size limitation and would therefore expect these functions to return an error if I'm trying to receive too much data.
4. How to get around this problem? Do I have to perform multiple calls to BeginDataXfer() / FinishDataXfer() per transfer?
5. How can I differentiate between the case when a transfer is exactly the size of bufLen and the case where the transfer is not finished yet and I need to call BeginDataXfer() / FinishDataXfer() again?
Thank you
Show LessHello,
we are using fx3 device(cyusb3035) with jtag segger.we are able to use jtag segger with fx3 but we need to program spi flash that is connected to fx3 device through jtag segger?how can i achieve this?
thank you
geetha.
Show Less