DA14580 low power consumption and burning flash in low power mode

Source: Internet
Author: User

Recently in low power design with DA14580.

The way to turn on low power is:

1, user_config.h variable into such a const static sleep_state_t App_default_sleep_mode=arch_sleep_off;

2, Da14580x_config_advanced.h will #define CFG_LP_CLK lp_clk_rcx20 here, macro definition is important, if you do not pick up the external 32K, here must be configured to internal, or enter a low power consumption does not come



After setting the above parameters, the power consumption dropped a lot, and the work is normal, then I put the program into flash, can work normally. But when I want to burn again, it is not enough, and online debugging can not be adjusted. The final analysis is because the single-chip microcomputer has entered low power consumption, resulting in the download is not possible. So the final use of power after the first minute does not enter the low power, 1 minutes after the entry. Call this function directly to Arch_set_sleep_mode (ARCH_EXT_SLEEP_ON);


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.