mt2503电流设定失败
时间:10-02
整理:3721RD
点击:
[DESCRIPTION]
chr_parameter.h中设定电流 CHR_AC_CHARGE_CURRENT
[SOLUTION]
1.chr_parameter.h
#define CHR_AC_CHARGE_CURRENT \\
#define CHR_USB_CHARGE_CURRENT \\
#define CHR_NON_AC_CHARGE_CURRENT \\ USB
软件中会判断充电器类型,如果是非国标充电器充电电流会被设定跟USB一致
2.makefile文件中:HIGH_VCHG_ADAPTIVE_CHARGE_CURRENT_SUPPORT开启
此宏支持高压充电的宏,充电电流会根据充电器电压不一致而设定在不同档位,具体电流参数会按照如下列表走:
#define HIGH_V_VCHG_THRESHHOLD_LEVEL_05250000
#define HIGH_V_VCHG_THRESHHOLD_LEVEL_15500000
#define HIGH_V_VCHG_THRESHHOLD_LEVEL_26000000
#define HIGH_V_VCHG_THRESHHOLD_LEVEL_36500000
#define HIGH_V_VCHG_THRESHHOLD_LEVEL_47500000
#define HIGH_V_VCHG_THRESHHOLD_LEVEL_59000000
#define HIGH_V_VCHG_THRESHHOLD_LEVEL_69000000
#define HIGH_V_CHARGING_CURRENT_LEVEL_0PMU_CHARGE_CURRENT_650_00_MA
#define HIGH_V_CHARGING_CURRENT_LEVEL_1PMU_CHARGE_CURRENT_650_00_MA
#define HIGH_V_CHARGING_CURRENT_LEVEL_2PMU_CHARGE_CURRENT_550_00_MA
#define HIGH_V_CHARGING_CURRENT_LEVEL_3PMU_CHARGE_CURRENT_450_00_MA
#define HIGH_V_CHARGING_CURRENT_LEVEL_4PMU_CHARGE_CURRENT_400_00_MA
#define HIGH_V_CHARGING_CURRENT_LEVEL_5PMU_CHARGE_CURRENT_200_00_MA
#define HIGH_V_CHARGING_CURRENT_LEVEL_6PMU_CHARGE_CURRENT_200_00_MA
chr_parameter.h中设定电流 CHR_AC_CHARGE_CURRENT
[SOLUTION]
1.chr_parameter.h
#define CHR_AC_CHARGE_CURRENT \\
#define CHR_USB_CHARGE_CURRENT \\
#define CHR_NON_AC_CHARGE_CURRENT \\ USB
软件中会判断充电器类型,如果是非国标充电器充电电流会被设定跟USB一致
2.makefile文件中:HIGH_VCHG_ADAPTIVE_CHARGE_CURRENT_SUPPORT开启
此宏支持高压充电的宏,充电电流会根据充电器电压不一致而设定在不同档位,具体电流参数会按照如下列表走:
#define HIGH_V_VCHG_THRESHHOLD_LEVEL_05250000
#define HIGH_V_VCHG_THRESHHOLD_LEVEL_15500000
#define HIGH_V_VCHG_THRESHHOLD_LEVEL_26000000
#define HIGH_V_VCHG_THRESHHOLD_LEVEL_36500000
#define HIGH_V_VCHG_THRESHHOLD_LEVEL_47500000
#define HIGH_V_VCHG_THRESHHOLD_LEVEL_59000000
#define HIGH_V_VCHG_THRESHHOLD_LEVEL_69000000
#define HIGH_V_CHARGING_CURRENT_LEVEL_0PMU_CHARGE_CURRENT_650_00_MA
#define HIGH_V_CHARGING_CURRENT_LEVEL_1PMU_CHARGE_CURRENT_650_00_MA
#define HIGH_V_CHARGING_CURRENT_LEVEL_2PMU_CHARGE_CURRENT_550_00_MA
#define HIGH_V_CHARGING_CURRENT_LEVEL_3PMU_CHARGE_CURRENT_450_00_MA
#define HIGH_V_CHARGING_CURRENT_LEVEL_4PMU_CHARGE_CURRENT_400_00_MA
#define HIGH_V_CHARGING_CURRENT_LEVEL_5PMU_CHARGE_CURRENT_200_00_MA
#define HIGH_V_CHARGING_CURRENT_LEVEL_6PMU_CHARGE_CURRENT_200_00_MA
又学到一秘籍啊!