CX3 Streaming Error

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

cross mob
yaqi_4776616
Level 4
Level 4
50 sign-ins 25 replies posted 25 sign-ins

Hello,

I have built a UVC project and observed with an oscilloscope that the sensor can output the correct clock and data signals, but I can't receive any image data on the PC side with a USB hount.

I just implemented UART debugging and when I download the .img file to my hardware, I can observe that the UART can print the configuration information of the sensor, but the video streaming information and the MIPI error information I want to observe will not be printed.

I would like to know why this is happening, it seems to be gone after the sensor configuration is done. How can I find out where the error occurred?

My CX3 does not have the MIPI output interface for signal analysis, so I can only observe the output of the sensor.

yaqi_4776616_0-1620804174345.png

Best Regards,

Yaqi

0 Likes
1 Solution
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi Yaqi,

From the above snippets it looks like HMAX and VMAX can be used to vary HBlanking(LineBlanking) and VBlanking(or FrameBlanking) time.

Regards,

Hemanth

View solution in original post

0 Likes
7 Replies
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi Yaqi,

1. Can you please enable the macro CX3_ERROR_THREAD_ENABLE and build your firmware

2. Probe HSYNC_test, VSYNC_test and PCLK_test and check if you are seeing expected signals.

Regards, 

Hemanth
0 Likes
yaqi_4776616
Level 4
Level 4
50 sign-ins 25 replies posted 25 sign-ins

Hi Hemanth,

1. Can you please enable the macro CX3_ERROR_THREAD_ENABLE and build your firmware

How should I enable macros, I don't quite understand.

2. Probe HSYNC_test, VSYNC_test and PCLK_test and check if you are seeing expected signals.

Regards,

HSYNC_test, VSYNC_test and PCLK_test are three signals that are not connected on my board.

Best Regards,

Yaqi

0 Likes
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi Yaqi,

I wanted to check if there are any MIPI errors.

From the code snippet you shared in your first post, I can see that mipi error debugprint is present. Can you let me know if you see any errors?

Regards,

Hemanth
0 Likes
yaqi_4776616
Level 4
Level 4
50 sign-ins 25 replies posted 25 sign-ins

Hi Hemanth,

I think it may be that my previous configuration is not yet correct causing the MIPI to not parse the data output because I am not receiving any image data with Bus Hound. I'm still trying to change the configuration information

yaqi_4776616_0-1621316898914.png

Best Regards,

Yaqi

0 Likes
yaqi_4776616
Level 4
Level 4
50 sign-ins 25 replies posted 25 sign-ins

Hi Hemanth,

Can you help me to identify these three parameters, as they are not in my sensor datasheet.

yaqi_4776616_0-1621317785827.png

My sensor configuration parameters

yaqi_4776616_1-1621317894456.png

datasheet Readout mode NO 6

yaqi_4776616_5-1621318050787.png

yaqi_4776616_2-1621317958710.pngyaqi_4776616_3-1621317990748.png

yaqi_4776616_6-1621318234230.png

yaqi_4776616_7-1621318351419.png

The datasheet only gives this information.

Best Regards,

Yaqi

0 Likes
yaqi_4776616
Level 4
Level 4
50 sign-ins 25 replies posted 25 sign-ins

And this

yaqi_4776616_8-1621321004142.png

 

0 Likes
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi Yaqi,

From the above snippets it looks like HMAX and VMAX can be used to vary HBlanking(LineBlanking) and VBlanking(or FrameBlanking) time.

Regards,

Hemanth
0 Likes