OV5648 Camera Module Application Notes
OV5648 Camera Module Application Notes
Last Modified: Oct. 8
th
, 2012
Document Revision: 1.00
OmniVision Technologies, Inc. reserves the right to make changes without further notice to
any product herein to improve reliability, function or design. OmniVision does not assume
any liability arising out of the application or use of any project, circuit described herein;
neither does it convey any license under its patent nor the right of others.
Sensor datasheet is the official document of OmniVision. Software/hardware/dual camera
applicaton notes are application guide lines for reference. If there are any difference
between sensor datasheet and application notes, please follow sensor datasheet and
kindly report the difference to OVT FAE.
This document contains information of a proprietary nature. None of this information shall
be divulged to persons other than OmniVision Technologies, Inc. employee authorized by
the nature of their duties to receive such information, or individuals or organizations
authorized by OmniVision Technologies, Inc.
1
Company Confidential
OV5648 Camera Module Application Notes
Table of Contents
Related Documents...............................................................................................................................4
1. Overview of OV5648 Applications..................................................................................................5
2. Hardware Design of OV5648 Camera Module................................................................................6
2.1 Camera Module with 2 lane MIPI Interface..............................................................................6
2.1.1 Description of Camera Interface........................................................................................7
2.1.2 PCB/FPCB Layout Guide..................................................................................................8
2.2 Deal with Lens...........................................................................................................................9
2.2.1 Light fall off.......................................................................................................................9
2.2.2 F# of Lens..........................................................................................................................9
2.2.3 Focus Accuracy at infinite.................................................................................................9
2.2.4 Optical contrast..................................................................................................................9
2.3 Calibration of Camera Module..................................................................................................9
2.3.1 White Balance Calibration.................................................................................................9
2.3.2 VCM setting Calibration..................................................................................................10
2.4 Test of OV5648 Camera Module.............................................................................................10
2.4.1 Resolution Test................................................................................................................10
2.4.2 Focus Test........................................................................................................................10
2.4.3 Shading Test.....................................................................................................................10
2.4.4 Blemish Test....................................................................................................................10
3. Hardware Design with OV5648 Camera........................................................................................11
3.1 Host Interface...........................................................................................................................11
3.1.1 Power Supplies.................................................................................................................11
3.1.2 Clock................................................................................................................................11
3.1.3 Control Signals.................................................................................................................11
3.1.4 Image Data Signals..........................................................................................................11
3.1.5 Interface with LED driver................................................................................................12
3.1.6 PCB layout Guide of Host...............................................................................................12
3.2 Mechanical Design..................................................................................................................13
3.2.1 Lens Cover.......................................................................................................................13
3.2.2 Block Wide Angle Light..................................................................................................13
3.2.3 Keep Camera Module Cool..............................................................................................13
4. Hardware Operation of OV5648 Camera Module.........................................................................15
4.1 Power Up.................................................................................................................................15
4.2 Enter Camera...........................................................................................................................16
4.3 Standby....................................................................................................................................17
4.4 Power Off.................................................................................................................................17
5. Software Operation of OV5648......................................................................................................19
5.1 Register Settings......................................................................................................................19
5.1.1 Initialization (Global Setting)..........................................................................................19
5.1.2 Preview 1296x972 30fps 24M MCLK 2lane 280Mbps/lane...........................................22
5.1.3 Capture 2592x1944 15fps 24M MCLK 2lane 420Mbps/lane.........................................23
5.1.4 Video 720p Full FOV 30fps 24M MCLK 2lane 300Mbps/lane......................................24
5.1.5 I/O Control.......................................................................................................................25
5.1.6 Drive capability................................................................................................................26
5.1.7 MIPI Stream Control........................................................................................................26
5.1.8 BLC (Black Level Calibration)........................................................................................26
2
Company Confidential
OV5648 Camera Module Application Notes
5.1.9 Defect Pixel Correction....................................................................................................26
5.2 Load Calibration Data..............................................................................................................28
5.3 Driver Functions......................................................................................................................33
5.3.1 Exposure...........................................................................................................................33
5.3.2 Gain..................................................................................................................................35
5.3.3 Capture Sequence.............................................................................................................35
5.4 Verification of Camera Driver Functions................................................................................38
6. Tuning Image Quality.....................................................................................................................39
6.1 Using Calibration Data............................................................................................................39
6.2 Find Typical Camera Module and Corner Camera Modules...................................................39
6.3 Capture Pictures.......................................................................................................................39
6.4 Tune with ISP Tools................................................................................................................39
Revision History.................................................................................................................................40
3
Company Confidential
OV5648 Camera Module Application Notes
Related Documents
“OV5648 COB Datasheet”
“High Speed Serial Interface Routing Guidelines”
“OV5648 Camera Module Calibration”
“Camera Module Image Quality Evaluation Procedure and Criterion – RAW Sensor”
“Camera Analyzer User Guide”
4
Company Confidential
OV5648 Camera Module Application Notes
1. Overview of OV5648 Applications
OV5648 is a 1/4 inch high performance 5M camera supporting 2 lane MIPI interface. It can be
used as
High Performance 5M main camera with 2 lane MIPI interface
High Performance 720p video camera with 2 lane MIPI interface
High Performance 5M master camera for master slave application.
5
Company Confidential
评论