Open MaheshAvula-Alifsemi opened 9 months ago
Hi @xiaocq2001,@yuxin-azrtos,
Any update on above comment.
ux_host_class_video_transfer_buffers_add
adds a list of buffers before transfer start, each buffer is for a video payload including 1 to 3 transactions. When a buffer is sent callback set by ux_host_class_video_transfer_callback_set
is called, to append a new buffer to end of the list. In this way certain number of buffers are "cached" for sending.
Multiple transactions per microframe is usually supported by controller driver, to allow controller endpoint to filled in multiple banks, or FIFO filled by 1-3 transactions bytes, or filled by DMA by 1-3 transaction bytes, if the controller driver is not modified to fit the multiple transactions transfer support that is not working.
Maybe you can check if your hardware (controller) can support multiple transactions per microframe and if your controller driver implements code to support this function.
ux_host_class_video_transfer_buffers_add
adds a list of buffers before transfer start, each buffer is for a video payload including 1 to 3 transactions. When a buffer is sent callback set byux_host_class_video_transfer_callback_set
is called, to append a new buffer to end of the list. In this way certain number of buffers are "cached" for sending.
Yes, it's correct, you mean that same application will work for single transaction per microframe and multi transactions(1 - 3) per also, we no need to prepare multiple buffers at time for multi transactions per microframe..? I really appriciate your help on this. Regards Mahesh
@xiaocq2001 ,
I am working on USB host uvc support, usb devices as connecting to my target board are logitch camera and AIRHUG camera ,
Please let me know if my understanding is correct, also could you please suggest that how we can request mutilple payloads at time from the application.
Regards Mahesh