Other Parts Discussed in Thread: BQ3060 , GPCCEDV 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。 https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/637317/bq3060-battery-capacity-issue 器件型号: BQ3060 主题中讨论的其他器件…
Other Parts Discussed in Thread: BQ3060 MSP430通过GPIO 模拟smbus总线协议 和BQ3060通讯,异常。SDA全为高。
代码片段:
int MSP430_bq3060_test(void) { int ret=0; unsigned int persent; MSP430_bq3060_read(0x0D,2); //#define BQ2084_COM_RelativeStateOfCharge 0x0D persent = transBytes2Int…