CX3 UVC EXTENSION UNIT KsProperty return element not found

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

cross mob
lock attach
Attachments are accessible only for community members.
AnWa_3863696
Level 2
Level 2
First like given

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

0 Likes
1 Solution
AnWa_3863696
Level 2
Level 2
First like given

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

View solution in original post

0 Likes
2 Replies
AnWa_3863696
Level 2
Level 2
First like given

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

0 Likes

Happy to heard that you solve this problem by yourself.

0 Likes