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 寄存器命令传输到 DSI 命令?

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

https://e2e.ti.com/support/interface-group/interface/f/interface-forum/1111086/sn65dsi86-how-to-transfer-i2c-register-command-to-dsi-command

尊敬的 David:

如果我想以" i2cset -fY 2 0x2C 0x96 0x0a"的形式发送 i2c 命令(器件地址为0x2C、寄存器为0x96、值为0x0a)

DSI 命令是否 正确?

DATA_array[0]= 0x00032396;

DATA_array[1]=0x0000000a;

DSI_SET_cmdq (array31);

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

    您好!

      有关 DSI 操作、请参阅 DSI 源用户指南。 您 需要在 DSI 总线上指定 DSI 从器件地址和数量。

    然后、您需要使用 DSI 通用短写2参数请求以以下格式写入 DSI86 CFR 寄存器。

    SOT

    ID = 0x23

    ADDR = 0xA

    数据= 0x5

    ECC

    EOT

    谢谢

    David