Was anyone able to receive CSI BT.1120 interlaced data correctly on iMX6 platform?

cancel
Showing results for 
Search instead for 
Did you mean: 

Was anyone able to receive CSI BT.1120 interlaced data correctly on iMX6 platform?

Jump to solution
937 Views
bellzhong
Contributor II

Hi all,


I got a custom imx6q sabersd HW platform with ADV7441, the ADV7441 is HDMI ---> CSI encoder, support bt1120 interface. And I was able to received BT.1120 progressive data. But when tried to received BT.1120 interlaced data, the video was displayed but moving from the top side to the bottom side quickly. Were anyone able to capture any BT.1120 interlaced video on imx6q sabersd HW platform? If so, any other modification to the code for BT.1120 interlaced data is needed except for setting the clockmode to IPU_CSI_CLK_MODE_CCIR1120_INTERLACED_SDR?

Thank you in advance

Bell

Tags (3)
0 Kudos
1 Solution
90 Views
bellzhong
Contributor II

The issue has been fixed. Thanks for your reply.

View solution in original post

0 Kudos
3 Replies
90 Views
jimmychan
NXP TechSupport
NXP TechSupport

Qiang Li wrote:

For the screen scroll issue, in kernel file "mxc_v4l2_capture.c", you can adjust the active_top value to fix it.

static video_fmt_t video_fmts[] = {

{   /*! NTSC */

  .v4l2_id = V4L2_STD_NTSC,

  .name = "NTSC",

  .raw_width = 720,  /* SENS_FRM_WIDTH */

  .raw_height = 525,  /* SENS_FRM_HEIGHT */

  .active_width = 720,  /* ACT_FRM_WIDTH */

  .active_height = 480,  /* ACT_FRM_HEIGHT */

  .active_top = 13,

  .active_left = 0,

  },


0 Kudos
91 Views
bellzhong
Contributor II

The issue has been fixed. Thanks for your reply.

View solution in original post

0 Kudos
90 Views
推土机
Contributor II

How did you fixed it ?

I follow the instruction here  Re: 16bit BT1120 does not work on MX6Q

but neither

   __raw_writel(0x40596, CSI_CCIR_CODE_1(csi));

   __raw_writel(0xD07DF, CSI_CCIR_CODE_2(csi));

   __raw_writel(0xFF0000, CSI_CCIR_CODE_3(csi));

nor

   __raw_writel(0xD07DF, CSI_CCIR_CODE_1(csi));

   __raw_writel(0x40596, CSI_CCIR_CODE_2(csi));

   __raw_writel(0xFF0000, CSI_CCIR_CODE_3(csi));

works.

Thanks.

0 Kudos