- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have followed the discussion FX3 UVC Extension Unit and CX3 UVC extension unit ,
only sample FX3 FW works well on UVC extension. For CX3 UVC extension, even I try all setting as described on AN75779 , the application still get the error as describe in title.
Attached file is the project I refer CX3 UVC extension unit (only change the VID (F4) and CyCx3USBProductDscr (FX3) to make sure no host Application issue), hope anyone can give me a hint, why this function not working.
Thanks
Angus
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I find the issue, in the sample code should add isHandled to allow SetupCB function return CyTrue.
//add by michael 0912 start
status = CyU3PEventSet (&glCx3Event, CY_FX_UVC_VIDEO_CONTROL_REQUEST_EVENT,
CYU3P_EVENT_OR);
if (status != CY_U3P_SUCCESS)
{
CyU3PDebugPrint (4, "Set CY_FX_UVC_VIDEO_CONTROL_REQUEST_EVENT Failed %x\r\n", status);
}
else{
isHandled = CyTrue; // Add this line
}
//add by michael 0912 end
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I find the issue, in the sample code should add isHandled to allow SetupCB function return CyTrue.
//add by michael 0912 start
status = CyU3PEventSet (&glCx3Event, CY_FX_UVC_VIDEO_CONTROL_REQUEST_EVENT,
CYU3P_EVENT_OR);
if (status != CY_U3P_SUCCESS)
{
CyU3PDebugPrint (4, "Set CY_FX_UVC_VIDEO_CONTROL_REQUEST_EVENT Failed %x\r\n", status);
}
else{
isHandled = CyTrue; // Add this line
}
//add by michael 0912 end
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Happy to heard that you solve this problem by yourself.