CC2541 CC2540 is very important to achieve ultra-low power consumption:
Let's summarize the implementation method:
1, a timer runs in thePM2Current in300uAaround. There's no timer to run.PM3, the current will be less than10uA. This timer is defined asOsalthe timer,For example: Started the Osal_start_timerex (Keyfobapp_taskid, Kfd_toggle_buzzer_evt, 2000); But there's no time: it needs to be explainedKeyfoblow-power consumption has never been in thePM3, this is due to the fact that there is a charge timer running:Osal_start_timerex (Keyfobapp_taskid, kfd_battery_check_evt, battery_check_period); Just comment it out and it'll go in.PM3up. Current less than10uA. Therefore, if you want to lower the power consumption to but also want to enable the timer is not realistic. 2,if there is an external interruption, such as the switch volume, such as the button, must, must, must be interrupted with a falling edge, at present I rise along the interrupt can not be adjusted, and, normal if the low level input, will be compared to power consumption. Measured, the low level input will be more than the high level input200uAaround. To summarize: The normal isPM1To enterPM2, first of all, confirm youroptionthe compilation macro set thepower_savingThen in the code, you need to performOsal_pwrmgr_device (pwrmgr_battery);And there's the current.200uAYes, what? To enterPm3, need you notOsalthe timer is running. See our sample routines for more details. Attachment routines Power on the radio101, current500uA, usingamobletool.apkafter the connection, the current is less than10mAAt this time, it has been opened3level interrupts, respectively, areP0.0,p0.1with thep0.4Any interrupt generation,amobletool.apkall keys receive the data, please watch. The current test method is to string an ammeter on the power supply circuit.
Get the information address:
Link: http://pan.baidu.com/s/1pJ7IpQj Password: cy6z
get source code with a concise tutorial:http://item.taobao.com/item.htm?spm=a1z10.1.w4004-5319414070.2.JHwjem&id=38116104998single chip computer bluetooth Development Board online shop
cc2540 cc2541 Low Power measurement and summary-with considerations-low power consumption less than 10uA