AnsweredAssumed Answered

IPU2_CSI1_CCIR_CODE_2 setting problem of CSI only mode-----i.MX6

Question asked by LU Xiaoying on Aug 8, 2019
Latest reply on Aug 8, 2019 by LU Xiaoying

Hello everyone,

I have the problem of BT656-4 setting of CSI mode of IPU.

Now the guide line of PVM(Panoramic view monitor)is not correct.

 

■The pathway of Video System Block is below.

 PVM ECU------>CVBS------>T-con----->BT656-4------->i.MX6---->CSI of IPU

■The CVBS signal is like below.

■For setting the CSI only mode of IPU, and capture of  IDMAC memory,the guide line is not correct.

IPU2_CSI1_SENS_CONF:0x04000A30

IPU2_CSI1_SENS_FRM_SIZE:0x020C02CF

IPU2_CSI1_ACT_FRM_SIZE:0x01DF02CF

IPU2_CSI1_OUT_FRM_CTRL:0x00000003

IPU2_CSI1_CCIR_CODE_1:0x010D07DF

IPU2_CSI1_CCIR_CODE_2:0x01040596

IPU2_CSI1_CCIR_CODE_3:0x00FF0000

■I speculated that the ODD Field and EVEN Field is inverse.So I have tryed to change the setting of code1 and code2.

IPU2_CSI1_CCIR_CODE_1:0x01040596

IPU2_CSI1_CCIR_CODE_2:0x010D07DF

But the capture in memory is still not correct.

■Only change the setting of  IPU2_CSI1_CCIR_CODE_2, the guide line is going to be correct.

IPU2_CSI1_CCIR_CODE_1:0x010D07DF

IPU2_CSI1_CCIR_CODE_2:0x00040584

About the IPU2_CSI1_CCIR_CODE_2,I only change the V setting of below.

CSI1_STRT_FLD0_BLNK_1ST: from 1 to 0

CSI1_END_FLD0_BLNK_1ST: from 1 to 0

 

Although the guide line is correct,but I don't understand the operating principle of this change.

So could  you explain this case?

Outcomes