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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,780件の閲覧回数
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

タグ(3)
0 件の賞賛
1 解決策
933件の閲覧回数
bellzhong
Contributor II

The issue has been fixed. Thanks for your reply.

元の投稿で解決策を見る

0 件の賞賛
3 返答(返信)
933件の閲覧回数
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 件の賞賛
934件の閲覧回数
bellzhong
Contributor II

The issue has been fixed. Thanks for your reply.

0 件の賞賛
933件の閲覧回数
推土机
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 件の賞賛