How to read/write contents in the ov5640 controlling registers?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to read/write contents in the ov5640 controlling registers?

3,384件の閲覧回数
sergeylarionov
Contributor I

I want to control a video camera operation mode. For example - to change exposure. How to execute write in the register 0x3503 from the application program?

ラベル(1)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

2,887件の閲覧回数
sergeylarionov
Contributor I
Hi Igor!
please check below link and attached
I unpacked sdk_mipi.zip archive and tried to build the program. However, in the program include-files are used:
#include "iomux_config.h"
#include "ipu/ipu_common.h"
#include "mipi/mipi_common.h"
#include "registers/regsipu.h"
#include "registers/regsmipicsi.h"
#include "registers/regsmipidsi.h"
#include "sdk.h"
From where can I download these files?
Linux Manual Chapter 19 OmniVision Camera Driver
In this chapter was written: "Applications cannot use the camera driver directly. Instead, the applications use the V4L2 capture driver". 
But v4l2 driver doesn't know about ov5640 register. In description for "v4l2" is used term "control". Unfortunately, v4l2 driver implemented on i.MX6 and doesn't allow access for "control":
# v4l2-ctl -l
#
Whether there is an access method to the registers ov5640 from the application program?
0 件の賞賛
返信

2,884件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Sergey

please check below link and attached Linux Manual Chapter 19 OmniVision Camera Driver

https://community.nxp.com/message/627106?commentID=627106#comment-627106 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------