Hi All.
I was able to capture video, using Adv7280m and imx6. But video is being scrolled up. It isn`t depend on if I receive test pattern or capture real video from a camera. In both cases I get being scrolled vertically video. So most likely I have imx6 configuration issue.
My sensor pass 480p mipi csi data on 216Mbps . I don`t have any errors on mipi csi2 dphy level(status = 0x300)
But each time I get warning:
<4>imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_5 = 0x00000001
I fond that Yury Kocherov had the similar problem in this branch https://community.nxp.com/message/812742?commentID=812742#comment-812742 .
Did anybody meet similar issue and can get advice?
Solved! Go to Solution.
The reason - wrong vertical frame size. In autodetect mode the Adv7280m sends 480p frames. No matter what the camera is connected: Pal or Ntsc(didn`t test secam) - in my case the decoder sent 480p in autodetect mode.
The reason - wrong vertical frame size. In autodetect mode the Adv7280m sends 480p frames. No matter what the camera is connected: Pal or Ntsc(didn`t test secam) - in my case the decoder sent 480p in autodetect mode.
Hi Fan
one can check:
1. the adv7280 should be enabled after mipi_csi2_reset().
2. For MIPI CSI input, the clock mode in IPU_CSI_SENS_CONF must be gated clock mode.
p->u.bt656.clock_curr = 1;
3. For interlaced input, IDMAC 0 should be set to interlaced mode: "params.csi_mem.interlaced = true;" For progressive input, IDMAC 0 shoudl be set to progressive mode: "params.csi_mem.interlaced = false;"
case IPU_CSI_CLK_MODE_GATED_CLK: in file drivers\media\video\mxc\capture\ipu_csi_enc.c, function csi_enc_setup().
4. For device type:
adv7280_data.sen.pix.priv = 1; /* 1 is used to indicate TV in */
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------