Hello,
we have a ov5640 camera with mipi Interface on a imx6 cpu.
now we have running mode 720p with 60fps.
1) but there are not 60 fps, but only 50 fps.
2) Now we will change from V4L2_PIX_FMT_UYVY to V4L2_PIX_FMT_YUV444
and Output format to Memory with 800x600 fromV4L2_PIX_FMT_BGR32 to a
BGR/RGB with 3x10bit.
after changing V4L2_PIX_FMT_UYVY the ipu don't send any IRQ (
enc_callback is not called).
Regards
Johann
Hello Johann,
The root cause on your issue is that 1-Lane dataline of MIPI is not enough. see following :
(1) speed at least you need
1280x720x60x24 = 1.327Gbps
(2) the speed of 1-Lane data line: 1Gbps
(3) Accroding to above calculation, you need 2-Lane of MIPI at least.
(4) suggestions
Check your hardware , please! and confirm if there were 2 Lanes of MIPI connected on your board, then adjust ov5640 driver to transimit data with 2 Lanes to MIPI CSI-2 interface of i.MX6
Hope above items can help you !
Regards,
Weidong
Hi weidong.sun,
If we using 2 lanes design in i.MX6Q and get 720p60 setting in OV5640.
Does any patch code in SMFC , IC , VDI function code ? (Sensor -> IC -> Bmem ->IRT -> Fmem+DSx)
I think our default driver is for 15/30 fps
Hello,
i see, that the IC (Image Converter) can only can 8bit Input Format. (38.1.2.1.5.3 Image Converter (IC))
Camera have 720p/60fps with 10Bit.
CSI-> convert 10Bit/value to 16 bit per value.
IC can only 8 bit per value.
How can i convert the Input Picture to a 800x600 with RGB 10bit ?
Other solution for us.
Camera send 640x480 with RAW10 to CSI.
We will copy them to Fram with expand 10bit to 16 bit for each value.
so every Pixel have 6 Bytes. 16 bit for every Color.
Regards
Johann
Yes, we have both lines on board.
How can i activate both lines ?
on camera sensor, i have activ the 2 lanes.
must i enable this also on the IPU ?