关于23D+DSP无法进行ADC校准
Battery Slope=-7157174 ADC offset=-1890728448
,Charger Slope=-25063768 ADC offset=1731147776
Check Battey Channel Slop Failed
Check Battery Channel Offset Failed
ADC Calibration current difference Failed
ADC Calibration voltage difference 8590.341797 Failed
ADC Calibration time=3.000000
Actually measurement time=26096.000000
GSM/EDGE Cal Total Time = 47.09(sec)
检测电压 电流的ADC channel 选对没有?
是否和DSP部分有关?
与DSP应该没有关系,adc channel选了6 5后ADC SLOPE校准PASS了,后来出现METAPP_TIMEOUT 222不知道是什么问题
请问"adc channel选了6 5"这是什么意思?能否详细说下
CFG文件里面修改
[ADC table]
ADC_V1 = 3400
ADC_V2 = 4200
NORMAL_VOLTAGE = 3800
CURRENT_LIMIT = 2000
MAX_BATTERY_ADC_SLOPE = 5550.0
MIN_BATTERY_ADC_SLOPE = 5250.0
MAX_BATTERY_ADC_OFFSET = 1000000
MIN_BATTERY_ADC_OFFSET = -1000000
BATTERY_CHANNEL = 6
CHARGER_CHANNEL = 5
ADC_RESISTANCE = 0.39
MAX_VOLTAGE_DIFFERENCE = 0.04
MAX_CURRENT_DIFFERENCE = 0.04
ADC_MEASUREMENT_COUNT = 1000
关注中,我也正遇到MATE TIMEOUT 问题,目前也还在找原因。
至于小编的问题,DATA SHEET上面关于ADC CHANNEL的作用有讲到,电池和充电在23D是用的6和5CHANNEL,25上则用的0和1CHANNEL
ADC_RESISTANCE = 0.39
应该更改为ADC_RESISTANCE = 0.22的吧,具体需要看你使用的电阻数值
楼上提出的这个值有修改过,但问题依旧,除了这两个参数还有其他地方吗?
修改完设置后,如果还不行,就要确认一下,板子有没有漏电,如果有漏电,也会影响。
谢谢楼上的,问题已经解决,软件问题,硬件只要把CHANNEL改对就OK了
ADC配置如下:
const unsigned char ADC_ACCESSORYID = 2;
const unsigned char ADC_VCHARGER = 4;
const unsigned char ADC_VISENSE = 5;
const unsigned char ADC_VBAT = 6;
const unsigned char ADC_VBATTMP = ADC_ERR_CHANNEL_NO;
const unsigned char ADC_PCBTMP = ADC_ERR_CHANNEL_NO;
const unsigned char ADC_CHR_USB = ADC_ERR_CHANNEL_NO;
const unsigned char ADC_OTG_VBUS = ADC_ERR_CHANNEL_NO;
ATE校准出数据如下:
===================== Begin Calibration =========================
Battery Slope=427823 ADC offset=-4640885
,Charger Slope=4454293 ADC offset=-1167158144
Check Battey Channel Slop Failed
Check Battery Channel Offset Failed
ADC Calibration current difference 0.594948 Failed, and limit data is 0.040000
ADC Calibration voltage difference 0.085254 Failed, and limit data is 0.040000
ADC Calibration time=3.000000
Actually measurement time=3.000000
GSM/EDGE Cal Total Time = 3.86 (sec)
===============================
Calibration Total Result FAIL
===============================
已解决
原因是CONFIG里BATTERY_CHANNEL与CHARGER_CHANNEL配置错误。
学习了.
谢谢!学习
xuexi l ,hh
我也遇见同样的问题,现在已经解决谢谢小编
相关文章:
- 求助:好心人给点电池校准方面资料,各个平台都可以!(05-08)
- 关于生产测试中的电池温度校准(05-08)
- 手机可以校准但不开机(05-08)
- MTK平台上ADC校准问题(05-08)
- 求教 ADC校准的Slop问题(05-08)
- MT5921方案的wifi手机需要做校准吗?(05-08)