Hi Supporters,
I'm testing stereo camera oCamS-1CGN-U on IMX8 mini board. This camera supports highest resolution is 1280x960 at 45 fps. However I use v4l2-ctl tools to check valid image format, the highest resolution supports 640x480.
# v4l2-ctl -d /dev/video1 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'YUYV' (YUYV 4:2:2)
Size: Discrete 640x480
Interval: Discrete 0.022s (45.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 640x360
...
Size: Discrete 320x240
...
I tried to set resolution 1280x960 using V4L2 library but it failed.
Check with Logitech C920 camera, the highest resolution is same as their specs, 1920x1080 and also on Ubuntu machine, the oCamS camera work same as their specs, 1280x960.
My doubt is that the IMX8 mini only supports 1 camera, so its bandwidth don't enough to load the stereo camera, hence the highest resolution is cut down.
Did you meet this kind of issue before ? Is my doubt right ? Could you guide me solve this issue ?
Thanks in advance.
Best regards,
Hiep
Solved! Go to Solution.
Hi Hiep
right, i.MX8M Mini has one MIPI-CSI compared with two for i.MX8MQ :
https://www.nxp.com/docs/en/supporting-information/IMX8LAYERCMPR.pdf
MINISASTOCSI daughter card (OV5640) can reach up to 2592x1944@15fps resolution.
One can test it using fsl-imx8mm-evk.dtb in combination with the pipeline below:
$ gst-launch1.0 v4l2src device=/dev/video0 ! autovideosink
i.MX 8 Series Accessory Boards | NXP
Support for other cameras should be added according to Linux documentation available on
i.MX Software and Development Tools | NXP
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
Thanks for the information. I think I found the root cause is that the USB ports on IMX8 Mini board are 2.0 type-C connectors.
So that's why IMX8 Mini board don't have enough bandwidth to load stereo camera oCamS-1CGN-U which use USB 3.0 port.
I tested this camera with USB 2.0 port on laptop, the same results happen.
Anyway thank you for your kindly support.
Best regards,
Hiep
Hi Hiep
right, i.MX8M Mini has one MIPI-CSI compared with two for i.MX8MQ :
https://www.nxp.com/docs/en/supporting-information/IMX8LAYERCMPR.pdf
MINISASTOCSI daughter card (OV5640) can reach up to 2592x1944@15fps resolution.
One can test it using fsl-imx8mm-evk.dtb in combination with the pipeline below:
$ gst-launch1.0 v4l2src device=/dev/video0 ! autovideosink
i.MX 8 Series Accessory Boards | NXP
Support for other cameras should be added according to Linux documentation available on
i.MX Software and Development Tools | NXP
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------