AnsweredAssumed Answered

Imx6ul + adv7180 use NTSC format cameras, unable to properly collected images

Question asked by 仲金 吴 on Jun 5, 2018
Latest reply on Jun 13, 2018 by 仲金 吴

 

At present I here refer to the following NXP BBS patches
https://community.nxp.com/thread/449725#comment-899441
After applying patches,
Found CVBS camera can be normal use PAL output image, but if the access to use NTSC camera is unable to work, run the application, system card dead.
After I fumbled a period of time and effort, NTSC format cameras can work now, the image can also be collected, the system will not be jammed,
But the acquisition of image ghosting, see below:

See the attachment image1.jpg

 

Can be seen from the above image acquisition buf size is 720 x480 format UYVY422, look from the color format right in accordance with my own set of image format

The background print data as follows:

See the attachment image2.jpg

Acquisition program uses the file system's own/unit_test mx6s_v4l2_capture. Out
Run the command:
. / mx6s_v4l2_capture. Out -m 0 - d/dev/video0 - of cvbs22. Yuv - 1 t
The result of the execution is as follows:

See the attachment image3.jpg

Hardware: imx6ul + adv7180 + CVBS camera (the camera validation is normal)
linux Kernel: 3.14.38

Output from adv7180 register can see chip has been detected NTSC format, width and height, as well as the frame rate of digital and buf capitals are normal, this resolution is 720 x480 @ 30 for collection


But don't know why I collect the image is ghosting, additional dmesg print information, a print as follows:
21 c4000 mx6s - csi. Csi: 8 c600000!= 8 c700000
21 c4000 mx6s - csi. Csi: 8 c700000!= 8 c800000
21 c4000 mx6s - csi. Csi: 8 c500000!= 8 c600000
21 c4000 mx6s - csi. Csi: 8 c600000!= 8 c800000
21 c4000 mx6s - csi. Csi: 8 c700000!= 8 c500000
21 c4000 mx6s - csi. Csi: 8 c500000!= 8 c800000
21 c4000 mx6s - csi. Csi: 8 c600000!= 8 c700000
21 c4000 mx6s - csi. Csi: 8 c700000!= 8 c800000
21 c4000 mx6s - csi. Csi: 8 c500000!= 8 c800000

This problem has been bothering me for more than a week time.
Now I don't know from which direction, to check the problem, the customer side close to cui, please help us

Thank you very much!!!!!!!!!!!!

Attachments

Outcomes