This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DS90UB940-Q1: pattren模式

Part Number: DS90UB940-Q1


940设置的pattern配置如下:


{0x66, 0x00}, // 自定义颜色_红色
{0x67, 0x78},
{0x66, 0x01}, // 自定义颜色_绿色
{0x67, 0x12},
{0x66, 0x02}, // 自定义颜色_蓝色
{0x67, 0x22},

{0x66, 0x03}, // Pattern模式内部像素时钟分配器控制
{0x67, 0x04}, // 内部设置4分频:140*(1/4)
{0x66, 0x04}, // Total Horizontal Width
{0x67, 0x12}, // 530
{0x66, 0x05}, // Total Vertical and Horizontal Widths
{0x67, 0x02}, // 944 & 530
{0x66, 0x06}, // Total Vertical Width
{0x67, 0x3b}, // 944
{0x66, 0x07}, // Active Horizontal Width
{0x67, 0xe0}, // 480
{0x66, 0x08}, // Active Vertical and Horizontal Widths
{0x67, 0x61}, // 854 & 480
{0x66, 0x09}, // Active Vertical Width
{0x67, 0x35}, // 854

{0x66, 0x0a}, // Horizontal Sync Width
{0x67, 0x0a}, // 10
{0x66, 0x0b}, // Vertical Sync Width
{0x67, 0x0a}, // 10
{0x66, 0x0c}, // Horizontal Back Porch Width
{0x67, 0x14}, // 20
{0x66, 0x0d}, // Vertical Back Porch Width
{0x67, 0x28}, // 40
{0x66, 0x0e}, // Set Sync Polarities ,可配置水平和垂直同步信号发生器
{0x67, 0x00}, // 水平和垂直同步极性设置为“正”

{0x6a, 0x22}, // 连续时钟模式 ,2 data lanes
{0x6b, 0x50}, // CSI_YUV422格式输出
{0x65, 0x04}, // 禁用自动滚动 // 0x05 是启用自动滚动
{0x64, 0xe5}, // 0xe1 Pattern模式选择自定义颜色,禁用色条,启用图形发生器;0xe5 Pattern模式选择自定义颜色,启用色条,启用图形发生器;0x55 Pattern模式选择蓝黄,启用色条,启用图形发生器

但是根据datasheet上看读69寄存器读到的是20;是不是pattern模式配置不对?请您帮忙看一下。

还有想知道关于pattern模式的时钟除了0x66的offest设置03寄存器设置分频时钟外,还有哪个地方能设置内部时钟的地方?谢谢