how to get csi embeded data on iMX6Q

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to get csi embeded data on iMX6Q

1,033 Views
Simon_Wu
Contributor II

Hello,

I'm working with a sensor that outputs a RAW10 (0x2B) image plus Embedded Data (MetaData) (0x12)  as shown in the image,But I can't get RAW10 data and MetaData.

Simon_Wu_0-1618456487119.png

I just want to receive the RAW10 data,  metaData is irrelevant.

 And I found this thread https://community.nxp.com/t5/i-MX-Processors/Does-iMX8M-CSI-support-metadata-embedded-data/m-p/97754...

set CSI to receive generic data, But I still can't get any data.

Below are som register data.

MIPI_CSI_PHY_STATE : value=0x00000300
MIPI_CSI_DATA_IDS_1 : value=0x00000000
MIPI_CSI_DATA_IDS_2 : value=0x00000000
MIPI_CSI_ERR1 : value=0x10000110
MIPI_CSI_ERR2 : value=0x00000100

IPU1_CSI1_SENS_CONF : value=0x04009B00

So what shall i do, please tell me.

Thanks.

@jamesbone 

Labels (2)
0 Kudos
3 Replies

1,004 Views
Simon_Wu
Contributor II

Hi Igor,

   I can receive RAW10 data from OV5640, but I can't receive RAW10 data from my camera.

I guess maybe is my camera ouputs RAW10 data(0x2B) plus Embedded Data (MetaData) (0x12).

 

Here are some errors in MIPI_CSI_ERR1 and MIPI_CSI_ERR2:

1.Error matching Frame Start with Frame End for Virtual Channel 0

2.Incorrect Frame Sequence detected in Virtual Channel 0

3.Header error detected and corrected on Virtual Channel 0

What should I do next?

 

Best regards

Simon

0 Kudos

996 Views
igorpadykov
NXP Employee
NXP Employee

Hi Simon

 

one can try to adjust clocks as described on
0 Kudos