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.

TMS320DM8148: DVRRDK_04.01.00.02

Part Number: TMS320DM8148


uboot i2c

硬件上焊的是24T256芯片,地址是0x50。

 我在uboot下调试i2c读写。

读一直是ff,写的时候返回值 ret值正确的,但是读出来还是不对,

我自己在i2c_init 开始加了 i2c0初始化,与i2c0时钟使能,还是不行。

我能想到的是不是 address 地址是不是不对,比如实际设备地址是16位,代码里面是8位、不过我没找到代码里面这部分代码。