cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

Anonymous
Not applicable

Hi

I have downloaded the newest version of an75779 dated 20/8-2017, and implemented it on my custom board.

This version fixed the frame freeze issue i had. But it will not start the video stream on Mac OS, Windows 7, 10 and Linux works fine.

The debugprintout looks like this:

UsbEventCB: Detected SS USB Connection

Application Started

Clear feature request detected...

Application Stopped

Clear feature request detected...

Application Stopped

Clear feature request detected...

Application Stopped

Clear feature request detected...

Application Stopped

But no picture on the Mac

I can get working, with this change in the code:

        case CY_U3P_USB_TARGET_ENDPT:

            if( bRequest == CY_U3P_USB_SC_CLEAR_FEATURE )

            {

                if( wIndex == CY_FX_EP_BULK_VIDEO )

                {

                    /* Windows OS sends Clear Feature Request after it stops streaming,

                     * however MAC OS sends clear feature request right after it sends a

                     * Commit -> SET_CUR request. Hence, stop the video streaming and clear

                     * the stall condition and sequence numbers */

                    CyU3PDebugPrint (4, "Clear feature request detected...\r\n");

                    /* Clear the stall condition and sequence numbers. */

                    CyU3PUsbStall( CY_FX_EP_BULK_VIDEO, CyFalse, CyTrue );

//                    CyFxUVCApplnAbortHandler();

                    uvcHandleReq = CyTrue;

                    /* Complete Control request handshake */

                    CyU3PUsbAckSetup();

                }

            }

        break;

By not running the CyFxUVCApplnAbortHandler(); function.

Can this be right?

best regards

Jesper Svanberg 

0 Likes
3 Replies
Anonymous
Not applicable

Hi,

After the MAC PC sends the Clear feature, are you not getting any other events?

Regards,

- Madhu Sudhan

0 Likes
Anonymous
Not applicable

Hi Madhu

No it just send the Clear feature over and over again

Regards

Jesper

0 Likes
Anonymous
Not applicable

Hi Jesper,

We did test it on a MAC PC and it worked fine. Please check the readme file for the MAC OS version and the application that we used to stream video. Can you test this with Wirecast version 6.0.5 Application?

Also enable the frame debug prints in uvc.h file and share the logs if it doesn't stream properly.

Regards,

Savan

0 Likes