I have example UVC+CDC.
Many Thanks. Is very good example.
Yes, video is exist.
But, I looked, that for the case USB2 in descriptors file there is no description of CDC.
I myself added these CDC descriptors for my USB2 (file). In my added project files (descr2.h in added arcive)
the device became defined as a composite in UVC and CDC devices.
And even works.
But it working not stable.
Not full functionality is manifested, mainly in the following.
On some computers on the "upward" channel uart not communication - from uart to the virtual com-port.
On some computers in the case of usb2, on some computers in the case of usb3.
In the opposite direction, from virtual com port to the uart communication is good.
I try any drivers.
I do not even know what to correct. Look here please.
Solved! Go to Solution.
I use the version CDC, you sent me a few months ago.
When working on a computer with Win10 everything works well (both for USB2 and USB3).
It can not be the case in the drivers for Windows 7?
I can not do a lot of testing. Because not so many computers with different windows OS..
There is new information.
Now I commented on the lines:
// Uncomment following line to enable still image support
//#define STILL_CAPTURE_ENABLE (1)
// Uncomment the following line to provide verbose debug logging.
//#define CX3_DEBUG_ENABLED (1)
// Uncomment the following line to run the mipi error thread
//#define CX3_ERROR_THREAD_ENABLE (1)
// Uncomment the following line to run as UVC 1.0 device. Default is UVC 1.1 device.
// #define CX3_UVC_1_0_SUPPORT (1)
Previously, these lines were uncommented
And sometimes the messages began to be transmitted (not very often).
Maybe there is a reason for setting priorities or something similar?
It seems to me that this does not work because I have two types of devices (their mixture): UVC1.0 and UVC1.1