Part Number:TDES954Other Parts Discussed in Thread:TSER953,
整个链路如上图所示。下图是逻辑分析仪器捕捉的数据,上排是TDES954端监测,下排是TSER953端监测。
缩小后。
读取时序和数据不对,是否配置有问题?
我们配置如下:
/* 954 config */ tdes954_write(0x01, 0x01);//复位
delay_ms(150);
tdes954_write(0x4C, 0x01);//select port 0,依赖与硬件设计
tdes954_write(0x58, 0xfa);//i2c PASS-THROUGH 该寄存器直接导致I2c是否能通过954透传给953或者sensor
tdes954_write(0x5B, 0x36);//953 I2C ADDR tdes954_write(0x5C, 0x36);//953 I2C ADDR
tdes954_write(0x5D, 0x20);//sensor AR0324 i2c addr tdes954_write(0x65, 0x20);//sensor AR0324 i2c addr
tdes954_write(0x6d, 0x7c);//配置模式
tdes954_write(0x0A, 0x13);//I2C CLK
tdes954_write(0x0B, 0x25);//I2C CLK tdes954_write(0x0C, 0x01);//enable port0 tdes954_write(0x20, 0x20);//FWD_CTL1很重要,Forwarding enabled for RX Port 0 tdes954_write(0x33, 0x03);//4 lanes /* 953 config */ tser953_write(0x01, 0x02); //reset
delay_ms(150);
tser953_write(0x02, 0x73); //4 lanes,Continuous Clock,
tser953_write(0x03, 0x1a); //
tser953_write(0x32, 0xe9); //Back Channel Configuration
tser953_write(0x0B, 0x13); //I2C
tser953_write(0x0C, 0x26); //I2C tser953_write(0x0E, 0xF0); //gpio output enable
tser953_write(0x0D, 0x0C); //gpio output high
Amy Luo:
您好,
感谢您对TI产品的关注!为更加有效地解决您的问题,我们建议您将问题发布在E2E英文技术论坛上(英文论坛对应子论坛链接:https://e2e.ti.com/support/interface-group/interface/f/interface-forum),将由资深的英文论坛工程师为您提供帮助。
另外,请注意您需要将My TI 账号中的邮箱更改为公司域名邮箱才能在E2E英文论坛发帖。更改方法参阅这个帖子:https://e2e.ti.com/support/site-support-group/site-support/f/site-support-forum/950611/faq-how-do-i-change-the-email-address-in-my-profile