找回密码
 注册
搜索
楼主: martinwang

[资料] OV7740 寄存器设置

[复制链接]
发表于 2012-7-11 00:35:41 | 显示全部楼层

OV7740 寄存器设置

看看我的钱够不够?
点评回复

使用道具 举报

发表于 2012-7-11 00:38:48 | 显示全部楼层
以下是引用wangguanfu在2012-3-31 20:44:39的发言:
我买了,再便宜卖,一定把本赚够,
【文件名】:12331@52RD_OV7740_CSP_DS_1.51.pdf
【格 式】:pdf
【大 小】:1225K
【简 介】:
【目 录】:


骗子!!!
点评回复

使用道具 举报

发表于 2012-8-16 13:38:44 | 显示全部楼层

学习一下

刚开始做ov7740,多学习一下
点评回复

使用道具 举报

发表于 2012-9-28 13:55:34 | 显示全部楼层
以下是引用martinwang在2010-5-19 15:23:42的发言:

【文件名】:10519@52RD_OV7740_VGA_YCbCr_30fps.rar
【格 式】:rar
【大 小】:1K
【简 介】:OV7740寄存器设置,经验证可以使用
【目 录】:


看见您的设置文件,大喜,因为上面有VGA_60fps的设置方法:

// OV7740 YCbCr VGA (640x480)
// 30fps at 24MHz input clock, 16x gain ceiling
// Version: R-2
// Date: 05/19/2010

42 12 80
42 13 00

42 11 01 ;00/01/03/07 for 60/30/15/7.5fps


但是我使用您的默认设置的时候,只有VGA_15fps,按照60fps的参数修改之后,就成了30fps。是不是我哪里设置不正确呢?

平台:ARM-LINUX    SSD1938。
示波器测得PCLK为24M

(本参数只有30fps)
const static struct ov7740_reg ov7740_vga_set[] = {
//QXGA -> XGA
// OV7740 YCbCr VGA (640x480)
// 30fps at 24MHz input clock, 16x gain ceiling
// Version: R-2
// Date: 05/19/2010

{0x12, 0x80},
{0x13, 0x00},

// {0x11, 0x01}, //00/01/03/07 for 60/30/15/7.5fps
{0x11, 0x00},

{0x12, 0x00},
{0xd5, 0x10},
{0x0c, 0x12},
{0x0d, 0x34},
{0x17, 0x25},
{0x18, 0xa0},
{0x19, 0x03},
{0x1a, 0xf0},
{0x1b, 0x89},
{0x1e, 0x13},
{0x22, 0x03},
{0x29, 0x17},
{0x2b, 0xf8},
{0x2c, 0x01},
{0x31, 0xa0},
{0x32, 0xf0},
{0x33, 0xc4},

// {0x3a, 0xb4}, //<= 30fps //42 35 05 //60fps
{0x35, 0x05},

{0x36, 0x3f},

{0x04, 0x60},
{0x27, 0x80},
// {0x3d, 0x0f}, //08/0f/0f/0f for 60/30/15/7.5fps
{0x3d, 0x08},

{0x3e, 0x82},
{0x3f, 0x40},
{0x40, 0x7f},
{0x41, 0x6a},
{0x42, 0x29},
// {0x44, 0xe5}, //f5/e5/e5/e5 for 60/30/15/7.5fps
{0x44, 0xf5},

{0x45, 0x41},
{0x47, 0x42},
{0x48, 0x00},
{0x49, 0x61},
{0x4a, 0xa1},
{0x4b, 0x46},
{0x4c, 0x18},
{0x4d, 0x50},
{0x4e, 0x13},
{0x64, 0x00},
{0x67, 0x88},
{0x68, 0x1a},

{0x14, 0x38},
{0x24, 0x3c},
{0x25, 0x30},
{0x26, 0x72},

// {0x50, 0x97}, //2e/97/4c/26 for 60/30/15/7.5fps
{0x50, 0x2e},
// {0x51, 0x7e}, //fc/7e/3f/20 for 60/30/15/7.5fps
{0x51, 0xfc},
// {0x52, 0x00}, //10/00/00/00 for 60/30/15/7.5fps
{0x52, 0x10},

{0x53, 0x00},
{0x20, 0x00},
// {0x21, 0x23}, //01/23/57/cf for 60/30/15/7.5fps
{0x21, 0x01},

{0x38, 0x14},
{0xe9, 0x00},
{0x56, 0x55},
{0x57, 0xff},
{0x58, 0xff},
{0x59, 0xff},
{0x5f, 0x04},
{0x13, 0xff},

{0x80, 0x7d},
{0x81, 0x3f},
{0x82, 0x32},
{0x83, 0x03},
{0x38, 0x11},
{0x84, 0x70},
{0x85, 0x00},
{0x86, 0x03},
{0x87, 0x01},
{0x88, 0x05},
{0x89, 0x30},
{0x8d, 0x30},
{0x8f, 0x85},
{0x93, 0x30},
{0x95, 0x85},
{0x99, 0x30},
{0x9b, 0x85},

{0x9c, 0x08},
{0x9d, 0x12},
{0x9e, 0x23},
{0x9f, 0x45},
{0xa0, 0x55},
{0xa1, 0x64},
{0xa2, 0x72},
{0xa3, 0x7f},
{0xa4, 0x8b},
{0xa5, 0x95},
{0xa6, 0xa7},
{0xa7, 0xb5},
{0xa8, 0xcb},
{0xa9, 0xdd},
{0xaa, 0xec},
{0xab, 0x1a},

{0xce, 0x78},
{0xcf, 0x6e},
{0xd0, 0x0a},
{0xd1, 0x0c},
{0xd2, 0x84},
{0xd3, 0x90},
{0xd4, 0x1e},

{0x5a, 0x24},
{0x5b, 0x1f},
{0x5c, 0x88},
{0x5d, 0x60},

{0xac, 0x6e},
{0xbe, 0xff},
{0xbf, 0x00},

//50/60Hz auto detection is XCLK dependent
//the following is based on XCLK = 24MHz
{0x70, 0x00},
{0x71, 0x34},
{0x74, 0x28},
{0x75, 0x98},
{0x76, 0x00},
{0x77, 0x08},
{0x78, 0x01},
{0x79, 0xc2},
{0x7d, 0x02},
{0x7a, 0x9c},
{0x7b, 0x40},
{0xec, 0x02}, //02/82 for manual/auto
{0x7c, 0x0c},
};

