Hi Ti
正在使用936作为Des,953作为Ses.目前主控MCU可以正常的读取936器件内的寄存器,但是无法读取远端953内的寄存器。从逻辑分析仪上看一直是NACK。
953的远端地址是0x30,我再936对953的设置如下,并已经使用read回读功能确认数据已经成功写入。烦请帮忙检查是否有疏漏
DS90ub936WriteI2C(config, 0x4C, 0x01); //Select the port0
DS90ub936WriteI2C(config, 0x20, 0x20); //Enbale the port0 forwarding
DS90ub936WriteI2C(config, 0x58, 0x5E);
DS90ub936WriteI2C(config, 0x5B, 0x30>>1); //Configure the 953 address
DS90ub936WriteI2C(config, 0x5C,0x30>>1); //Configure the 953 address
DS90ub936WriteI2C(config, 0x1F, 0x02); //MIPI Lane rate 800Mbps
DS90ub936WriteI2C(config, 0x33, 0x03); //Enable the MIPI output, 4-lane mode, clock continous mode.: Needs to switch to 2 lanes
udelay(100000); //Delay 100ms