[设计过程分享] MAX32630FTHR进程(5)关于充电

ddllxxrr   2017-7-29 09:49 楼主
上周加了锂电,这周就得给它充电。 看了下MAX14690的PDF里边有如下说明:
  1. Smart Power Selector
  2. The smart power selector seamlessly distributes power
  3. from the external CHGIN input to the battery (BAT) and
  4. the system (SYS). With both an external adapter and
  5. battery connected, the smart power selector basic
  6. functions are:
  7. ● When the system load requirements are less than the
  8. input current limit, the battery is charged with residual
  9. power from the input.
  10. ● When the system load requirements exceed the
  11. input current limit, the battery supplies supplemental
  12. current to the load.
  13. ● When the battery is connected and there is no
  14. external power input, the system is powered from the
  15. battery.
PDF的截图: CHANGE2.jpg 可见,如果负载的耗电小于输入电流的限制,那么自动从输入口充电池。 在mbed方面,直接把库那个resetToDefaults给调一下就行:
  1. void MAX14690::resetToDefaults()
  2. {
  3. intEnThermStatus = false;
  4. intEnChgStatus = false;
  5. intEnILim = false;
  6. intEnUSBOVP = false;
  7. intEnUSBOK = false;
  8. intEnChgThmSD = false;
  9. intEnThermReg = false;
  10. intEnChgTimeOut = false;
  11. intEnThermBuck1 = false;
  12. intEnThermBuck2 = false;
  13. intEnThermLDO1 = false;
  14. intEnThermLDO2 = false;
  15. intEnThermLDO3 = false;
  16. iLimCntl = ILIM_500mA;
  17. chgAutoStp = true;
  18. chgAutoReSta = true;
  19. batReChg = BAT_RECHG_120mV;
  20. batReg = BAT_REG_4200mV;
  21. chgEn = true;
  22. vPChg = VPCHG_3000mV;
  23. iPChg = IPCHG_10;
  24. chgDone = CHGDONE_10;
  25. mtChgTmr = MTCHGTMR_0min;
  26. fChgTmr = FCHGTMR_300min;
  27. pChgTmr = PCHGTMR_60min;
  28. buck1Md = BUCK_BURST;
  29. buck1Ind = 0;
  30. buck2Md = BUCK_BURST;
  31. buck2Ind = 0;
  32. ldo2Mode = LDO_DISABLED;
  33. ldo2Millivolts = 3200;
  34. ldo3Mode = LDO_DISABLED;
  35. ldo3Millivolts = 3000;
  36. thrmCfg = THRM_ENABLED;
  37. monRatio = MON_DIV4;
  38. monCfg = MON_PULLDOWN;
  39. buck2ActDsc = false;
  40. buck2FFET = false;
  41. buck1ActDsc = false;
  42. buck1FFET = false;
  43. pfnResEna = true;
  44. stayOn = true;
  45. }
从上面可见,充电限制为500ma 以下是mbed的截图: CHANGE.jpg 但是我做了下实验我用稳压电源接入5V电压,由于我的电池充足所以没任何动作,等用一段时间电池再说吧 本帖最后由 ddllxxrr 于 2017-7-29 09:51 编辑
http://shop34182318.taobao.com/ https://shop436095304.taobao.com/?spm=a230r.7195193.1997079397.37.69fe60dfT705yr

回复评论 (3)

1 来自 2楼 okhxyyo 

汇总贴在此:
MAX32630FTHR进程——by ddllxxrr
https://bbs.eeworld.com.cn/forum. ... 7114&fromuid=536508
玩板看这里: https://bbs.eeworld.com.cn/elecplay.html EEWorld测评频道众多好板等你来玩,还可以来频道许愿树许愿说说你想要玩的板子,我们都在努力为大家实现!
点赞  2017-7-29 10:29
引用: okhxyyo 发表于 2017-7-29 10:29
汇总贴在此:
MAX32630FTHR进程——by ddllxxrr
https://bbs.eeworld.com.cn/forum.php?mod=viewthread&ti ...

谢谢管理
http://shop34182318.taobao.com/ https://shop436095304.taobao.com/?spm=a230r.7195193.1997079397.37.69fe60dfT705yr
点赞  2017-7-30 08:57

MAX32630

超低功耗Arm Cortex-M4,带有基于FPU的微控制器(MCU),带有2MB闪存和512KB SRAM

点赞  2019-11-13 11:21
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复