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: 941接2路948 i2c通信问题

Part Number: DS90UB941AS-Q1

Hi Ti supporter,

941、948连接框图如下,941配置成single link mode,可以通过i2c (addr 0x2c)访问DOUT0的948,

但是配置成split mode (回读941 reg0x06 也是0x58),无论0x1e设置成port0、port1,通过i2c(addr 0x2c)都无法访问948.

请问spilt mode需要如何配置,才能分别独立访问DOUT0、DOUT1的948?

有没有参考reg setting?谢谢

  • 您好,参考这篇Splitter mode operations with DS90UB941AS应用手册。里面有详细介绍并且给出了示例,您参考下,有什么问题再讨论:

    https://www.ti.com/lit/an/snla308a/snla308a.pdf

  • 你好,按照您提供的文档中的示例,我们针对我们自己的参数也加入了对应的941寄存器配置的代码,但是开启split mode后,据打印的941寄存器值来看,0a,0b,0c寄存器出现问题,前两者反映回路CRC计数错误,oc寄存器的5比特位为1,表示dphy输入错误,请问这些问题怎么解决?

  • 你好,按照您提供的文档中的示例,我们针对我们自己的参数也加入了对应的941寄存器配置的代码,但是开启split mode后,据打印的941寄存器值来看,0a,0b,0c寄存器出现问题,前两者反映回路CRC计数错误,oc寄存器的5比特位为1,表示dphy输入错误,请问是哪些原因导致了这些问题的出现?

  • 如上图连接,split mode下,941 port0通过i2c 0x2c slave addr可以访问这路948。将941 0x1e bit1 bit2置1选择port1,通过0x2d访问不了port1这路948,请问要怎么设置reg 才可以访问这路948?谢谢!

  • 你好,如上描述,bit2 置1,port1 将通过DeviceID + 1 (7-bit format)访问,port0 0x2c,port1 0x2d,这样理解对吗?

    麻烦帮忙看下,或者你们有没有941接2路948 相关的参看设置?谢谢

  • 您好!咨询一下,这个问题是怎么解决的,我也遇到了同样的问题,通过0x1E无法切换到port1,谢谢!

  • 如何建立port1链接,试下下面的配置:

    Write reg0x1E = 0x01 //Select FPD-Link III Port 0
    Write reg0x1E = 0x04 //To use I2C Device ID+1 for FPD-Link III Port 1 register access
    Write reg0x1E = 0x01 //Select FPD-Link III Port 0
    Write reg0x03 = 0x9A //Enable I2C_PASSTHROUGH, FPD-Link III Port 0
    Write reg0x1E = 0x02 //Select FPD-Link III Port 1
    Write reg0x03 = 0x9A //Enable I2C_PASSTHROUGH, FPD-Link III Port 1

  • Write reg0x1E = 0x04 //To use I2C Device ID+1 for FPD-Link III Port 1 register access

    按上面设置port1 链接后,

    0x1E = 0x01, 读0x06 :0x58

    0x1E = 0x02, 读0x06 :0x58,

    我访问port0 948 用device id 0x2c,可以读写,

    访问port1 948 用device id 0x2d,读写失败。

  • Hi Kailyn,

    按上面操作,下完指令,dump寄存器看,

    好像port1 948 link还是没有建立,0x1c : 0x64, 0x06:0x00,

    请问还有什么需要注意吗?

    下面是所有reg dump

    splitter mode dump.txt
    //0x1E switch port0 941
    34 00 00 9a 00 00 58 00 00 01 11 00 67 30 00 00 
    00 00 00 8f 00 00 fe 1e 7f 7f 01 00 00 00 01 00 
    03 00 25 00 00 00 00 00 01 20 20 a0 00 00 a5 5a 
    00 09 80 07 0c 00 00 80 7f 07 00 00 cf 02 81 02 
    04 05 1e 00 00 00 00 00 00 00 00 00 00 00 00 8c 
    16 00 00 00 02 10 80 02 00 00 d9 07 07 06 44 36 
    22 02 00 00 10 00 00 00 00 00 00 00 00 00 20 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 82 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 82 00 78 00 00 44 40 00 00 00 00 02 ff 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 82 00 68 08 00 00 00 00 00 00 00 02 00 00 
    5f 55 42 39 34 31 00 00 00 00 00 00 00 00 00 00 
    //948
    58 04 00 f0 fe 9e 00 34 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 01 00 00 23 13 90 09 
    05 00 40 30 00 00 83 84 01 00 00 00 00 00 00 00 
    00 00 90 25 11 00 00 ac 00 00 00 06 20 e0 23 00 
    43 03 03 00 60 88 00 00 0f 80 00 08 00 00 63 00 
    03 10 00 01 80 00 00 00 00 7f 20 20 00 00 00 00 
    00 00 00 00 10 00 00 00 00 00 00 00 00 00 01 00 
    00 00 00 07 07 08 00 00 00 00 00 00 02 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 8c 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    5f 55 42 39 34 38 00 00 00 00 00 00 00 00 00 00 
    
    //0x1E switch port1 941
    36 00 00 9a 00 00 00 00 00 01 00 00 64 30 00 00 
    00 00 00 8f 00 00 fe 1e 7f 7f 01 00 00 00 02 00 
    00 00 25 00 00 00 00 00 01 20 20 a0 00 00 a5 5a 
    00 09 80 07 0c 00 00 80 7f 07 00 00 cf 02 81 02 
    04 05 1e 00 00 00 00 00 00 00 00 00 00 00 00 8c 
    16 00 00 00 02 10 80 02 00 00 19 07 07 06 44 21 
    22 02 00 00 10 00 00 00 00 00 00 00 00 00 20 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 82 00 40 00 00 40 40 00 00 00 00 02 ff 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 82 00 40 08 00 00 00 00 00 00 00 02 00 00 
    5f 55 42 39 34 31 00 00 00 00 00 00 00 00 00 00 

  • 您好,抱歉回复晚了,您的问题解决了吗?