how to get csi embeded data on iMX6Q

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

how to get csi embeded data on iMX6Q

2,478 次查看
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 

标签 (2)
0 项奖励
回复
3 回复数

2,459 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励
回复

2,449 次查看
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 项奖励
回复

2,441 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Simon

 

one can try to adjust clocks as described on
0 项奖励
回复