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.

DS90UB936-Q1: 测试模式波形异常问题

Part Number: DS90UB936-Q1

我想使用DS90UB936-Q1的测试模式,生成测试的mipi波形,用来验证板子是否有问题。然后我发现我配置好了寄存器后,生成的mipi波形和我之前别的sensor上面产生的波形不相同,想了解一下是否我少配置了,或者哪里配置错了。

下面是我的配置的流程:

i2cset -f -y 2 0x30 0x20 0x30 # disable video forwarding

i2cset -f -y 2 0x30 0x1F 0x02 # 0x02 800Mbps; 0x03:400 Mbps

i2cset -f -y 2 0x30 0x33 0x01 # Enable CSI Output

i2cset -f -y 2 0x30 0xB0 0x00

# PGEN_CTL
i2cset -f -y 2 0x30 0xB1 0x01 # PGEN_CTL
i2cset -f -y 2 0x30 0xB2 0x01

# PGEN_CFG
i2cset -f -y 2 0x30 0xB1 0x02 # PGEN_CFG
i2cset -f -y 2 0x30 0xB2 0x33

i2cset -f -y 2 0x30 0xB1 0x03 # PGEN_CSI_DI
i2cset -f -y 2 0x30 0xB2 0x24 # RGB888

i2cset -f -y 2 0x30 0xB1 0x04 # PGEN_LINE_SIZE1
i2cset -f -y 2 0x30 0xB2 0x16


i2cset -f -y 2 0x30 0xB1 0x05 # PGEN_LINE_SIZE0
i2cset -f -y 2 0x30 0xB2 0x80

i2cset -f -y 2 0x30 0xB1 0x06 # PGEN_BAR_SIZE1
i2cset -f -y 2 0x30 0xB2 0x02

i2cset -f -y 2 0x30 0xB1 0x07 # PGEN_BAR_SIZE0
i2cset -f -y 2 0x30 0xB2 0xD0

i2cset -f -y 2 0x30 0xB1 0x08 # PGEN_ACT_LPF1
i2cset -f -y 2 0x30 0xB2 0x04

i2cset -f -y 2 0x30 0xB1 0x09 # PGEN_ACT_LPF0
i2cset -f -y 2 0x30 0xB2 0x38

i2cset -f -y 2 0x30 0xB1 0x0A # PGEN_TOT_LPF1
i2cset -f -y 2 0x30 0xB2 0x04

i2cset -f -y 2 0x30 0xB1 0x0B # PGEN_TOT_LPF0
i2cset -f -y 2 0x30 0xB2 0x65

i2cset -f -y 2 0x30 0xB1 0x0C # PGEN_LINE_PD1
i2cset -f -y 2 0x30 0xB2 0x0B

i2cset -f -y 2 0x30 0xB1 0x0D # PGEN_LINE_PD0
i2cset -f -y 2 0x30 0xB2 0x93

i2cset -f -y 2 0x30 0xB1 0x0E # PGEN_VBP
i2cset -f -y 2 0x30 0xB2 0x21

i2cset -f -y 2 0x30 0xB1 0x0F # PGEN_VFP
i2cset -f -y 2 0x30 0xB2 0x0A

下面是我的寄存器的值: