找回密码
 注册
搜索
查看: 886|回复: 3

[讨论] OV9653 寄存器配置

[复制链接]
发表于 2010-8-15 11:43:44 | 显示全部楼层 |阅读模式
手上有一个OV9653 这次要用 stm32 去调试
QVGA rgb565 输出

/-----/-----/-----/
-----/-----/-----/
----/-----/-----/
---/-----/-----/
--/-----/-----/
大概是这样的 320x240 bmp
除线条外底都是白屏...
 楼主| 发表于 2010-8-16 12:23:37 | 显示全部楼层
这是抓到的图像
http://addsnaps.com/view/img/4295 <- 这是 push up
http://addsnaps.com/view/img/4306 <- 这是 floating配置
[此贴子已经被作者于2010-8-16 14:17:28编辑过]
点评回复

使用道具 举报

 楼主| 发表于 2010-8-15 23:28:08 | 显示全部楼层
以下是我的配置
{0x11,0x80},                // enable double clock option
{0x6a,0x3e},                // manual banding filter value
{0x3b,0x09},                // use quarter frame manual banding filter
{0x13,0xe0},                // enable AGC/AEC unlimited step size, banding on
{0x01,0x80},                // blue gain setting
{0x02,0x80},                // red gain setting
{0x00,0x00},                // AGC gain setting
{0x10,0x00},                // AEC value
{0x13,0xe5},                // add enable AGC AEC enable
{0x39,0x43},                // reserved
{0x38,0x12},                // reserved
{0x37,0x00},                // reserved
{0x35,0x91},                // reserved
{0x0e,0xa0},                // if clock is 48M can et high to 15 fps
{0x1e,0x14},                // VFlip enable, reserved
{0xA8,0x80},                // reserved
{0x12,0x14},                // QVGA & RGB
{0x04,0x00},                //
{0x0c,0x04},                // VarioPixel for QVGA
{0x0d,0x80},                // VarioPixel for QVGA
// horizontal = 1280
{0x18,0xc6},                //
{0x17,0x26},                //
{0x32,0xad},                //
// vertical = 480
{0x03,0x00},                //
{0x1a,0x3d},                //
{0x19,0x01},                //

{0x3f,0xa6},                // edge enhancement threshold
{0x14,0x2e},                // automatic gain ceiling 8x, less limit of banding filter, VSYNC drop down when data drop, enable frame
{0x15,0x10},                // PCLK reverse
{0x41,0x02},                // color matrix double option
{0x42,0x08},                // edge enhancement option
{0x1b,0x00},                // delay select
{0x16,0x06},                // reserved
{0x33,0xe2},                // reserved
{0x34,0xbf},                // reserved
{0x96,0x04},                // reserved
{0x3a,0x00},                //
{0x8e,0x00},                // reserved
{0x3c,0x73},                // no href when vref is low, reserved
{0x8B,0x06},                // reserved
{0x94,0x88},                // reserved
{0x95,0x88},                // reserved
{0x40,0xD1},                // output range 00-ff, rgb565
{0x29,0x3f},                // bypass analog blc, regulator,reserved
{0x0f,0x42},                // reserved, reset all timing when format changes
{0x3d,0x90},                // gamma for raw, enable color matrix
{0x69,0x40},                // reserved
{0x5C,0xb9},                // reserved
{0x5D,0x96},                // reserved
{0x5E,0x10},                // reserved
{0x59,0xc0},                // reserved
{0x5A,0xaf},                // reserved
{0x5B,0x55},                // reserved
{0x43,0xf0},                // reserved
{0x44,0x10},                // reserved
{0x45,0x68},                // reserved
{0x46,0x96},                // reserved
{0x47,0x60},                // reserved
{0x48,0x80},                // reserved
{0x5F,0xe0},                // reserved
{0x60,0x8c},                // reserved
{0x61,0x20},                // reserved
{0xa5,0xd9},                // reserved
{0xa4,0x74},                // reserved
{0x8d,0x02},                // color gain digitial
{0x13,0xe7},                // add AWB enable
{0x4f,0x3a},                // matrix coefficient
{0x50,0x3d},                // matrix coefficient
{0x51,0x03},                // matrix coefficient
{0x52,0x12},                // matrix coefficient
{0x53,0x26},                // matrix coefficient
{0x54,0x38},                // matrix coefficient
{0x55,0x40},                // matrix coefficient
{0x56,0x40},                // matrix coefficient
{0x57,0x40},                // matrix coefficient
{0x58,0x0d},                // sign for coefficient 9 - 2
{0x8C,0x23},                // de-noise enable, white-pixel erase enable/option
{0x3E,0x02},                // enable edge enable for yuv & rgb
{0xa9,0xb8},                // reserved
{0xaa,0x92},                // reserved
{0xab,0x0a},                // reserved
{0x8f,0xdf},                // digitial BLC for B R Gb Gr
{0x90,0x00},                // BLC value
{0x91,0x00},                // BLC value
{0x9f,0x00},                // BLC value
{0xa0,0x00},                // BLC value
{0x3A,0x01},                // enable BLC
{0x24,0x70},                // agc/aec upper
{0x25,0x64},                // agc/aec lower
{0x26,0xc3},                // nibble of limit
{0x2a,0x00},                // HYNC delay
{0x2b,0x00},                // dummy pixel insert LSB
{0x6c,0x40},                // gamma curve
{0x6d,0x30},                // gamma curve
{0x6e,0x4b},                // gamma curve
{0x6f,0x60},                // gamma curve
{0x70,0x70},                // gamma curve
{0x71,0x70},                // gamma curve
{0x72,0x70},                // gamma curve
{0x73,0x70},                // gamma curve
{0x74,0x60},                // gamma curve
{0x75,0x60},                // gamma curve
{0x76,0x50},                // gamma curve
{0x77,0x48},                // gamma curve
{0x78,0x3a},                // gamma curve
{0x79,0x2e},                // gamma curve
{0x7a,0x28},                // gamma curve
{0x7b,0x22},                // gamma curve
{0x7c,0x04},                // gamma curve
{0x7d,0x07},                // gamma curve
{0x7e,0x10},                // gamma curve
{0x7f,0x28},                // gamma curve
{0x80,0x36},                // gamma curve
{0x81,0x44},                // gamma curve
{0x82,0x52},                // gamma curve
{0x83,0x60},                // gamma curve
{0x84,0x6c},                // gamma curve
{0x85,0x78},                // gamma curve
{0x86,0x8c},                // gamma curve
{0x87,0x9e},                // gamma curve
{0x88,0xbb},                // gamma curve
{0x89,0xd2},                // gamma curve
{0x8a,0xe6}                        // gamma curve
点评回复

使用道具 举报

 楼主| 发表于 2010-8-18 21:03:31 | 显示全部楼层
现在突然发现  VSYNC & HREF 没有波形出现
会是那个寄存器出错了
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-10-4 12:28 , Processed in 0.051870 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表