5394
- 收藏
- 点赞
- 分享
- 举报
imx290 60fps问题
imx290用3559a自带的驱动跑着没问题,mipi 1080p30的,现在想改个1080p60的,按照手册改了寄存器结果出来是黑红蓝的竖纹,请教下哪位大神遇到过这个问题么?
sensor配置是在1080p30的基础上改的
[code]
imx290_write_register(ViPipe, 0x3000, 0x01); // standby
imx290_write_register(ViPipe, 0x3002, 0x01); // XTMSTA
imx290_write_register(ViPipe, 0x3005, 0x01); // ADBIT
imx290_write_register(ViPipe, 0x3129, 0x00); // ADBIT1
imx290_write_register(ViPipe, 0x317c, 0x00); // ADBIT2
imx290_write_register(ViPipe, 0x31ec, 0x0e); // ADBIT3
imx290_write_register(ViPipe, 0x3441, 0x0c); // CSI_DT_FMT 0x0c0c: raw12 0x0a0a: raw10
imx290_write_register(ViPipe, 0x3442, 0x0c); // CSI_DT_FMT
imx290_write_register(ViPipe, 0x3007, 0x40); // 0x00: all pixels 0x04: cropping
imx290_write_register(ViPipe, 0x3009, 0x01); // 0x02: 30fps 0x01: 60fps 0x00: 120fps
imx290_write_register(ViPipe, 0x300c, 0x00);
imx290_write_register(ViPipe, 0x300f, 0x00);
imx290_write_register(ViPipe, 0x3010, 0x21);
imx290_write_register(ViPipe, 0x3012, 0x64);
imx290_write_register(ViPipe, 0x3016, 0x09);
imx290_write_register(ViPipe, 0x3017, 0x00);
imx290_write_register(ViPipe, 0x301c, 0x98); //0x1130: 30fps 0x898: 60fps
imx290_write_register(ViPipe, 0x301d, 0x08);
#if 1
imx290_write_register(ViPipe, 0x3020, 0x01); // SHS1
imx290_write_register(ViPipe, 0x3021, 0x00);
imx290_write_register(ViPipe, 0x3024, 0x00); // SHS2
imx290_write_register(ViPipe, 0x3025, 0x00);
imx290_write_register(ViPipe, 0x3028, 0x00); // SHS3
imx290_write_register(ViPipe, 0x3029, 0x00);
imx290_write_register(ViPipe, 0x3030, 0x00); // RHS1
imx290_write_register(ViPipe, 0x3031, 0x00);
imx290_write_register(ViPipe, 0x3034, 0x00); // RHS2
imx290_write_register(ViPipe, 0x3035, 0x00);
#else
imx290_write_register(ViPipe, 0x3020, 0x02);
#endif
imx290_write_register(ViPipe, 0x305c, 0x18);
imx290_write_register(ViPipe, 0x305d, 0x03);
imx290_write_register(ViPipe, 0x305e, 0x20);
imx290_write_register(ViPipe, 0x305f, 0x01);
imx290_write_register(ViPipe, 0x3070, 0x02);
imx290_write_register(ViPipe, 0x3071, 0x11);
imx290_write_register(ViPipe, 0x309b, 0x10);
imx290_write_register(ViPipe, 0x309c, 0x22);
imx290_write_register(ViPipe, 0x30a2, 0x02);
imx290_write_register(ViPipe, 0x30a6, 0x20);
imx290_write_register(ViPipe, 0x30a8, 0x20);
imx290_write_register(ViPipe, 0x30aa, 0x20);
imx290_write_register(ViPipe, 0x30ac, 0x20);
imx290_write_register(ViPipe, 0x30b0, 0x43);
imx290_write_register(ViPipe, 0x3119, 0x9e);
imx290_write_register(ViPipe, 0x311c, 0x1e);
imx290_write_register(ViPipe, 0x311e, 0x08);
imx290_write_register(ViPipe, 0x3128, 0x05);
imx290_write_register(ViPipe, 0x313d, 0x83);
imx290_write_register(ViPipe, 0x3150, 0x03);
imx290_write_register(ViPipe, 0x317e, 0x00);
imx290_write_register(ViPipe, 0x315e, 0x1a);
imx290_write_register(ViPipe, 0x3164, 0x1a);
imx290_write_register(ViPipe, 0x32b8, 0x50);
imx290_write_register(ViPipe, 0x32b9, 0x10);
imx290_write_register(ViPipe, 0x32ba, 0x00);
imx290_write_register(ViPipe, 0x32bb, 0x04);
imx290_write_register(ViPipe, 0x32c8, 0x50);
imx290_write_register(ViPipe, 0x32c9, 0x10);
imx290_write_register(ViPipe, 0x32ca, 0x00);
imx290_write_register(ViPipe, 0x32cb, 0x04);
imx290_write_register(ViPipe, 0x332c, 0xd3);
imx290_write_register(ViPipe, 0x332d, 0x10);
imx290_write_register(ViPipe, 0x332e, 0x0d);
imx290_write_register(ViPipe, 0x3358, 0x06);
imx290_write_register(ViPipe, 0x3359, 0xe1);
imx290_write_register(ViPipe, 0x335a, 0x11);
imx290_write_register(ViPipe, 0x3360, 0x1e);
imx290_write_register(ViPipe, 0x3361, 0x61);
imx290_write_register(ViPipe, 0x3362, 0x10);
imx290_write_register(ViPipe, 0x33b0, 0x50);
imx290_write_register(ViPipe, 0x33b2, 0x1a);
imx290_write_register(ViPipe, 0x33b3, 0x04);
imx290_write_register(ViPipe, 0x3405, 0x10); //0x20: 30fps 0x10: 60fps 0x00: 120fps
imx290_write_register(ViPipe, 0x3414, 0x0a);
imx290_write_register(ViPipe, 0x3418, 0x49);
imx290_write_register(ViPipe, 0x3419, 0x04);
imx290_write_register(ViPipe, 0x3444, 0x20);
imx290_write_register(ViPipe, 0x3445, 0x25);
imx290_write_register(ViPipe, 0x3446, 0x57);
imx290_write_register(ViPipe, 0x3447, 0x00);
imx290_write_register(ViPipe, 0x3448, 0x37);
imx290_write_register(ViPipe, 0x3449, 0x00);
imx290_write_register(ViPipe, 0x344a, 0x1f);
imx290_write_register(ViPipe, 0x344b, 0x00);
imx290_write_register(ViPipe, 0x344c, 0x1f);
imx290_write_register(ViPipe, 0x344d, 0x00);
imx290_write_register(ViPipe, 0x344e, 0x1f);
imx290_write_register(ViPipe, 0x344f, 0x00);
imx290_write_register(ViPipe, 0x3450, 0x77);
imx290_write_register(ViPipe, 0x3451, 0x00);
imx290_write_register(ViPipe, 0x3452, 0x1f);
imx290_write_register(ViPipe, 0x3453, 0x00);
imx290_write_register(ViPipe, 0x3454, 0x17);
imx290_write_register(ViPipe, 0x3455, 0x00);
imx290_write_register(ViPipe, 0x3480, 0x49);
imx290_default_reg_init(ViPipe);
imx290_write_register(ViPipe, 0x3000, 0x00); // standby
delay_ms(20);
imx290_write_register(ViPipe, 0x3002, 0x00); // master mode start
imx290_write_register(ViPipe, 0x304b, 0x0a); // XVSOUTSEL XHSOUTSEL[/code]
sensor配置是在1080p30的基础上改的
[code]
imx290_write_register(ViPipe, 0x3000, 0x01); // standby
imx290_write_register(ViPipe, 0x3002, 0x01); // XTMSTA
imx290_write_register(ViPipe, 0x3005, 0x01); // ADBIT
imx290_write_register(ViPipe, 0x3129, 0x00); // ADBIT1
imx290_write_register(ViPipe, 0x317c, 0x00); // ADBIT2
imx290_write_register(ViPipe, 0x31ec, 0x0e); // ADBIT3
imx290_write_register(ViPipe, 0x3441, 0x0c); // CSI_DT_FMT 0x0c0c: raw12 0x0a0a: raw10
imx290_write_register(ViPipe, 0x3442, 0x0c); // CSI_DT_FMT
imx290_write_register(ViPipe, 0x3007, 0x40); // 0x00: all pixels 0x04: cropping
imx290_write_register(ViPipe, 0x3009, 0x01); // 0x02: 30fps 0x01: 60fps 0x00: 120fps
imx290_write_register(ViPipe, 0x300c, 0x00);
imx290_write_register(ViPipe, 0x300f, 0x00);
imx290_write_register(ViPipe, 0x3010, 0x21);
imx290_write_register(ViPipe, 0x3012, 0x64);
imx290_write_register(ViPipe, 0x3016, 0x09);
imx290_write_register(ViPipe, 0x3017, 0x00);
imx290_write_register(ViPipe, 0x301c, 0x98); //0x1130: 30fps 0x898: 60fps
imx290_write_register(ViPipe, 0x301d, 0x08);
#if 1
imx290_write_register(ViPipe, 0x3020, 0x01); // SHS1
imx290_write_register(ViPipe, 0x3021, 0x00);
imx290_write_register(ViPipe, 0x3024, 0x00); // SHS2
imx290_write_register(ViPipe, 0x3025, 0x00);
imx290_write_register(ViPipe, 0x3028, 0x00); // SHS3
imx290_write_register(ViPipe, 0x3029, 0x00);
imx290_write_register(ViPipe, 0x3030, 0x00); // RHS1
imx290_write_register(ViPipe, 0x3031, 0x00);
imx290_write_register(ViPipe, 0x3034, 0x00); // RHS2
imx290_write_register(ViPipe, 0x3035, 0x00);
#else
imx290_write_register(ViPipe, 0x3020, 0x02);
#endif
imx290_write_register(ViPipe, 0x305c, 0x18);
imx290_write_register(ViPipe, 0x305d, 0x03);
imx290_write_register(ViPipe, 0x305e, 0x20);
imx290_write_register(ViPipe, 0x305f, 0x01);
imx290_write_register(ViPipe, 0x3070, 0x02);
imx290_write_register(ViPipe, 0x3071, 0x11);
imx290_write_register(ViPipe, 0x309b, 0x10);
imx290_write_register(ViPipe, 0x309c, 0x22);
imx290_write_register(ViPipe, 0x30a2, 0x02);
imx290_write_register(ViPipe, 0x30a6, 0x20);
imx290_write_register(ViPipe, 0x30a8, 0x20);
imx290_write_register(ViPipe, 0x30aa, 0x20);
imx290_write_register(ViPipe, 0x30ac, 0x20);
imx290_write_register(ViPipe, 0x30b0, 0x43);
imx290_write_register(ViPipe, 0x3119, 0x9e);
imx290_write_register(ViPipe, 0x311c, 0x1e);
imx290_write_register(ViPipe, 0x311e, 0x08);
imx290_write_register(ViPipe, 0x3128, 0x05);
imx290_write_register(ViPipe, 0x313d, 0x83);
imx290_write_register(ViPipe, 0x3150, 0x03);
imx290_write_register(ViPipe, 0x317e, 0x00);
imx290_write_register(ViPipe, 0x315e, 0x1a);
imx290_write_register(ViPipe, 0x3164, 0x1a);
imx290_write_register(ViPipe, 0x32b8, 0x50);
imx290_write_register(ViPipe, 0x32b9, 0x10);
imx290_write_register(ViPipe, 0x32ba, 0x00);
imx290_write_register(ViPipe, 0x32bb, 0x04);
imx290_write_register(ViPipe, 0x32c8, 0x50);
imx290_write_register(ViPipe, 0x32c9, 0x10);
imx290_write_register(ViPipe, 0x32ca, 0x00);
imx290_write_register(ViPipe, 0x32cb, 0x04);
imx290_write_register(ViPipe, 0x332c, 0xd3);
imx290_write_register(ViPipe, 0x332d, 0x10);
imx290_write_register(ViPipe, 0x332e, 0x0d);
imx290_write_register(ViPipe, 0x3358, 0x06);
imx290_write_register(ViPipe, 0x3359, 0xe1);
imx290_write_register(ViPipe, 0x335a, 0x11);
imx290_write_register(ViPipe, 0x3360, 0x1e);
imx290_write_register(ViPipe, 0x3361, 0x61);
imx290_write_register(ViPipe, 0x3362, 0x10);
imx290_write_register(ViPipe, 0x33b0, 0x50);
imx290_write_register(ViPipe, 0x33b2, 0x1a);
imx290_write_register(ViPipe, 0x33b3, 0x04);
imx290_write_register(ViPipe, 0x3405, 0x10); //0x20: 30fps 0x10: 60fps 0x00: 120fps
imx290_write_register(ViPipe, 0x3414, 0x0a);
imx290_write_register(ViPipe, 0x3418, 0x49);
imx290_write_register(ViPipe, 0x3419, 0x04);
imx290_write_register(ViPipe, 0x3444, 0x20);
imx290_write_register(ViPipe, 0x3445, 0x25);
imx290_write_register(ViPipe, 0x3446, 0x57);
imx290_write_register(ViPipe, 0x3447, 0x00);
imx290_write_register(ViPipe, 0x3448, 0x37);
imx290_write_register(ViPipe, 0x3449, 0x00);
imx290_write_register(ViPipe, 0x344a, 0x1f);
imx290_write_register(ViPipe, 0x344b, 0x00);
imx290_write_register(ViPipe, 0x344c, 0x1f);
imx290_write_register(ViPipe, 0x344d, 0x00);
imx290_write_register(ViPipe, 0x344e, 0x1f);
imx290_write_register(ViPipe, 0x344f, 0x00);
imx290_write_register(ViPipe, 0x3450, 0x77);
imx290_write_register(ViPipe, 0x3451, 0x00);
imx290_write_register(ViPipe, 0x3452, 0x1f);
imx290_write_register(ViPipe, 0x3453, 0x00);
imx290_write_register(ViPipe, 0x3454, 0x17);
imx290_write_register(ViPipe, 0x3455, 0x00);
imx290_write_register(ViPipe, 0x3480, 0x49);
imx290_default_reg_init(ViPipe);
imx290_write_register(ViPipe, 0x3000, 0x00); // standby
delay_ms(20);
imx290_write_register(ViPipe, 0x3002, 0x00); // master mode start
imx290_write_register(ViPipe, 0x304b, 0x0a); // XVSOUTSEL XHSOUTSEL[/code]
我来回答
回答17个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2019-01-31 16:30:58
-
2024-06-26 11:39:13
-
2016-02-19 06:06:56
-
2019-08-02 12:53:41
-
2018-06-28 17:17:00
-
2018-04-23 16:20:03
-
2018-08-23 17:14:38
-
2016-02-24 10:36:49
-
2021-06-08 10:19:52
-
2016-12-14 19:34:56
-
2019-01-03 10:35:33
-
2020-05-21 17:38:57
-
2018-10-09 18:32:25
-
2020-05-06 11:18:30
-
2020-04-15 19:54:14
-
2019-01-25 13:20:33
-
2018-11-26 15:13:17
-
2018-12-27 15:52:20
-
2023-07-21 18:19:32
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
-
10求HI3519DV500_SDK_V2.0.1.1
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认