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:I2C over aux

Guru**** 2535620 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/interface-group/interface/f/interface-forum/931269/sn65dsi86-i2c-over-aux

器件型号:SN65DSI86

您好 TI:

我想使用 DSI86来实现 带有 IIC 的辅助以读取/写入 面板的 VCOM。

TCOM 供应商为我发布了一些文档。

例如:

WriteDPCD (DPCD0048B、0x90);

WriteDPCD (DPCD0048E、0x9F);

3.IICWrite (0x9E、0x0F);

4.IICWrite (0x46、0x0A、0x5c);

现在,我认为 DSI86 reg 设置如下:

AUX_cmd=0x08、AUX_addr[19:0]= 0x0048B、AUX_length[6:0]= 0x01、Data0=0x90;

2.aux_cmd=0x08、aux_addr[19:0]= 0x0048E、aux_length[6:0]= 0x01、Data0 = 0x9F;

3.aux_cmd=0x04还是0x00?   ,aux_addr[19:0]=?  , AUX_LENG[6:0]=? ,Data0=?

4.aux_cmd=0x04还是0x00?   ,aux_addr[19:0]=?  , AUX_LENG[6:0]=? ,Data0=?

我的问题是、我不知道如何设置寄存器来实现 I2C-over-Aux?

如果 No1和 No2的设置正确吗?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    请参阅 第8.4.5.3节 I2C-over-AUX。 可用于 I2C-over-Aux 的两种方法:直接方法(也称为时钟拉伸)和间接方法(CFR 读取/写入)。

    下面是 从 Sink 的 DPCD 寄存器0x00000读取16字节的示例。




    ==== 清除 AUX 请求=====的状态寄存器

    F4 FF />
    ==== 从 DPCD 发送16字节的 AUX 请求0x00000 ===
    =========== DPCD 地址为0x00000 ===
    74 00 />
    75 00 />
    76 00 />
    =========== 要读取的字节数为16 ===
    77 10. />
    =========== 发送 AUX 读请求===
    78 91.
    ==== AUX 请求的读取状态===
    ==== 确保设置了 SEND_INT 并且没有错误===
    F4 />
    00 />
    ==== 清除 AUX 请求=====的状态寄存器
    F4 FF />
    ==== 从 AUX_RDATA===读取16个字节
    79 />
    00 />

    谢谢

    David