TI中文支持网
TI专业的中文技术问题咨询交流网站

[DS90UB936]如何将寄存器配置成Color Bar YUV422 MIPI输出?

我在参考datasheet上,使用下面参数:

//AHD 720P 30
{0x33,0x01}, //# CSI0 enable

{0xB0,0x00}, //# Indirect Pattern Gen Registers
{0xB1,0x01}, //# PGEN_CTL
{0xB2,0x01},

{0xB1,0x02}, //# PGEN_CFG
{0xB2,0x33},

{0xB1,0x03}, //# PGEN_CSI_DI
{0xB2,0x24},

{0xB1,0x04}, //# PGEN_LINE_SIZE1
{0xB2,0x0F},

{0xB1,0x05}, //# PGEN_LINE_SIZE0
{0xB2,0x00},

{0xB1,0x06}, //# PGEN_BAR_SIZE1
{0xB2,0x01},

{0xB1,0x07}, //# PGEN_BAR_SIZE0
{0xB2,0xE0},

{0xB1,0x08}, //# PGEN_ACT_LPF1
{0xB2,0x02},

{0xB1,0x09}, //# PGEN_ACT_LPF0
{0xB2,0xD0},

{0xB1,0x0A}, //# PGEN_TOT_LPF1
{0xB2,0x04},

{0xB1,0x0B}, //# PGEN_TOT_LPF0
{0xB2,0x1A},

{0xB1,0x0C}, //# PGEN_LINE_PD1
{0xB2,0x0C},

{0xB1,0x0D}, //# PGEN_LINE_PD0
{0xB2,0x67},

{0xB1,0x0E}, //# PGEN_VBP
{0xB2,0x21},

{0xB1,0x0F}, //# PGEN_VFP
{0xB2,0x0A}

ARM端无法解析出正确的宽和高,无法获取到正确的图像。

请问寄存器配置的是否有遗漏?

谢谢

Kailyn Chen:

您好 ,寄存器0X70 配置为0X1F,为YUV422 10bit mode。在您的寄存器中没看到寄存器0X70的配置。可以试试能否解决您的问题。

 

user6386713:

回复 Kailyn Chen:

我使用如下寄存器配置:

{0x21,0x04}, {0x70,0x1F}, {0x1f,0x03}, {0x33,0x23}, {0x20,0x20}, {0x4C,0x01}, {0x6D,0x7F}, {0x70,0x9E}, {0x7C,0xF8}, {0x58,0x00}, {0x0C,0x81}

示波器得到如下波形,此波形soc端识别不了。

soc端能识别到的波形(同类型其他厂家芯片的波形如下)

user6386713:

回复 user6386713:

user6386713:

回复 user6386713:

图片不出来,就是波形上跟正常的相比,没有明显的4个通道区分,而正常的上能明显看出mipi信号有4个分割线存在。

赞(0)
未经允许不得转载:TI中文支持网 » [DS90UB936]如何将寄存器配置成Color Bar YUV422 MIPI输出?
分享到: 更多 (0)