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.

DS90UB941AS-Q1: typo? in indirect register example code

Part Number: DS90UB941AS-Q1

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

  • Hi Oguri,

    It appears this might be a typo, however this will still allow an indirect write if register 0x42 is written to rather than read from. In general, if writing to DSI indirect registers you should write 0x04/0x08 (or 0x06/0x0A if using autoincrement).

    Regards,

    Ben