llsh

llsh

0个粉丝

20

问答

0

专栏

3

资料

llsh  发布于  2016-09-28 17:41:41
采纳率 0%
20个问答
3945

Hi3516C+AR0237 VI不能通

 
用的是3516A SDK中的Ar0237的初始化序列。现在是I2c能通,但是VI没有数据。。 数据是并行。 16A的是LVDS
是不是初始化序列需要修改呢????  还有现在在现有的资料中都没有找到ar0237 PLL的介绍。只写了寄存器的值,没有写这个值代表什么。 不知道时钟配置的正确与否。
我来回答
回答5个
时间排序
认可量排序

Nikita

1个粉丝

35

问答

0

专栏

1

资料

Nikita 2016-10-14 20:07:59
认可0
You have to set MIPI to INPUT_MODE_CMOS_33V, vi set to VI_MODE_DIGITAL_CAMERA.

Nikita

1个粉丝

35

问答

0

专栏

1

资料

Nikita 2016-10-14 20:08:36
认可0
[code]combo_dev_attr_t MIPI_AR0237_ATTR = {
    .input_mode = INPUT_MODE_CMOS_33V, {}
};

VI_DEV_ATTR_S DEV_ATTR_AR0237_1080P = {
    VI_MODE_DIGITAL_CAMERA,
    VI_WORK_MODE_1Multiplex,
    {0x0FFF0000,   0x0},
    VI_SCAN_PROGRESSIVE,
    { -1, -1, -1, -1},
    VI_INPUT_DATA_YUYV, // TODO: check it!!!
    {
        VI_VSYNC_PULSE,
        VI_VSYNC_NEG_HIGH,
        VI_HSYNC_VALID_SINGNAL,
        VI_HSYNC_NEG_HIGH,
        VI_VSYNC_VALID_SINGAL,
        VI_VSYNC_VALID_NEG_HIGH,
        {
            4,  1920,   4,
            4,  1080,   4,
            0,  0,      0
        }
    },
    VI_PATH_ISP,
    VI_DATA_TYPE_RGB,
    HI_FALSE,
    {0, 0, 1920, 1080}
};[/code]

Nikita

1个粉丝

35

问答

0

专栏

1

资料

Nikita 2016-10-14 20:09:23
认可0
Also use this code to init ar0236 by i2c

