USB superspeed peripherals Forum Discussions
hi
is there an sample code which configure the sub device as NV12 camera ? i tried to configure in our usb description, but cannot work.
/* Class specific Uncompressed VS format descriptor */
0x1B, /* Descriptor size */
0x24, /* Class-specific VS I/f Type */
0x04, /* Subtype : uncompressed format I/F */
0x01, /* Format desciptor index (only one format is supported) */
SENSOR_RESOLUTION_MODE_NUM_HS, /* number of frame descriptor followed */
#if (SENSOR_TYPE == IMG_OV10650_OV495)
0x55,0x59,0x56,0x59, /* UYVY */
#else
//0x59,0x55,0x59,0x32, /* GUID used to identify streaming-encoding format: YUY2 */
0x4E,0x56,0x31,0x32, /* GUID used to identify streaming-encoding format: NV12 */
#endif
0x00,0x00,0x10,0x00,
0x80,0x00,0x00,0xAA,
0x00,0x38,0x9B,0x71,
16,/*0x10,*/ /* Number of bits per pixel used to specify color in the decoded video frame.
0 if not applicable: 10 bit per pixel */
0x01, /* Optimum Frame Index for this stream: 1 */
0x08, /* X dimension of the picture aspect ratio: Non-interlaced in
progressive scan */
0x06, /* Y dimension of the picture aspect ratio: Non-interlaced in
progressive scan*/
0x00, /* Interlace Flags: Progressive scanning, no interlace */
0x00, /* duplication of the video stream restriction: 0 - no restriction */
xingxing
thanks
Show LessCan someone explain how single state machine given (syncslave_fifo) in GPIF II project folder in AN65974 corresponds to state machines shown in Application Note for all the examples
Show Less
Hello guys,
We were able to successfully benefit from the application note AN75779 and use FX3 to transfer video streams from our image sensors (IMX250, IMX253, IMX420) to the PC. VLC player has been used to play the streams. Thanks for your support in that sense (thread 1, thread 2)! It is really appreciated.
We would now like to replace VLC player by our custom software using UVC class drivers. We would like to be able to change video resolution on the fly (by sending appropriate set_resolution commands from PC). On the page 65 (Section 9.2) of AN75779 document, it is explained that new frame descriptor should be added to available format descriptor.
How can we actually do it?
Does that mean we need to have multiple /* Class specific Uncompressed VS frame descriptors */ within CyFxUSBSSConfigDscr[] Super Speed Configuration Descriptor - one frame descriptor for every resolution supported?
Similarly, if we want to support different UVC RAW formats (e.g. YUY2 16 bits per pixel, some custom 32-bit per pixel format...), does that mean we need to have multiple /* Class specific Uncompressed VS format descriptors*/ within CyFxUSBSSConfigDscr[] Super Speed Configuration Descriptor - one for every VS format supported?
For the case of affirmative response on above questions, do we place multiple frame and format descriptors one beneath the other within CyFxUSBSSConfigDscr[] Super Speed Configuration Descriptor? Is it necessary to change any other field of CyFxUSBSSConfigDscr[] Super Speed Configuration Descriptor in order to support different video resolutions?
Thank you very much for your time and efforts!
Sincerely,
Bojan.
Show LessHi,
any suggestions or examples for initializing spare GPIO pins to control peripherals such as power supplies whilst using the snapshot UVC.
I would like to power up some external peripheral controls in a controlled manner after powering up the main FX3 chip and before launching the main video application
and also de-initializing them for low power mode.
Have the peripherals initializing and running a basic test cycle using the GPIO application example successfully.
Any help appreciated.
Show LessSometimes the PC(personal computer) can't detect USB device.
Then, unplug usb cable and plug it for porper operation.
There is no other way than this.
I want to use auto Power On/Off device or disconnect USB.
If I use 2 Port Hub between PC and USB device, is there a way for USB HUB to recognized whether PC detect USB device.
If possible, please rerecommand device and tell me the relevant register.
Show LessHi,
I'm Transfering data from FX3 to FPGA via GPIF II interface.With the Default Firmware i.e., the firmware in AN65974 application note i'm getting 0000 .But i have made some changes in GPIF II like(I made flags as active high and in transition equation i added DMA_RDY_TH3),with this i'm able to get one byte of data from FX3 to FPGA. After all these changes the signals also asserting properly from FPGA side.
My question is why the remaining bytes are missing,what may be the reason for this?
Can anyone let me know about this.
Regards,
Aswini
Show LessHi,
I'm Transfering data from FX3 to FPGA via GPIF II interface.I'm able to transfer only 12 bytes of data through control center and only 9th byte is showing in waveform
The data i'm getting on FPGA side is repeating as shown in below image.
Regards,
Aswini
Show LessI have the board layout with the PMODE lines connected as PMODE[2:0] = Z11, but the FX3 comes up as Cypress Benicia USB Boot Device (VID: 04B4 and PID: 00BC). I have PMODE2 not connected but there is no way for me to probe it without removing the chip completely. Is there any other issue as to why this would be happening?
Show Less請問 CyU3PUartTransmitBytes 這個 function
有沒有相關的 document 可以參考
謝謝~