Tool/software:
Hello,
This issue occurred while testing a MIPI CSI2 camera on the AM62x EVB.
After configuring the camera according to the instructions on TI's AM62x Academy webpage, we were able to receive the camera image, but the image appears with an excessive red tint.
We configured the settings as follows, referring to the webpage below.
https://dev.ti.com/tirex/explore/node?node=A__Afvqyi8mUm05676JZJ-UlQ__AM62-ACADEMY__uiYMDcq__LATEST
# media-ctl --set-v4l2 "'ov5640 4-003c':0 [fmt:UYVY8_1X16/1024x768@1/30 field:none]"
# media-ctl --set-v4l2 "'cdns_csi2rx.30101000.csi-bridge':0 [fmt:UYVY8_1X16/1024x768 field:none]"
# media-ctl --set-v4l2 "'30102000.ticsi2rx':0 [fmt:UYVY8_1X16/1024x768 field:none]"
After configuring the settings as above, we captured a single image from the camera using the following command.
gst-launch-1.0 v4l2src num-buffers=1 ! videoconvert ! 'video/x-raw,width=1024,height=768,format=UYVY' ! filesink location=image.raw
The image below was captured using the command mentioned above.
As you can see in the image, there is a strong red tint overall, and around the light source, the colors appear to be saturated.
We used the Digilent Pcam 5C camera as specified on the webpage below.
https://dev.ti.com/tirex/explore/node?node=A__Afvqyi8mUm05676JZJ-UlQ__AM62-ACADEMY__uiYMDcq__LATEST
This issue is less noticeable when the camera is not pointed directly at a light source.
We tested this using the SDK images below, and the symptoms were the same in both cases.
Processor SDK LINUX AM62x Yocto - SD card image
Processor SDK LINUX AM62x Debian Trixie - SD card image