[code]
void sensor_linear_1080p30_init()
{
sensor_write_register(0x301A, 0x0001);
delay_ms(200);
sensor_write_register(0x301A, 0x10D8);

sensor_write_register(0x3088, 0x8000);
sensor_write_register(0x3086, 0x4558);
sensor_write_register(0x3086, 0x72A6);
sensor_write_register(0x3086, 0x4A31);
sensor_write_register(0x3086, 0x4342);
sensor_write_register(0x3086, 0x8E03);
sensor_write_register(0x3086, 0x2A14);
sensor_write_register(0x3086, 0x4578);
sensor_write_register(0x3086, 0x7B3D);
sensor_write_register(0x3086, 0xFF3D);
sensor_write_register(0x3086, 0xFF3D);
sensor_write_register(0x3086, 0xEA2A);
sensor_write_register(0x3086, 0x043D);
sensor_write_register(0x3086, 0x102A);
sensor_write_register(0x3086, 0x052A);
sensor_write_register(0x3086, 0x1535);
sensor_write_register(0x3086, 0x2A05);
sensor_write_register(0x3086, 0x3D10);
sensor_write_register(0x3086, 0x4558);
sensor_write_register(0x3086, 0x2A04);
sensor_write_register(0x3086, 0x2A14);
sensor_write_register(0x3086, 0x3DFF);
sensor_write_register(0x3086, 0x3DFF);
sensor_write_register(0x3086, 0x3DEA);
sensor_write_register(0x3086, 0x2A04);
sensor_write_register(0x3086, 0x622A);
sensor_write_register(0x3086, 0x288E);
sensor_write_register(0x3086, 0x0036);
sensor_write_register(0x3086, 0x2A08);
sensor_write_register(0x3086, 0x3D64);
sensor_write_register(0x3086, 0x7A3D);
sensor_write_register(0x3086, 0x0444);
sensor_write_register(0x3086, 0x2C4B);
sensor_write_register(0x3086, 0xA403);
sensor_write_register(0x3086, 0x430D);
sensor_write_register(0x3086, 0x2D46);
sensor_write_register(0x3086, 0x4316);
sensor_write_register(0x3086, 0x2A90);
sensor_write_register(0x3086, 0x3E06);
sensor_write_register(0x3086, 0x2A98);
sensor_write_register(0x3086, 0x5F16);
sensor_write_register(0x3086, 0x530D);
sensor_write_register(0x3086, 0x1660);
sensor_write_register(0x3086, 0x3E4C);
sensor_write_register(0x3086, 0x2904);
sensor_write_register(0x3086, 0x2984);
sensor_write_register(0x3086, 0x8E03);
sensor_write_register(0x3086, 0x2AFC);
sensor_write_register(0x3086, 0x5C1D);
sensor_write_register(0x3086, 0x5754);
sensor_write_register(0x3086, 0x495F);
sensor_write_register(0x3086, 0x5305);
sensor_write_register(0x3086, 0x5307);
sensor_write_register(0x3086, 0x4D2B);
sensor_write_register(0x3086, 0xF810);
sensor_write_register(0x3086, 0x164C);
sensor_write_register(0x3086, 0x0955);
sensor_write_register(0x3086, 0x562B);
sensor_write_register(0x3086, 0xB82B);
sensor_write_register(0x3086, 0x984E);
sensor_write_register(0x3086, 0x1129);
sensor_write_register(0x3086, 0x9460);
sensor_write_register(0x3086, 0x5C19);
sensor_write_register(0x3086, 0x5C1B);
sensor_write_register(0x3086, 0x4548);
sensor_write_register(0x3086, 0x4508);
sensor_write_register(0x3086, 0x4588);
sensor_write_register(0x3086, 0x29B6);
sensor_write_register(0x3086, 0x8E01);
sensor_write_register(0x3086, 0x2AF8);
sensor_write_register(0x3086, 0x3E02);
sensor_write_register(0x3086, 0x2AFA);
sensor_write_register(0x3086, 0x3F09);
sensor_write_register(0x3086, 0x5C1B);
sensor_write_register(0x3086, 0x29B2);
sensor_write_register(0x3086, 0x3F0C);
sensor_write_register(0x3086, 0x3E03);
sensor_write_register(0x3086, 0x3E15);
sensor_write_register(0x3086, 0x5C13);
sensor_write_register(0x3086, 0x3F11);
sensor_write_register(0x3086, 0x3E0F);
sensor_write_register(0x3086, 0x5F2B);
sensor_write_register(0x3086, 0x902B);
sensor_write_register(0x3086, 0x803E);
sensor_write_register(0x3086, 0x062A);
sensor_write_register(0x3086, 0xF23F);
sensor_write_register(0x3086, 0x103E);
sensor_write_register(0x3086, 0x0160);
sensor_write_register(0x3086, 0x29A2);
sensor_write_register(0x3086, 0x29A3);
sensor_write_register(0x3086, 0x5F4D);
sensor_write_register(0x3086, 0x1C2A);
sensor_write_register(0x3086, 0xFA29);
sensor_write_register(0x3086, 0x8345);
sensor_write_register(0x3086, 0xA83E);
sensor_write_register(0x3086, 0x072A);
sensor_write_register(0x3086, 0xFB3E);
sensor_write_register(0x3086, 0x6745);
sensor_write_register(0x3086, 0x8824);
sensor_write_register(0x3086, 0x3E08);
sensor_write_register(0x3086, 0x2AFA);
sensor_write_register(0x3086, 0x5D29);
sensor_write_register(0x3086, 0x9288);
sensor_write_register(0x3086, 0x102B);
sensor_write_register(0x3086, 0x048B);
sensor_write_register(0x3086, 0x1686);
sensor_write_register(0x3086, 0x8D48);
sensor_write_register(0x3086, 0x4D4E);
sensor_write_register(0x3086, 0x2B80);
sensor_write_register(0x3086, 0x4C0B);
sensor_write_register(0x3086, 0x3F36);
sensor_write_register(0x3086, 0x2AF2);
sensor_write_register(0x3086, 0x3F10);
sensor_write_register(0x3086, 0x3E01);
sensor_write_register(0x3086, 0x6029);
sensor_write_register(0x3086, 0x8229);
sensor_write_register(0x3086, 0x8329);
sensor_write_register(0x3086, 0x435C);
sensor_write_register(0x3086, 0x155F);
sensor_write_register(0x3086, 0x4D1C);
sensor_write_register(0x3086, 0x2AFA);
sensor_write_register(0x3086, 0x4558);
sensor_write_register(0x3086, 0x8E00);
sensor_write_register(0x3086, 0x2A98);
sensor_write_register(0x3086, 0x3F0A);
sensor_write_register(0x3086, 0x4A0A);
sensor_write_register(0x3086, 0x4316);
sensor_write_register(0x3086, 0x0B43);
sensor_write_register(0x3086, 0x168E);
sensor_write_register(0x3086, 0x032A);
sensor_write_register(0x3086, 0x9C45);
sensor_write_register(0x3086, 0x783F);
sensor_write_register(0x3086, 0x072A);
sensor_write_register(0x3086, 0x9D3E);
sensor_write_register(0x3086, 0x305D);
sensor_write_register(0x3086, 0x2944);
sensor_write_register(0x3086, 0x8810);
sensor_write_register(0x3086, 0x2B04);
sensor_write_register(0x3086, 0x530D);
sensor_write_register(0x3086, 0x4558);
sensor_write_register(0x3086, 0x3E08);
sensor_write_register(0x3086, 0x8E01);
sensor_write_register(0x3086, 0x2A98);
sensor_write_register(0x3086, 0x8E00);
sensor_write_register(0x3086, 0x76A7);
sensor_write_register(0x3086, 0x77A7);
sensor_write_register(0x3086, 0x4644);
sensor_write_register(0x3086, 0x1616);
sensor_write_register(0x3086, 0xA57A);
sensor_write_register(0x3086, 0x1244);
sensor_write_register(0x3086, 0x4B18);
sensor_write_register(0x3086, 0x4A04);
sensor_write_register(0x3086, 0x4316);
sensor_write_register(0x3086, 0x0643);
sensor_write_register(0x3086, 0x1605);
sensor_write_register(0x3086, 0x4316);
sensor_write_register(0x3086, 0x0743);
sensor_write_register(0x3086, 0x1658);
sensor_write_register(0x3086, 0x4316);
sensor_write_register(0x3086, 0x5A43);
sensor_write_register(0x3086, 0x1645);
sensor_write_register(0x3086, 0x588E);
sensor_write_register(0x3086, 0x032A);
sensor_write_register(0x3086, 0x9C45);
sensor_write_register(0x3086, 0x787B);
sensor_write_register(0x3086, 0x3F07);
sensor_write_register(0x3086, 0x2A9D);
sensor_write_register(0x3086, 0x530D);
sensor_write_register(0x3086, 0x8B16);
sensor_write_register(0x3086, 0x863E);
sensor_write_register(0x3086, 0x2345);
sensor_write_register(0x3086, 0x5825);
sensor_write_register(0x3086, 0x3E10);
sensor_write_register(0x3086, 0x8E01);
sensor_write_register(0x3086, 0x2A98);
sensor_write_register(0x3086, 0x8E00);
sensor_write_register(0x3086, 0x3E10);
sensor_write_register(0x3086, 0x8D60);
sensor_write_register(0x3086, 0x1244);
sensor_write_register(0x3086, 0x4BB9);
sensor_write_register(0x3086, 0x2C2C);
sensor_write_register(0x3086, 0x2C2C);

sensor_write_register(0x3064, 0x1802);
sensor_write_register(0x3EEE, 0xA0AA);
sensor_write_register(0x30BA, 0x762C);
sensor_write_register(0x3F4A, 0x0F70);
sensor_write_register(0x309E, 0x016C);
sensor_write_register(0x3092, 0x006F);
sensor_write_register(0x3EE4, 0x9937);
sensor_write_register(0x3EE6, 0x3863);
sensor_write_register(0x3EEC, 0x3B0C);
sensor_write_register(0x3EEA, 0x2838);
sensor_write_register(0x3ECC, 0x4E2D);
sensor_write_register(0x3ED2, 0xFEA6);
sensor_write_register(0x3ED6, 0x2CB3);
sensor_write_register(0x3EEA, 0x2819);

sensor_write_register(0x301A, 0x10D8);
sensor_write_register(0x30B0, 0x1A38);
sensor_write_register(0x31AC, 0x0C0C);
sensor_write_register(0x302A, 0x0008);
sensor_write_register(0x302C, 0x0001);
sensor_write_register(0x302E, 0x0002);
sensor_write_register(0x3030, 0x002C);
sensor_write_register(0x3036, 0x000C);
sensor_write_register(0x3038, 0x0001);
sensor_write_register(0x3002, 0x0000);
sensor_write_register(0x3004, 0x0000);
sensor_write_register(0x3006, 0x0437);
sensor_write_register(0x3008, 0x077F);
sensor_write_register(0x300A, 0x0465);
sensor_write_register(0x300C, 0x044C);
sensor_write_register(0x3012, 0x0416);
sensor_write_register(0x30A2, 0x0001);
sensor_write_register(0x30A6, 0x0001);
sensor_write_register(0x30AE, 0x0001);
sensor_write_register(0x30A8, 0x0001);
sensor_write_register(0x3040, 0x0000);
sensor_write_register(0x31AE, 0x0301);
sensor_write_register(0x3082, 0x0009);
sensor_write_register(0x30BA, 0x762C);
sensor_write_register(0x3060, 0x000B);
sensor_write_register(0x3100, 0x0000);
sensor_write_register(0x31D0, 0x0000);
sensor_write_register(0x3064, 0x1802);
sensor_write_register(0x301A, 0x10DC);

sensor_write_register(0x3028, 0x0020);
sensor_write_register(0x3100, 0x0004);
sensor_write_register(0x30B4, 0x0091);

    delay_ms(33);

sensor_write_register(0x300A, 0x0546);
sensor_write_register(0x3212, 0x0000);
sensor_write_register(0x3012, 0x0002);
sensor_write_register(0x3060, 0x000B);
sensor_write_register(0x305E, 0x0080);
sensor_write_register(0x3100, 0x0000);


    printf("Aptina AR0237 sensor linear PARALLEL 2M-1080p 30fps init success!\n");
   
    return ;
}
[/code]

llsh

0个粉丝

20

问答

0

专栏

3

资料

llsh 2016-10-20 11:06:41
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=39515&ptid=12802]Nikita 发表于 2016-10-14 20:09[/url]
Also use this code to init ar0236 by i2c[/quote]

Thank you!I have already solved it.

liuxiangtao

0个粉丝

2

问答

0

专栏

0

资料

liuxiangtao 2016-10-31 14:59:50
认可0
楼主,我也在搞0237,但是2To1_LINE模式不通。楼主此模式下通吗。[url]http://www.ebaina.com/bbs/forum.php?mod=viewthread&tid=12955&extra=[/url]。麻烦看下。谢谢!!!
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

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

Markdown 语法

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

举报类型

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

详细说明

易百纳技术社区