使用Bq76pl536A采集的电压不是连续的,比如在连续时间内,采集下来的电压分别为3.2827V,3.1858V,3.1694V,3.11908V
请问这是什么问题,怎样解决呢,谢谢!
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.
使用Bq76pl536A采集的电压不是连续的,比如在连续时间内,采集下来的电压分别为3.2827V,3.1858V,3.1694V,3.11908V
请问这是什么问题,怎样解决呢,谢谢!
可以分享一下电压采集程序吗?邮箱onoccasion1@gmail.com,万分感谢
TI提供的例程,计算电压的部分有没有错误?pPtr = (unsigned char *)(&this->cell_voltage[i]); temp = *pPtr; *(pPtr) = *(pPtr+1); *(pPtr+1) = temp; //compute cell voltage -> cell_voltage=VCELL x 6250/16383 voltage_comput = this->cell_voltage[i] * (unsigned long)(adc_step_mul); this->cell_voltage[i] = voltage_comput/((unsigned long)(adc_step_div));