mt2503 mt6261系列充电电流问题
时间:10-02
整理:3721RD
点击:
[DESCRIPTION]
MT6261系列充电电流问题
[SOLUTION]
1、6261支持16级充电电流,各级电流大小如chr_CS_VTH数组中描述。
const DCL_UINT32 chr_CS_VTH[CS_VTH_SIZE]=
{
PMU_CHARGE_CURRENT_1600_00_MA, PMU_CHARGE_CURRENT_1500_00_MA,
PMU_CHARGE_CURRENT_1400_00_MA, PMU_CHARGE_CURRENT_1300_00_MA,
PMU_CHARGE_CURRENT_1200_00_MA, PMU_CHARGE_CURRENT_1100_00_MA,
PMU_CHARGE_CURRENT_1000_00_MA, PMU_CHARGE_CURRENT_900_00_MA,
PMU_CHARGE_CURRENT_800_00_MA, PMU_CHARGE_CURRENT_700_00_MA,
PMU_CHARGE_CURRENT_650_00_MA, PMU_CHARGE_CURRENT_550_00_MA,
PMU_CHARGE_CURRENT_450_00_MA, PMU_CHARGE_CURRENT_300_00_MA,
PMU_CHARGE_CURRENT_200_00_MA, PMU_CHARGE_CURRENT_70_00_MA
};
2、无法更改USB充电电流大小。
请做如下修改
void BMT_set_chr_current(void) //hal\peripheral\src\bmt_utility.c
{
......
case PW_USB_CHR:
chr_current = CHR_USB_CHARGE_CURRENT;
drv_trace0(TRACE_GROUP_10, BMT_SET_USB_CHARGE_CURRENT_TRC);
kal_pROMpt_trace(MOD_BMT, "USB:chr_current= %d",chr_current);
break;
......
}
MT6261系列充电电流问题
[SOLUTION]
1、6261支持16级充电电流,各级电流大小如chr_CS_VTH数组中描述。
const DCL_UINT32 chr_CS_VTH[CS_VTH_SIZE]=
{
PMU_CHARGE_CURRENT_1600_00_MA, PMU_CHARGE_CURRENT_1500_00_MA,
PMU_CHARGE_CURRENT_1400_00_MA, PMU_CHARGE_CURRENT_1300_00_MA,
PMU_CHARGE_CURRENT_1200_00_MA, PMU_CHARGE_CURRENT_1100_00_MA,
PMU_CHARGE_CURRENT_1000_00_MA, PMU_CHARGE_CURRENT_900_00_MA,
PMU_CHARGE_CURRENT_800_00_MA, PMU_CHARGE_CURRENT_700_00_MA,
PMU_CHARGE_CURRENT_650_00_MA, PMU_CHARGE_CURRENT_550_00_MA,
PMU_CHARGE_CURRENT_450_00_MA, PMU_CHARGE_CURRENT_300_00_MA,
PMU_CHARGE_CURRENT_200_00_MA, PMU_CHARGE_CURRENT_70_00_MA
};
2、无法更改USB充电电流大小。
请做如下修改
void BMT_set_chr_current(void) //hal\peripheral\src\bmt_utility.c
{
......
case PW_USB_CHR:
chr_current = CHR_USB_CHARGE_CURRENT;
drv_trace0(TRACE_GROUP_10, BMT_SET_USB_CHARGE_CURRENT_TRC);
kal_pROMpt_trace(MOD_BMT, "USB:chr_current= %d",chr_current);
break;
......
}
小编大人的帖子总是如此的简短实用!