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 access DPCD register by I2C

Part Number: SN65DSI86

Hi Experts,

below is an example script of how to access the EDID using direct mode. Customer confirmed this EDID Access is okay. .

 

Customer need an example script of how to access DPCD register like script above ?

Would you help me to get example script of how to access 0x00000h DPCD register below to read data ?   

  

Thanks,

JH.

  • Hello JH,

    Please, use the attached script.

    <aardvark>
        <configure i2c="1" spi="1" gpio="0" tpower="1" pullups="0"/>
        <i2c_bitrate khz="400"/>
    
    ======Enable I2C_ADDR_CLAIM1======
    
       <i2c_write addr="0x2D" count="1" radix="16">60 A1 </i2c_write> <sleep ms="10"/>
    
    
       <i2c_write addr="0x2D" count="0" radix="16">74</i2c_write> <sleep ms="10"/>
    
    ======Read======
        <i2c_read addr="0x2D" count="1" radix="16">00</i2c_read> <sleep ms="10"/>
    
    ======Write EDID base of 00 ======
    
       <i2c_write addr="0x50" count="0" radix="16">00</i2c_write> <sleep ms="10"/>
    
    ======Read EEID1======
        <i2c_read addr="0x50" count="16" radix="16">00</i2c_read> <sleep ms="10"/>
    
    ======Read EEID2======
        <i2c_read addr="0x50" count="16" radix="16">00</i2c_read> <sleep ms="10"/>
    
    ======Read EEID3======
        <i2c_read addr="0x50" count="16" radix="16">00</i2c_read> <sleep ms="10"/>
    
    ======Read EEID4======
        <i2c_read addr="0x50" count="16" radix="16">00</i2c_read> <sleep ms="10"/>
    
    ======Read EEID5======
        <i2c_read addr="0x50" count="16" radix="16">00</i2c_read> <sleep ms="10"/>
    
    ======Read EEID6======
        <i2c_read addr="0x50" count="16" radix="16">00</i2c_read> <sleep ms="10"/>
    
    ======Read EEID7======
        <i2c_read addr="0x50" count="16" radix="16">00</i2c_read> <sleep ms="10"/>
    
    ======Read EEID8======
        <i2c_read addr="0x50" count="16" radix="16">00</i2c_read> <sleep ms="10"/>
    
    
    
    
    
    </aardvark>
    

    Regards

  • Hi Joel,

    Very thanks for your kind support.

    Regards,

    JH.