Bayer Sensor OV13850

来源:互联网 发布:c语言平方根号怎么表示 编辑:程序博客网 时间:2024/06/08 15:41

Hi, 大家好,有近4周没有更新博文了,一个是我们AISTARVISION在做新的转接板,配合Adapter V2.0以连接更多的Camera Sensor,第二个是在调试Bayer Raw Sensor,如OV13850/OV8865,OV7251/OV9281,以及AR系列的Sensor。

加上之前介绍的YUV Sensor OV5640/OV5645,Mezzanine Adapter V2.0已经可以支持较多种类型的Camera Sensor了。

今天这篇博文share OV13850这颗sensor。

首先贴出OV13850 main Features,

1. Lens size:1/3.06 inch
2. Pixel size:1.12mm×1.12mm
3. Programmable controls for frame rate,mirror and flip,cropping and windowing
4. 13.2MP AT 30fps
5. Two-wire serial bus control(SCCB)
6. Strobe output to control flash
7. Supports output formats:10-bit RAW RGB
8. Supports image sizes: 13.2MP(4224×3136),10MP(4224×2376),4K2K(3840×2160),EIS 1080P(2112×1188),EIS720P(1408×792),and more
9. Up to 4-lane MIPI serial output interface and standard serial SCCB interface
10. 8kbits of embedded one-time programmable(OTP) memory(see sidebar note)
11. Programmable controls: gain, exposure, frame rate, image size, horizontal mirror, vertical flip cropping, and panning
12. Built-in temperature sensor
13. Image quality controls: defect correction, automatic black level calibration, lens shading correction ,and altemate row HDR.
14. Guaranteed Operating temperature :-300C to +850C

15. Power Supply:Core:1.14V-1.26V,analog:2.6-3.0V I/O:1.7-3.0V

AISTARVSION打样的OV13850 Module,集成的是DW9714 actuator,在Qualcomm Bayer Sensor的userspace driver中,actuator的型号是需要指定在sensor_lib_ptr struct中的,所以大家如果porting不同的actuator,也需要修改driver。

与YUV sensor不同的是,对于Bayer sensor driver,kernel的部分是common的,只需要porting userspace的部分,举例OV13850,在vendor/lib下需要有的so lib包括libmmcamera2_sensor_modules.so, libactuator_dw9714.so, libactuator_dw9714_camcorder.so, libactuator_dw9714_camera.so, libmmcamera_ov13850.so。


DB410c的两路MIPI CSI,只有CSI0支持4lane,也就是默认的rear sensor,以下是截取的OV13850的csid/csiphy的配置参数。

static struct msm_camera_csi2_params ov13850_csi_params = {
  .csid_params = {
    .lane_cnt = 4,
    .lut_params = {
      .num_cid = 2,
      .vc_cfg = {
         &ov13850_cid_cfg[0],
         &ov13850_cid_cfg[1],
      },
    },
  },
  .csiphy_params = {
    .lane_cnt = 4,
    .settle_cnt = 24,
  },
};


上图,小板是配合Adapter V2.0的Sensor转接板AISTAR-IPEX ADP V1.0(目前已支持7款sensor)。从左往右,图1是OV13850,图2是两路OV5645。

          

原创粉丝点击