Is CSI0 accept only the GATED CLOCK MODE?

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

Is CSI0 accept only the GATED CLOCK MODE?

2,151 Views
ajithpv
Contributor V

Hi all,

        Our requirement is that the 480p and 720p resolution videos from the HDMI source should be converted into ITU-BT.656 8-bit 4:2:2 YUV data with 480p(720x480) and 720p resolutions.We are using the HDMI Receiver chip for achieving this.

It's very strange that, When ever we trying with the V4L2 standard applications, the CSI0 line will work only for GATED CLOCK MODE! In other words, when we set the configuration as

CSI0_SENS_CONF register : SENSOR DATA FORMAT as YUV 4:2:2 
CSI0_SENS_CONF register : SENSOR PROTOCOL as GATED CLOCK MODE

We getting the video.

But,If we set CSI0_SENS_CONF register : SENSOR PROTOCOL as PROGRESSIVE MODE, CSI0 couldn't able to receive even a single frame!

I would like to know why this is happening? How we can resolve this?

Since we are using 480p and 720p (means all are in progressive mode), we prefer to do it with  " CSI0_SENS_CONF register : SENSOR PROTOCOL as PROGRESSIVE MODE " only.

Please note that we using the V4L2 mxc_capture driver also for achieving our requirement.

Any help would be very appreciated...

Thanks in advance

-Ajith

Tags (2)
12 Replies

1,156 Views
arthur_lai
Senior Contributor II

Hi Ajith,

You are using a ADV7611 HDMI receiver to recieve HDMI video and feed to CSI, right?

The registers you mentioned are for configuring the input video data on CSI input. So, what is the data format output from ADV7611?

Thanks,

Arthur

0 Kudos

1,156 Views
daiane_angolini
NXP Employee
NXP Employee

What is the chip you´ve been using?

What is the SO?

How can I reproduce?

Is it an external camera? How is the camera connected to the chip. Please, provide the big picture of your issue at first, then I can try to understand your problem. (I´m sorry, but it´s very confusing to me)

1,156 Views
skoex
Contributor I

hello, we have same issue.

we have hdmi receiver chip (ADV7611) that cane produce either interlaced or progressive bt 656 video fed into CSI1.

(and we uses i.mx536)

In our wec7 bsp source and hdmi driver setting is below.

CSI1_SENS_CONF register : SENSOR DATA FORMAT as YUV 4:2:2

CSI1_SENS_CONF register : SENSOR PROTOCOL as CSI_CCIR_INTERLACED_BT656_MODE

it's working.( we can see 720x480i video, including freerun mode screen by supporting ADV7611)

but

CSI1_SENS_CONF register : SENSOR DATA FORMAT as YUV 4:2:2

CSI1_SENS_CONF register : SENSOR PROTOCOL as CSI_CCIR_PROGRESSIVE_BT656_MODE

it's not working. (we cannot see any frame, including freerun mode screen by supporting ADV7611)

so, we added source code into sensorpdd.cpp

  case CSI_CCIR_PROGRESSIVE_BT656_MODE:

           //Timing reference signal for BT.656-4 Progressive

            // CSI_CCIR_CODE_1 = 0x40030

            // CSI_CCIR_CODE_3 = 0xFF0000

             m_PrtclInf.mode = CSI_CCIR_PROGRESSIVE_BT656_MODE;

             m_PrtclInf.PreCmd                    = 0xFF0000;         

             m_PrtclInf.Field0FirstBlankStartCmd  = 0x6;

             m_PrtclInf.Field0ActiveEndCmd        = 0x4;

             m_PrtclInf.Field0ActiveStartCmd      = 0x0;

but,it's not working too!.

Could someone please advise what we must do to configure the iMX to interface with a Progressive bt.656 signal in WEC7 BSP.

1,156 Views
ajithpv
Contributor V

Hi  jhk122

Could you please share your thoughts on the same?

0 Kudos

1,156 Views
daiane_angolini
NXP Employee
NXP Employee

I´m sorry for delay.

I´m going to try to get some hardware input on this issue.

0 Kudos

1,156 Views
ajithpv
Contributor V

Thank you for your prompt reply.

Looking forward to hear from you soon...

1,156 Views
daiane_angolini
NXP Employee
NXP Employee

no news so far.

0 Kudos

1,156 Views
skoex
Contributor I

hi, Dianae Angolini,

i have some question about i.mx536 and WEC7 BSP(supported by freescale)

1. Could you tell me that i.mx536 support 8bit BT656 progressive mode?

2. if supports, does WEC7 BSP(WCE700_11.05.03_ER.msi) support 8bit BT656 progressive mode?

   as i know, WEC7 BSP don't support 8 bit BT656 progressive mode.

3. if 1 question is ok and 2 question isn't ok ,  Could you tell me where dose i need to modify?

i will wait for your reply.

thanks.

0 Kudos

1,156 Views
daiane_angolini
NXP Employee
NXP Employee

1. Could you tell me that i.mx536 support 8bit BT656 progressive mode?

Yes, it does. From Referance Manual you can see the register to modify is CSI0_SENS_CONF

2. if supports, does WEC7 BSP(WCE700_11.05.03_ER.msi) support 8bit BT656 progressive mode?

   as i know, WEC7 BSP don't support 8 bit BT656 progressive mode.

I don´t know. I would need help from WEC team, but it´s usually an information you may find on Release Notes. I´m going to ask help from someone on WEC team.

1,156 Views
karina_valencia
NXP Apps Support
NXP Apps Support

Deactivated user can you continue with the follow up on this case?

0 Kudos

1,156 Views
karina_valencia
NXP Apps Support
NXP Apps Support

Adeneo Engineering Team do you have an update on this case?

0 Kudos

1,156 Views
karina_valencia
NXP Apps Support
NXP Apps Support
0 Kudos