-
1. Re: how can I make uvc controlling at host interface
userc_39074 Feb 20, 2013 4:21 AM (in response to userc_42287)Hi,
You can make your device to act as composite device with 2 interfaces.
One interface is standard UVC class and the other one is going to be vendor class interface. This vendor class interface can have one or two endpoints based on your requirement. This interface can be bind to your custom application using Cyusb3.sys. You can send the register address and data to that endpoint and firmware will perform I2C transfers based on that data.
Please let me know if you need any more details from me.
Thanks,
Sai Krishna.
-
2. Re: how can I make uvc controlling at host interface
userc_42287 Feb 20, 2013 5:43 AM (in response to userc_42287)Hi,
Thank you for great idea,I fully understand about your suggest conecpt.
you mean that it is really possible one single device acts as 2 interfaces outside world,
one as video camera ,the other as bulk one.
I'll try to..
but to be frank I have no idea how to share several single IO to each class interfaces.
Could you please let me know some more detail how to define 2 interface living together?
thank you again for your time.
-
3. Re: how can I make uvc controlling at host interface
userc_39074 Feb 20, 2013 9:07 AM (in response to userc_42287)Hi,
You can add extra interface to your firmware project as shown in the attachment.
Look for USB_DEBUG_INTERFACE macro in those files.
Let me know if you need any explanation related to code.
Thanks,
Sai Krishna.
-
4. Re: how can I make uvc controlling at host interface
userc_42287 Feb 20, 2013 9:26 AM (in response to userc_42287)Thank you very much,
Yes!! it is all I want .
have a good day!!
-
5. Re: how can I make uvc controlling at host interface
userc_39074 Feb 20, 2013 10:19 AM (in response to userc_42287) -
6. Re: how can I make uvc controlling at host interface
userc_42287 Feb 21, 2013 4:39 AM (in response to userc_42287)HI,
Everthing seem to fine except one!!
While Video streaming is running well,( video device is installed fine)
Win7 fail to load driver of extra interface device appearing status of alarm icon in DeviceManager.
for your reference ,below are definitions of variable in my UVC.h.
your additional advice will be much appreciated.
Thank you.
------------
#define USB_DEBUG_INTERFACE 1
#define CY_FX_EP_BULK_VIDEO 0x83
#define CY_FX_EP_VIDEO_CONS_SOCKET 0x03
#define CY_FX_EP_CONTROL_STATUS 0x82
#define CY_FX_EP_DEBUG_CMD 0x06
#define CY_FX_EP_DEBUG_RSP 0x86
#define CY_FX_EP_DEBUG_CMD_SOCKET 0x06
#define CY_FX_EP_DEBUG_RSP_SOCKET 0x06
-
7. Re: how can I make uvc controlling at host interface
userc_39074 Feb 21, 2013 5:53 AM (in response to userc_42287)Hi,
Please do the following changes to cyusb3.inf in your system so that the vendor class interface binds to cyusb3.sys
%VID_04B4&PID_00FA&MI_02.DeviceDesc%=CyUsb3, USB\VID_04B4&PID_00FA&MI_02
and
VID_04B4&PID_00FA&MI_02.DeviceDesc="Cypress FX3 - Image sensor debugger"
Here I am assuming that VID of your device is 04B4 and PID is 00FA.
Please refer to the attached .inf file.
Thanks,
Sai Krishna.
-
8. Re: how can I make uvc controlling at host interface
userc_39074 Feb 21, 2013 5:56 AM (in response to userc_42287)-
cyusb3.inf.txt.zip 1.7 K
-
-
9. Re: how can I make uvc controlling at host interface
userc_42287 Feb 21, 2013 7:33 AM (in response to userc_42287)Dear Sai Krishna,
Fantastic!!
I have no other word but just say thank you very much,
all the works are working simultaneously
-streamming video (1280 x720 60fps)
-looping back with endpointIN<->OUT
- another control endpoint0
you really give me happy smile on my face since 6 month!!!
Thank you.
-
10. Re: how can I make uvc controlling at host interface
userc_39074 Feb 21, 2013 7:47 AM (in response to userc_42287)