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.

DS90UB960-Q1:Ds90ub960 + Ds90ub935 Initialization sequence

Part Number: DS90UB960-Q1

亲爱的TI:

我有一个紧急问题,我的板反序列器是DS90UB960,相机传感器使用的串行器是ds90ub935。

您能帮助提供 960 + 935 的初始化序列吗?

谢谢。

吴新宇

  • Hello Wu,

    if you follow the datasheet recommendation to setup the correct MODE and IDx then this SER-DES pair should work plug and play.

    If you require more support, then please provide more details about your system such as:

    Clocking Mode, i.e. Internal or external or synchruonus mode

    here is an example code:

    dev_addr = 0x7A
    ser_alias = 0x18
    slave_addr = 0x60
    slave_alias = 0x22
    port_config = you should select the value matching the used MODE
    
    # Configure RX0
    board.WriteI2C(dev_addr,0x4C,0x01) 	# fpd3 port select RX0
    board.WriteI2C(dev_addr,0x58,0x5E) 	# Enable Pass Through and set the back channel to 50Mbps
    
    
    board.WriteI2C(dev_addr,0x5C,ser_alias) 		# setup 935 (I2C Addr 0x30) alias address
    board.WriteI2C(dev_addr,0x5D,slave_addr) 		# setup slave address (I2C Addr 0x60)
    board.WriteI2C(dev_addr,0x65,slave_alias)		# setup slave alias address
    board.WriteI2C(dev_addr,0x6D,port_config)		# setup FPD3_MODE
    board.WriteI2C(dev_addr,0x7D,0x01)				# set PASS_THRESHOLD=1
    	
    # Configure CSI
    board.WriteI2C(dev_addr,0x32,0x01) # select CSI0
    board.WriteI2C(dev_addr,0x33,0x03) # CSI_EN & cont clk
    board.WriteI2C(dev_addr,0x1F,0x00) # set CSI_TX_SPEED to 1.6Gbps
    board.WriteI2C(dev_addr,0x20,0xE0) # forward RX0 to CSI0

  • Dear TI,

    Thank you very much for your reply.


    Another question I want you to answer is what does the parameter ('slave_alias') in the sample code mean? How to confirm?

    Thanks.

  • Hello Wu,

    The SlaveID register provides the actual slave address for the device on the remote I2C bus.

    The SlaveAlias register allows programming a virtual address which the host controller uses to access the remote device.