// 2012-9-26 17:25 深圳市凯信隆科技有限公司 给的配置参数 7.5fps
const static struct ov7740_reg ov7740_vga3_set[] = {
//QXGA -> XGA
{0x12, 0x80},
{0x13, 0x00},
{0x11, 0x01},
{0x55, 0x50}, //40fps
{0x12, 0x00},
{0xd5, 0x10},
{0x0c, 0x12},
{0x0d, 0x34},
{0x17, 0x25},
{0x18, 0xa0},
{0x19, 0x03},
{0x1a, 0xf0},
{0x1b, 0x89},
{0x1e, 0x13},
{0x22, 0x03},
{0x29, 0x17},
{0x2b, 0xf8},
{0x2c, 0x01},
{0x31, 0xa0},
{0x32, 0xf0},
{0x33, 0xc4},
{0x3a, 0xb4},
{0x36, 0x3f},

{0x04, 0x60},
{0x27, 0x80},
{0x3d, 0x08},
{0x3e, 0x82},
{0x3f, 0x40},
{0x40, 0x7f},
{0x41, 0x6a},
{0x42, 0x29},
{0x44, 0xf5},
{0x45, 0x41},
{0x47, 0x42},
{0x48, 0x00},
{0x49, 0x61},
{0x4a, 0xa1},
{0x4b, 0x46},
{0x4c, 0x18},
{0x4d, 0x50},
{0x4e, 0x13},
{0x64, 0x00},
{0x67, 0x88},
{0x68, 0x1a},

{0x14, 0x38},
{0x24, 0x3c},
{0x25, 0x30},
{0x26, 0x72},
{0x50, 0xCA},
{0x51, 0xA8},
{0x52, 0x10},
{0x53, 0x00},
{0x20, 0x00},
{0x21, 0x03},
{0x38, 0x14},
{0xe9, 0x00},
{0x56, 0x55},
{0x57, 0xff},
{0x58, 0xff},
{0x59, 0xff},
{0x5f, 0x04},
{0x13, 0xff},

{0x80, 0x7d},
{0x81, 0x3f},
{0x82, 0x32},
{0x83, 0x03},
{0x38, 0x11},
{0x84, 0x70},
{0x85, 0x00},
{0x86, 0x03},
{0x87, 0x01},
{0x88, 0x05},
{0x89, 0x30},
{0x8d, 0x30},
{0x8f, 0x85},
{0x93, 0x30},
{0x95, 0x85},
{0x99, 0x30},
{0x9b, 0x85},

{0x9c, 0x05}, //08
{0x9d, 0x0F}, //12
{0x9e, 0x20}, //23
{0x9f, 0x43}, //45
{0xa0, 0x54}, //55
{0xa1, 0x63}, //64
{0xa2, 0x72},
{0xa3, 0x7f},
{0xa4, 0x8b},
{0xa5, 0x96}, //95
{0xa6, 0xA9}, //a7
{0xa7, 0xB8}, //b5
{0xa8, 0xCF}, //cb
{0xa9, 0xE3}, //dd
{0xaa, 0xF4}, //ec
{0xab, 0x10}, //1a

{0xce, 0x78},
{0xcf, 0x6e},
{0xd0, 0x0a},
{0xd1, 0x0c},
{0xd2, 0x84},
{0xd3, 0x90},
{0xd4, 0x1e},

{0x5a, 0x24},
{0x5b, 0x1f},
{0x5c, 0x88},
{0x5d, 0x60},

{0xac, 0x6e},
{0xbe, 0xff},
{0xbf, 0x00},

{0x70, 0x00},
{0x71, 0x34},
{0x74, 0x28},
{0x75, 0x98},
{0x76, 0x00},
{0x77, 0x08},
{0x78, 0x01},
{0x79, 0xc2},
{0x7d, 0x02},
{0x7a, 0x9c},
{0x7b, 0x40},
{0xec, 0x82},
{0x7c, 0x0c},
};
点评回复

使用道具 举报

发表于 2012-11-26 16:00:56 | 显示全部楼层
下载了  谢谢楼主
点评回复

使用道具 举报

发表于 2013-11-1 12:40:07 | 显示全部楼层
看看。。。。。。。。。。。。。。。
点评回复

使用道具 举报

发表于 2014-8-24 21:59:57 | 显示全部楼层
希望物有所值
点评回复

使用道具 举报

52RD网友  发表于 2014-12-21 01:02:14
ok,thanks you
52RD网友  发表于 2015-2-28 09:12:56
wangguanfu 发表于 2012-3-31 20:44
我买了,再便宜卖,一定把本赚够,
【文件名】:12331@52RD_OV7740_CSP_DS_1.51.pdf
【格 式】:pdf

你好,可以分享给我吗?
发表于 2017-7-19 17:49:43 | 显示全部楼层
看看llllllllllllllllll
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

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

GMT+8, 2024-11-26 12:08 , Processed in 0.056513 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

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