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: UB940 convert RGB888 to YUV422 register configuration

Part Number: DS90UB940-Q1

Tool/software:

hello! We use DSI-> RGB888---->DS90UB681------FPD link III-------DS90UB940------YUV422 ->CSI, Can you provide a register configuration table for UB940.

  • CSI parameters: YUV422 8bit /   DATA LANE *2 / CLOCK LANE *1

  • Hi Lin,

    I have attached the register writes to configure the 940 as you described. Do you need CSI continuous clock or the VCID to be set to a particular value? 

    Best,

    Jack

    desAddr = 0x58
    
    board.WriteI2C(desAddr, 0x2, 0x80) #Disable video output
    board.WriteI2C(desAddr, 0x6A, 0x20) #CSI 2 lanes, non-continuous clock
    board.WriteI2C(desAddr, 0x6B, 0x50) #Input data RGB444, output CSI YUV422_8
    board.WriteI2C(desAddr, 0x2, 0x90) #Enable video output
    
    

  • hello jack, we need CSI continuous clock and  VCID set 0

  • Hi Lin,

    I modified the code for CSI continuous clock. The VCID is set to 0 by default so there are no register writes needed.

    Best,

    Jack

    desAddr = 0x58
    
    board.WriteI2C(desAddr, 0x2, 0x80) #Disable video output
    board.WriteI2C(desAddr, 0x6A, 0x22) #CSI 2 lanes, continuous clock
    board.WriteI2C(desAddr, 0x6B, 0x50) #Input data RGB444, output CSI YUV422_8
    board.WriteI2C(desAddr, 0x2, 0x90) #Enable video output
    
    

  • OK,thank you very much!