antoniofay

antoniofay

0个粉丝

7

问答

0

专栏

0

资料

antoniofay  发布于  2020-06-01 14:34:52
采纳率 0%
7个问答
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]
我来回答
回答17个
时间排序
认可量排序

antoniofay

0个粉丝

7

问答

0

专栏

0

资料

antoniofay 2020-06-03 08:38:42
认可0
有偿求助,顶顶顶

qn1538460729

0个粉丝

0

问答

0

专栏

0

资料

qn1538460729 2020-06-03 09:59:12
认可0
上面叙述的address 0x3007H的设定值,怎麽看怎麽怪~~

不知有无试过原init值 0x00, 若正常,0x10或许才是楼主原本想要的效果。

若还是都有问题,那可能不是 Sensor Driver段,或许要看ISP接的状况。

antoniofay

0个粉丝

7

问答

0

专栏

0

资料

antoniofay 2020-06-03 10:51:08
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=159300&ptid=80528]qn1538460729 发表于 2020-6-3 09:59[/url]
上面叙述的address 0x3007H的设定值,怎麽看怎麽怪~~

不知有无试过原init值 0x00, 若正常,0x10或许才 ...[/quote]

0x40是想尝试下cropping模式会不会正常工作,其实一开始是0x00不正常。现在其实hi_mipi和VI端输入的格式是正确的1080p60,但是图像就是有问题

qn1538460729

0个粉丝

0

问答

0

专栏

0

资料

qn1538460729 2020-06-03 11:17:35
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=159308&ptid=80528]antoniofay 发表于 2020-6-3 10:51[/url]
0x40是想尝试下cropping模式会不会正常工作,其实一开始是0x00不正常。现在其实hi_mipi和VI端输入的格式 ...[/quote]

理解,以前若看到类似的现象,很高比例ISP接 Sensor RAW的时候,格式设定相关的问题。
那问题可能就不是出在Register Table上了。

qn1591840505

0个粉丝

2

问答

0

专栏

0

资料

qn1591840505 2020-06-11 10:11:47
认可0
大神 能带带我吗 。。例程我都没有跑起来

goodman

4个粉丝

30

问答

18

专栏

17

资料

goodman 2020-08-30 19:17:30
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=162121&ptid=80528]qn1572934604 发表于 2020-8-28 23:23[/url]
求人不如求自己,我也通了。[/quote]

大家一起做伸手党啊,现在流行,包括楼主!

924742206

0个粉丝

22

问答

0

专栏

0

资料

924742206 2020-09-02 12:29:15
认可0
这是什么原因造成的???

硅天下科技

1个粉丝

38

问答

0

专栏

9

资料

硅天下科技 2020-09-04 17:09:18
认可0
Hi3559AV100  + IMX290LQR-C

lkpooo

0个粉丝

3

问答

0

专栏

0

资料

lkpooo 2020-09-13 09:12:49
认可0
这是什么原因造成的呢

想你开心

0个粉丝

1

问答

0

专栏

0

资料

想你开心 2020-12-31 17:22:20
认可0

你好,请问怎么解决的

想你开心

0个粉丝

1

问答

0

专栏

0

资料

想你开心 2020-12-31 17:24:01
认可0

我们遇见的问题是,竖条纹,3519解码时没有报错,可以显示分辨率,但抓的数据是竖条纹

想你开心

0个粉丝

1

问答

0

专栏

0

资料

想你开心 2020-12-31 17:25:29
认可0

想你开心

0个粉丝

1

问答

0

专栏

0

资料

想你开心 2020-12-31 17:25:44
认可0

请教一下

K. J.

0个粉丝

0

问答

0

专栏

0

资料

K. J. 2021-06-04 08:53:39
认可0

你好,楼主这个问题解决了没有。我也遇到同样问题 忘赐教

Pere_Ai

1个粉丝

1

问答

0

专栏

0

资料

Pere_Ai 2021-08-09 19:24:22
认可0

看一下 sensor厂商那边怎么改的

jiangfalai

0个粉丝

0

问答

0

专栏

4

资料

jiangfalai 2021-08-10 11:36:08
认可0

60 要跑SLVS-EC吧

IamLuDan

0个粉丝

0

问答

0

专栏

0

资料

IamLuDan 2024-06-09 16:02:32
认可0

楼主你好,请问这个问题最后是如何解决的呢,最近在调试的时候也遇到了同样的问题

或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
相关问答
无更多相似问答 去提问
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区