Access ov2775.c to serve as example for another sensor bringup

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Access ov2775.c to serve as example for another sensor bringup

2,159 Views
richc128
Contributor III

We are interfacing to an ar0144 sensor on an imx8m plus. I don't see any example drivers beyond the ov2775 mentioned in the camera porting guide. 

I cannot find the source code beyond example code in the guide

https://www.nxp.com/docs/en/user-guide/iMX8MP_CAMERA_DISPLAY_GUIDE.pdf

Is there a way I can access the driver source file itself? That is, where can I find the ov2775.c file?

0 Kudos
Reply
4 Replies

2,124 Views
richc128
Contributor III

Thanks @khang_letruong I see it in vvcam now.

I've seen in other posts I'll also need to configure the ISP and this seems to generally be done through an xml file. @Bio_TICFSL does NXP plan to support this process at some point?

It seems the two generally supported options are to use a YUV camera and not use the ISP or to use a Basler camera. Is this a good summary?

 

0 Kudos
Reply

2,083 Views
khang_letruong
Senior Contributor III

Hi @richc128 

It seems the two generally supported options are to use a YUV camera and not use the ISP or to use a Basler camera. Is this a good summary?

From my point of view, there's following options :

1. Custom camera sensor with built-in ISP such as OV5640 or similar with ISI (Image Sensor Interface), not ISP of iMX8MP SoC,

2. iMX8MP based Basler cameras with ISP interface of iMX8MP SoC --> they are ready-to-use,

3. Custom camera sensors with ISP of iMX8MP SoC. However the effort for this option would be much more than above options since you would need to bringup every thing nearly from scratch by inspiring the existing examples (ov2775, os08a20, ...) and following instructions in NXP's camera porting guide in each BSP release. Moreover, you might also need some external calibration service (NXP partners who have necessary tools, measuring devices and insights) to generate the XML file for your own sensor(s).

For your case of AR0144, you might be interested in this : https://www.technexion.com/shop/embedded-vision/camera-sensors/tevi-ar0144/

Best regards,
K.

 

0 Kudos
Reply

2,137 Views
khang_letruong
Senior Contributor III

Hi @richc128 ,

You can find ov2775 examples in https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-4.2.2.11.0.bin (which is a self-extracted binary)

and https://source.codeaurora.org/external/imx/isp-vvcam/tree/?h=rel_imx_5.4.70_2.3.2

Newer versions that aligns to BSP-5.10.52.-2.1.0 are https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-4.2.2.15.0.bin and https://source.codeaurora.org/external/imx/isp-vvcam/tree/?h=lf-5.10.52-2.1.0

They are also included in Yocto via their recipes.

Best regards,

K.

 

 

0 Kudos
Reply

2,147 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello richc218,

 

You can obtain the source code form yocto, it has MIPI and cameras drivers, and you can see the documentation on linux reference manual:

https://www.nxp.com/docs/en/reference-manual/IMX_REFERENCE_MANUAL.pdf

 

Regards

0 Kudos
Reply