FX3 lost streaming data with 2 image sensors; resolution:1080*1928  30fps

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

cross mob
Anonymous
Not applicable

The resolution of the two image is 1080*1928, output:raw 16bit, FX3 GPIF data bus width is 32 bit.

   

If the fps is 30,the FX3 lose some streaming data.

   

If the fps is 20, the FX3 don't lose any streaming data.

   

Is there someone know the problem?

0 Likes
6 Replies
Anonymous
Not applicable

Where are you committing the buffer? Is it in the application thread or in the DMA Callback? What is the error that you are getting? Create a technical support case on Cypress.com and provide additional details for us to check?

0 Likes
Anonymous
Not applicable

It is in the DMA callback to commit the buffer.

   

I use the usb bushound to capture the streaming data,when the fps is 30, the amount of data is less than 1080*1928*4, so PC cannot see the image with uvcviwer.

   

But when the fps is 20, the amount of data capturing from usb bushound is euqal to 1080*1928*4,so PC can see the image with uvcviwer.

   

Is there some problems with DMA?

0 Likes
Anonymous
Not applicable

There are no issues with the DMA . What is the PCLK value you are using? This error will happen if the host is not asking data fast enough and buffer overflow happens.

0 Likes
Anonymous
Not applicable

The PCLK is 74.25Mhz.

0 Likes
Anonymous
Not applicable

This may be due to backflow error. In this high resolution streaming the buffers are getting filled fast than the rate at which host is requesting for data. This is why once you reduce the frame rate, the issue is not observed.  In our UVC example firmware , we are detecting this backflow error and have a debug print to check this error. Implement the same and check if this is the error you are getting.

   

Have you checked with an Intel Host Controller and a different host application? Also disableLPM in the firmware while streaming.

0 Likes
Anonymous
Not applicable

I have checked. When the fps is 30, FX3 prints the backflow error.

   

Using the different application, the error still exit. DiableLPM while streaming doesn't solve the problem.

   

Is there some other sulutions to backflow error???

0 Likes