USB superspeed peripherals Forum Discussions
Hi,
We modify AN75779 reference code to receive our YUV camera module, it can be work.
Could you training me how to modify the AN75779 reference code to receive the RAW image?
Thank you very much.
Show LessHello everyone,
I'm trying to stream video from an Aptina-Camera with UVC to a PC. Using the FX3-Board and the USBVideoClass-Example (for RAW - Aptina MT9M114) I get no picture / video on PC.
Here my setup:
- Camera 10bit RAW or YUV422 (both doesn't work) with I2C connection to another device - so there is no need for sensor.c/sensor.h
- Camera 1280 x 960 30FPS
- AN75779 / FX3_RAWData_Cypress Driver and Descriptors.zip example
changes made:
uvc.c
uint8_t glProbeCtrl[CY_FX_UVC_MAX_PROBE_SETTING]
uint8_t glProbeCtrl20[CY_FX_UVC_MAX_PROBE_SETTING]
cyfxuvcdscr.c
/* Class specific Uncompressed VS Frame descriptor */
/* Class specific Uncompressed VS format descriptor */
-> set resolution, FPS and bitrate ...
I got often
Error in CyU3PDmaMultiChannelCommitBuffer: code 71
and the I made modification like in
Then I got debug prints like ...
UVC: Completed 106 frames and 135 buffers
UVC: Completed 106 frames and 147 buffers
...
But no video at all
Are there any other changes I must made to get the cam working?
Thank You,
Regards Norman
Show LessI am trying to modify the See3CAM_CX3RDK_ e-CAM59CX3 example found here: http://www.cypress.com/cx3/ and add another usb streaming endpoint. The mipi device that I have attached to is actually sending frames from multiple different cameras. These frames have a header in the first line of the frame which allows me to tell which camera they came from.
I have successfully modified the USB descriptor so that linux sees two separate UVC cameras (/dev/video0 and /dev/video1) Originally the application uses this socket for video:
dmaCfg.consSckId[0] = CY_U3P_UIB_SOCKET_CONS_3;
If I change this to CY_U3P_UIB_SOCKET_CONS_5 I am able to switch the video stream to /dev/video1. I am not able to stream to both video enpoionts at once however.
Reading in cyu3dma.h I can see that there is no CyU3PDmaMultiType_t that is many to many which is what I think I want. The existing application uses CY_U3P_DMA_TYPE_MANUAL_MANY_TO_ONE.
Is it possible to have the DMA switch endpoints during it's callback? I would like to change the consSckId on the fly so that I can stream frames to either video endpoint at will.
Does CyU3PUsbMapStream or CyU3PUsbChangeMapping help me accomplish this? I cannot find an example of either of these functions ANYWHERE on the web. I've read the documentation but I don't understand exactly how I should use them.
Attached is the unmodified example project. The only changes I've made are duplicating the bytes in the esUVCUSBSSConfigDscr struct. The rest of the application and dma setup I haven't touched.
Thanks for any tips in advance.
Regards,
Ben
Show LessHi,
I am learning USB development with Cypress FX3 and I met a problem when going through the tutorials.
I got stuck at the step when I need to use "Project -> Build Project" to generate image file in EZ USB Suite. I got a lot of files, like D file, O file, elf file, etc. except the image file. Does anyone meet the same problem before? Has anyone solved this problem?
By the way, "cs-make[1]: [post-build] Error 2 (ignored)" is showed after I 'build' the project. I am running 64 Win10 OS.
Best,
Eric
Show LessHello,
We want to read the SPI Flash over USB. is it possible to read the data of SPI Flash present on pactron FX3S EVM board over USB. If yes then how?
Thanks and Regards
Tarang Jindal
Show LessI read several posts about FX3 programmatically switch to different speed modes, let's say we have a FX3 dev board that plugs into a xHCI port (support super speed).
Here, what we want is to have FX3 dev board switched to three different speed modes ( plug into xHCI port), from one of the post I know that it can be switch between HS and SS, but not FS, can Cypress fix this?
Thanks,
Henry
Show LessHello,
I'm developping a USB composite device that provides two functionnalities:
- Data streaming from USB device to USB host. : one USB interface, one bulk endpoint
- A virtual COM port for controling the device : CDC class device,
When I put only the streaming interface in the superspeed configuration device, all is OK. The burst size set in the endpoint companion is properly set and I am able to handle the throughput of the video stream sent by the device.
When I put both configurations in the superspeed configuration device, after customization of .inf files, both devices are seen on windows (streaming device + serial port), but I am no longer able to handle the video stream.
Printing the video stream endpoint ssmaxburst parameter shows that the ssmaxburst is no longer set to 15 but to 0, as if the superspeed endpoint companion has been ignored in this case (note that I am working on Win7).
Dumping the usb descriptors in linux (lsusb -v) shows that in both cases, the max burst size is set to 15.
Did someone already faced that issue ? How to fix it ?
I attached the usb descriptors for reference.
Regards,
Yann
Show LessHi there,
The CYUSB301x manual (001-52136 Rev. *N), states: "When GPIF II is configured for the 32-bit data bus width, GPIO[50]-GPIO[52] may be configured as GPIOs or I2S, and GPIO[53] to GPIO[56] may be configured as
GPIOs or UART interface only."
Could someone elaborate on exactly why the SPI peripheral becomes unavailable when using a 32-bit GPIF II bus? I see no physical pin conflicts; GPIO[53] - GPIO [56] certainly don't overlap the GPIF II data or control signals, as far as I can tell.
I assume there must be some internal signal muxing/routing conflict, or other internal resource contention? If so, could someone share some details on this?
Thank you,
Jon
Hi,
I have to test my USB 3.0 - FX 3 - Application with Windows 10. Do you have a new driver, under the newest SDK 1.3.3 I only find drivers for WinXP to Win 8.1? I'm working with a FX3 on the electronic hardware and the GUI with Cyapi.lib/dll.
Another question...my application runs under USB 2.0 and with external USB 3.0 Host Controller, but never with USB 3.0 onboard (Intel-Chipset in HP-Desktop). Driver installation was ok, application starts, data receiver and displaying also works but after a few seconds the system crashes. Hardware is tested, also with other interfaces, so I think there is something wrong with the Intel-Driver under Win 7.
Can you please help me, are there any experiences?
BR
Show Less