- Please let know if the device came up on the device manager without any error mark.
- In case there is an error shown up on the device manager, share the screenshot of the same.
- Also, share the descriptor file that you have used in your project.
Kindly, note that FX3 has got one PCLK output that can be used for the GPIF interface. In case you are connecting two image sensors on the GPIF interface, it has to be taken care that both the sensors use the same clock. FX3 does not treat the image sensors as two separate devices, rather it acts as a pass through for the data between the GPIF interface and the USB interface.
Thanks for headsup on the CLK and GPIF interface side. I have not started
Also, i am trying this in 2 steps. First i like to get one one device with
one streaming, then i try to get 2 devs (/dev/video0 and /dev/video1) with
one stream each.
I am trying to bring-up the YUY2 stream over UVC. For example: 176x144
resolution. As of now I am trying to pass the buffer with "0" as data.
I had a silly error in the descriptor, now i can see the device enumerates
correctly. But I don't see the data transfer when I start the stream. If i
use the default mode (MJPEG stream as default in code example), the
Herein attached the code. Am i making some mistake ?
You use mgpeg?
How you configure sensor?
Sample has mjpeg. I am trying to do YUY2 data (just 0 or 0xFF which should give green or megenta frames). I am not using the sensor for now. Hence not doing any additional stuff related to MIPI
I try use ov5640 mjpeg advantades, but not result...
The Fx2g2UvcDemo example firmware that comes with the FX3 SDK implements streaming hard-coded YUY2 format image data in USB 2.0 mode. I have attached a project file that implements the same in USB 3.0 mode as well so that it can be used in FX3 or FX2G2.
Fx2g2UvcDemo.zip 506.3 K
It's very good example! Many thanks!
But please, tell me.
It's yuv422 format or yuv simple?
How convert rgb image to this format?
In wich function created frame picture?
static CyU3PReturnStatus_t UvcAppFillBuffers (CyBool_t updateData)
But, please, send me, how I find the start of frame.
I don't understand where is frame beginning.
I want show (for simple) static picture, but don't understood how sinchronize with start of frame.
1 of 1 people found this helpful
Please look for the definition of UvcAddHeader function block in the attached firmware. It contains the addition of proper header information which indicates the host if it is the EOF (End Of Frame). In this example, the EOF is detected based on the bytes of data that is transferred. If the bytes transferred equals the frame size, the EOF field in the UVC header is set.
Yes, I found.
// Indicate End of Frame in the buffer
buffer_p |= UVC_HEADER_EOF;
But this example also best worked on devboard fx3 superspeed explorer kit 003.
Now I try add SRAM support in example SRAM_FX3...