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

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

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

703 Views
xiaoying_lu
Contributor III

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

pastedImage_3.png

■The CVBS signal is like below.

pastedImage_2.png

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

pastedImage_4.png

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

pastedImage_1.png

■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.

pastedImage_32.png

■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

pastedImage_76.png

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?

Labels (1)
Tags (1)
0 Kudos
2 Replies

572 Views
xiaoying_lu
Contributor III

Hi igor,

I have read this file and the setting is according to this file.

But I can't understand the meaning of only change the Vbit setting as below.

CSI1_STRT_FLD0_BLNK_1ST: Vbit :from 1 to 0

CSI1_END_FLD0_BLNK_1ST: Vbit  from 1 to 0

From the status, only one line blanking is changed.

But according to below table, if change the EAV and SAV of the first blanking that will be changed for 16 lines not one line.

pastedImage_3.png

Thanks&Best regards!

LU

0 Kudos

572 Views
igorpadykov
NXP Employee
NXP Employee

Hi LU

for various ccir settings one can look at TVIN Application Notes

iMX6 IPU TVIN Application Notes 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos