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.

DS90UB947-Q1: i2c透传

Part Number: DS90UB947-Q1

请问947和948的i2c透传功能如何打开,将reg03的第三位置1仍无法进行i2c通信,在948端使用逻辑分析仪检测不到波形。

以下是初始化配置

    i2c_947_send(ADDR_947,0x03,0xDA);
    i2c_947_send(ADDR_947,0x06,0x58);
    i2c_947_send(ADDR_947,0x07,0x34);
    i2c_947_send(ADDR_947,0x08,0x34);
    i2c_947_send(ADDR_947,0x17,0xDE);
    i2c_947_send(ADDR_947,0x4F,0x00);
    i2c_947_send(ADDR_947,0xC6,0x21);

    i2c_947_send(ADDR_947,0x1F,0x05); //GPIO3[3 0] 透传输出
    i2c_947_send(ADDR_947,0x1E,0x55); //GPIO2[7 4] 透传输出 GPIO1[3 0] 透传输入
    i2c_947_send(ADDR_947,0x1D,0x05); //GPIO0[3 0] 透传输入
    i2c_947_send(ADDR_947,0x11,0x19); //GPIO8[7 4] 透传输出 GPIO7[3 0] 透传输出
    i2c_947_send(ADDR_947,0x10,0x13); //GPIO6[7 4] 透传输出 GPIO5[3 0] 透传输入 read:0x1C[5]




    i2c_947_send(ADDR_947,0x40,0x10);
    i2c_947_send(ADDR_947,0x41,0x49);
    i2c_947_send(ADDR_947,0x42,0x16);
    i2c_947_send(ADDR_947,0x41,0x47);
    i2c_947_send(ADDR_947,0x42,0x20);
    i2c_947_send(ADDR_947,0x42,0xA0);
    i2c_947_send(ADDR_947,0x42,0x20);
    i2c_947_send(ADDR_947,0x42,0x00);
    i2c_947_send(ADDR_947,0x41,0x49);
    i2c_947_send(ADDR_947,0x42,0x00);