Hi,
I am trying to integrate SC132GS camera sensor with IMX8mm EVK. So far, I am able to detect the sensor on I2C interface. But I am not able to capture video data from the sensor. Since the Linux driver is not available, I wrote a small driver taking reference from OV5640 sensor driver.
Can someone help me with reviewing the changes made in the driver file.
My doubt is on the data format. The sensor gives RAW 8-bit data but cannot see RAW configuration on MXC capture driver. Attached camera driver file and DTS.
It was discovered that the sensor we were using was not proper. After replacing the hardware we are able to capture image. However, the color space is not proper. As per datasheet, the sensor is outputting 8-bit raw video data in BGGR sequence. We have set the same in camera driver but still the image colorspace is not proper. Can anyone check and let me know what is the colorspace in the image.
The image size is 800x1280
Hello,
The calculation is not correct, it should included the blank data too.
So the simple calculation for MIPI data rate: pixel clock frequency * bpp
When MIPI clock is 325MHz, then in that table, due to MIPI is DDR, you should select serial clock (325*2) = 650MHz. OV5640 has many kinds of video mode, the BSP setting is a reference. After driver working, you can also check the MIPI CSI2 status register, if there is no error, then it is OK.
Regards