Hello Community!!!
I want to create a USB video class device for a virtual RGB and IR camera on the IMXRT1050 dev board but Im a bit stuck in how to generate the endpoints for the USB protocol in order to recognize both devices.
Also I researched that I need to modify or create a BOS descriptor in order to have both the color and the sensor camera, but not exaclty sure how to add this part if Im using the example code in the SDK for a USB video virtual camera device.
Hi @Ismael_dz ,
You should create a USB composite device for both RGB and IR camera. But there isn't such a demo. You can refer to the dev_composite_xxxx examples in SDK to see how to make a composite device, and AN12013 and it's software to see how to make a real UVC. You also can refer to SLN-VIZN3D-IOT sdk. It support UVC, switch between RGB/3D-IR/3D-depth. The sdk can be downloaded from https://mcuxpresso.nxp.com/.
Regards,
Jing