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.

SN65DSI86:How to transfer I2C register command to dsi command ?

Hi David:

If i want to send i2c command as " i2cset -fy 2 0x2c 0x96 0x0a" ( device address is 0x2c, register is 0x96 , value is 0x0a)

is dsi command as this  right?

data_array[0]=0x00032396;

data_array[1]=0x0000000a;

dsi_set_cmdq(array, 3, 1);

  • Hi,

    Please refer to the DSI source user guide for the DSI operation. You would need to specify the DSI slave address and number of the slave devices on the DSI bus.

    And then you would need to use the DSI Generic Short Write 2-Parameters Request to write to the DSI86 CFR register with the below format.

    SOT

    ID = 0x23

    ADDR = 0xA

    DATA = 0x5

    ECC

    EOT

    Thanks

    David