Hello,
In the example code in p.46 of the datasheet, there are 2 lines, in which I think there are typos highlighted in red below. All the process here should be WRITE, but 0x05 and 0x09 are for READ command. Would you please confirm if they are typos? This disturbs me to understand the indirect register. Thank you.
WriteI2C (0x40,0x05) //Select DSI Port 0 digital registers
WriteI2C (0x41,0x21) //Select DSI_CONFIG_1 register
WriteI2C (0x42,0x60) //Set DSI_VS_POLARITY=DSI_HS_POLARITY=1
WriteI2C (0x1E,0x02) //Select FPD-Link III Port 1
WriteI2C (0x40,0x09) //Select DSI Port 1 digital registers
WriteI2C (0x41,0x21) //Select DSI_CONFIG_1 register
WriteI2C (0x42,0x60) //Set DSI_VS_POLARITY=DSI_HS_POLARITY=1
Regards,
Oguri