Other Parts Discussed in Thread: MSP430FR2355 , MSP430F5529 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。 https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/829788…
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…