TI中文支持网
TI专业的中文技术问题搜集分享网站

954&954 2lanes MIPI CSI 如何配置

Dear Ti,

   sensor:OV9281

    输入规格:mipi 2lanes 1080*800 60fps。

  请问以下配置是否正确?与普通的4lanes有什么需要注意的寄存器。我的硬件之前用4lanes 1920*1080 60fps是正常出图。

load入文件后,

示波器测试sensor mipi已经有信号输出,但在Analog LaunchPAD上无显示分辨率。测试954的mipi输出无信号

# Set up IDs

UB954 = 0x60
UB953ID = 0x30
UB953 = 0x18
OVTID = 0xC0
OVT = 0xC4

# Set up Port0
board.WriteI2C(UB954, 0x4C, 0x11)

# Set up Back Channel Config (0x58)
board.WriteI2C(UB954,0x58,0x5E)

# Set up SER ID
#board.WriteI2C(UB954,0x5B,UB953ID)
# Set up SER Alias ID
board.WriteI2C(UB954,0x5C,UB953)
# Set up Slave/Camera ID
board.WriteI2C(UB954,0x5D,OVTID)
# Set up Slave/Camera Alias ID
board.WriteI2C(UB954,0x65,OVT)

board.WriteI2C(UB954,0x7C,0x00) #PORT SELECT

board.WriteI2C(UB954,0x6E,0x99) #BC GPIO

board.WriteI2C(UB954,0x70,0x1F) #RAW ID

board.WriteI2C(UB954,0x71,0x1F) #RAW ID

board.WriteI2C(UB954,0x7C,0xC0) #RAW 10 8BIT

board.WriteI2C(UB954,0x32,0x01) #CSI TX PORT1

board.WriteI2C(UB954,0x33,0x03) #CSI OUT ENABLE 0x03 0x21

board.WriteI2C(UB954,0x20,0x00) #CSI FORWARDING

time.sleep(1)
board.WriteI2C(UB953,0x06,0x8a)#CLKOUT
board.WriteI2C(UB953,0x07,0x78)#CLKOUT
time.sleep(1)
# Set GPIO2 and GPIO3 to outputs, where GPIO2 = RESET and GPIO1 = PWDN
board.WriteI2C(UB953,0x0E,0xC0)
time.sleep(1)
# Set GPIO2 and GPIO3 to High – bring OVT10640 out of power down mode
board.WriteI2C(UB953,0x0D,0x0C)
time.sleep(1)
# Bring GPIO3 low to place 10640 in reset
board.WriteI2C(UB953,0x0D,0x08)
time.sleep(1)
# Bring GPIO3 high again to prepare 10640 for initialization
board.WriteI2C(UB953,0x0D,0x0C)
time.sleep(1)
board.WriteI2C(UB953,0x1C,0x3F)
board.WriteI2C(UB953,0x1E,0x03)
board.WriteI2C(UB953,0x49,0x28)
board.WriteI2C(UB954,0x1F,0x03)

Kailyn Chen:

2 lane的话,0X33的bit[5:4]CSI_LANE_COUNT 应该为10,我看您这里0X33的值为0X03, 那么CSI_LANE_COUNT 配置的是00 为4 lane的设置。

赞(0)
未经允许不得转载:TI中文支持网 » 954&954 2lanes MIPI CSI 如何配置
分享到: 更多 (0)