各位好,我们用iic与芯片通信时,状态寄存器可以读取到数据,说明IIC配置没问题,但是那几个ADC寄存器都读数始终是零,即读取到的电池电压、电流等均为零,是哪个地方出问题了?请大家帮忙解答,谢谢!
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.
您好,请参考下面的sample code 希望对您有帮助。
The linux driver sample code is at https://git.ti.com/gitweb?p=ti-analog-linux-kernel/dmurphy-analog.git;a=commit;h=75997c21e9dfc0d54b7f774bfb37e6af796ff293