fs_s5pc100平台linux摄像头驱动开发详解(Fs_s5pc100 platform Linux camera driver development Xiangjie)
fs_s5pc100平台linux摄像头驱动开发详解(Fs_s5pc100 platform Linux camera driver development Xiangjie)
Household oxygen machine price
Understand the camera driver needs four premises
The working principle and working principle of S5PC100 camera in 1 Basic integrated Camera controller
2 in platform_device and platform_driver working principle
3 in the Linux kernel V4L2 Driver Architecture
4 in the Linux kernel I2C Driver Architecture
1. camera working principle
OV9650/9655 is a visual signal of the CMOS interface of the image sensor chip can sense the external and convert it to a number
Digital signal and output. The following diagram can clearly see its working principle
We need to provide the clock through the XVCLK1 camera RESET PWDN camera in the line is reset when working
This is always low. HREF is for the PCLK reference signal is the pixel clock VSYNC is a synchronous signal. Give a photo
As the head of the clock and reset camera provides the camera began to work through the HREF and the PCLK VSYNC
Synchronous transmission of digital image signal. The data is sent through the parallel D0~D7 eight data line.
OV9650 image format of the outward transmission YUV format is the YUV is a compressed image data format of the inside of it
The camera also contains many specific format types we is corresponding to YCbCr bits 4:2:2, Interpolated 8 exergy.
Color. Make sure that the driver behind the format setting format must be consistent with this format. W home oxygen machine price OV9650 there are many registers need to configure the configuration of these registers is required by the chip inside the SCCB bus
To configure. SCCB is in fact a weakening of the I2C bus. We can put the camera directly connected to the S5PC100 I2C
The controller uses the I2C bus to read and write the register of the direct use of GPIO I2C simulation can achieve read and write.
The driver code in our two modes of operation are realized.
The data collected from OV9650 not directly to CPU. S5PC100 chip integr