CQ Xiao

Results 93 comments of CQ Xiao

I don't think so, up arrow key is not interpreted as normal character, it could be sequence of keys. Maybe you can check trace of the USB traffic, I think...

To use UVC on device side, following things need to be done: 1. Prepare descriptors (passed to stack as "framework"), .e.g., a simulated video camera: ``` /* Define device payloadwork....

_buffer_size is max endpoint size, _buffer_nb is number of payloads buffered.

> [18159360.538136] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround. > [18159365.657965] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 34). > [18159365.657966] uvcvideo: Failed...

Usually UX_SET_INTERFACE is received when there is host application using the video camera, e.g., open a camera application that can preview the video input.

Yes. When host application starts receiving video stream data, the alternate setting is selected to indicate consuming USB bus bandwidth, then the ISO transfer starts to transfer video stream. When...

Usually host set alternate setting to 0 and use VS request to probe control and commit control. Then host set interface to expected alternate setting and streaming data.

This is my testing data for you to reference: ``` /* APP specific probe/commit settings. */ static UCHAR video_probe_commit_buffer[48] = { W(0x0000), /* bmHint */ 1, /* bFormatIndex */ 1,...

`ux_device_class_video_write_thread_entry` is passed to stack to start a thread to send data in FIFO to host, the FIFO is created from parameters passed in register function. When you need to...

Here is an example (on ST NUCLEO-H723ZG) that you can reference: https://github.com/STMicroelectronics/x-cube-azrtos-h7/tree/main/Projects/NUCLEO-H723ZG/Applications/USBX/Ux_Device_Video