Add CDC device to UVC

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
VlKh_2251656
Level 5
Level 5
10 likes given 5 likes given First like received

Hello.

I have an example of a video camera (UVC) built on a chip CX3. Tell me, how to fix the descriptors, in order to create in addition to UVC class another device CDC (virtual com-port)?

1 Solution
lock attach
Attachments are accessible only for community members.
Keerthy_V
Moderator
Moderator
Moderator
First like given 250 sign-ins 50 solutions authored

Please find the attached CX3 example project having UVC+CDC interface.

Download this example project onto Denebola RDK. When the kit enumerates, UVC interface automatically binds to UVC driver and will come up as CX3-UVC under 'Imaging devices' section of Device Manager. Whereas, the CDC interface will come up as CX3-UVC under 'Other devices' section of Device Manager.

You need to force bind this interface to CDC driver as follows:

1. Download and install CypressDriverInstaller_1.exe from the following link: http://www.cypress.com/documentation/software-and-drivers/usb-serial-software-development-kit

After default installation, 'Cypress USB-Serial Driver' folder will be created in the following path: C:\Program Files (x86)\Cypress

2. Right click on CX3-UVC under 'Other devices' section of Device Manager and choose 'Update Driver Software'.

3. In the pop-up window, choose 'Browse my computer for driver software'.

4. Choose 'Let me pick from a list of device drivers on my computer'.

5. Choose 'Show All Devices' and click Next.

6. Click on 'Have Disk...'

7. In the pop-up window, choose 'Browse...' and go to the following location:

C:\Program Files (x86)\Cypress\Cypress USB-Serial Driver\DriverBinary\CDC_Driver\bin\win7\x64

8. Choose 'CypressSerial.inf' file and click Open.

9. Choose 'OK' and in the next window, select 'USB to UART Adapter' and click Next.

10. In the 'Update Driver Warning' pop-up window, choose Yes. Now, one of the CDC interface will come up as USB to UART Adapter in Device Manager.

11. Now, you will have another device 'Virtual Serial Port' under Other devices section of Device Manager.

12. Right click on this and choose 'Update Driver Software'.

13. Follow steps 3 to 8.

14. This time select 'USB Serial Port' and click Next. After you choose 'Yes' in the

'Update Driver Warning' pop-up window, you will get a USB Serial Port(COM x) under Ports (COM&LPT) section of Device Manager. ['x' can be any number]

Now, open any of UVC Host Applications (e-CamView) and you can observe the video being streamed. Simultaneously, open a UART Terminal application (TeraTerm) and you can verify the working of CDC interface.

You need to do the above mentioned steps for binding to CDC driver only once. The next time, you connect the device to PC, CDC interface will automatically come up as a USB Serial Port.

View solution in original post

0 Likes
10 Replies