cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

Anonymous
Not applicable

Hello everyone,

   

I'm trying to stream video from an Aptina-Camera with UVC to a PC. Using the FX3-Board and the USBVideoClass-Example (for RAW - Aptina MT9M114) I get no picture / video on PC.

   

 

   

Here my setup:

   

- Camera 10bit RAW or YUV422 (both doesn't work) with I2C connection to another device - so there is no need for sensor.c/sensor.h

   

- Camera 1280 x 960   30FPS

   

- AN75779 / FX3_RAWData_Cypress Driver and Descriptors.zip example

   

 

   

changes made:

   

 

   

uvc.c

   

uint8_t glProbeCtrl[CY_FX_UVC_MAX_PROBE_SETTING] 

   

uint8_t glProbeCtrl20[CY_FX_UVC_MAX_PROBE_SETTING]

   

 

   

cyfxuvcdscr.c

   

/* Class specific Uncompressed VS Frame descriptor */

   

 /* Class specific Uncompressed VS format descriptor */

   

-> set resolution, FPS and bitrate ...

   

 

   

I got often

   

Error in CyU3PDmaMultiChannelCommitBuffer: code 71

   

and the I made modification like in

   

//http://www.cypress.com/forum/usb-30-super-speed/an75779-modification-fx3-streaming-image-sensor-da...

   

Then I got debug prints like ...

   

UVC: Completed 106 frames and 135 buffers

   

UVC: Completed 106 frames and 147 buffers

   

...

   

 

   

But no video at all

   

 

   

Are there any other changes I must made to get the cam working?

   

 

   

Thank You,

   

Regards Norman

0 Likes
4 Replies
Anonymous
Not applicable

Hi Norman,

   

If you are frequently getting error code:71, could you please implement the modifications mentioned in the following Knowledge Base Article:

   

http://www.cypress.com/knowledge-base-article/invalid-sequence-error-multi-channel-commit-buffer-kba...

   

 

   

Regards,

   

Raghuram

0 Likes
Anonymous
Not applicable

Hi Raghuram,

   

thank you for your answer. In my first post I didn't mention that I already made this modifications. It doesn't work too....

   

 

   

Regards, Norman

0 Likes
Anonymous
Not applicable

Hi Norman,

Could you share the project with the modifications you have made.

Are you getting the debug print 'SUSPEND encountered...' ?

Which is the UVC Host Application you are using?

0 Likes
Anonymous
Not applicable

Hi Norman

if you can get debug message

     UVC: Completed 106 frames and 135 buffers

with frame and buffer valid, in my case , if no image shows up

it most likely the width or height or frame size or frame rate incorrect

0 Likes