NO.20 MSP432的功耗模式介紹


  MSP430據說是能耗控制最好的一代,而MSP432是在MSP430的基礎上提高了運算能力,仍然保留了低功耗的傳統(高性能/低功耗)。

  在MSP432中,有多種低功耗模式。

  

  有那么多種低功耗模式,具體指的是什么呢?

  活躍模式:

  

  

  

這些都是在TI培訓里截圖的,不知道有沒有侵權,如果有的話,麻煩聯系下我,我就撤回。

那么我們該如何在MSP432的TIdrivers下使用低功耗模式呢?

我在TIdrivers沒有找到進入LM的程序,但是我在DriverLib中就找到了相關函數。

    /* Enabling "rude" mode which forces device to go to sleep regardless of
     * outstanding clock requests
     */
    MAP_PCM_enableRudeMode();

    /* Enabling MASTER interrupts */
    MAP_Interrupt_enableMaster();

    /* Going to LPM3 */
    while (1)
    {
        /* Note that while this examples just goes to LPM3, LPM4 is essentially
            just LPM3 with WDT_A/RTC_C disabled. For convenience, the user can 
            use the MAP_PCM_gotoLPM4() function if they want the API to handle
            the disabling of these components */
        MAP_PCM_gotoLPM3();
    }

  這個是進入LPM3的程序DriverLibs的程序。我在TIDrivers中沒有找到LM的相關定義,但是有powerdeepsleep/powersleep/powerperformance/powershutdown,不知道跟LP模式有沒有關系。

    /*
     * Turn off PSS high-side supervisors to consume lower power in deep sleep
     */
    MAP_PSS_disableHighSide();

    /* Select PowerMSP432_deepSleepPolicy to enable transition
     * into the PowerMSP432_DEEPSLEEP_1 (LPM4) state
     */
    Power_setPolicy((Power_PolicyFxn)PowerMSP432_deepSleepPolicy);

  這個需要引入兩個頭文件

/* Driver Header files */
#include <ti/drivers/Power.h>
#include <ti/drivers/power/PowerMSP432.h>

  這個功耗模式在Tidrivers里我有點懵,希望有大俠能指導一下。有機會大家還是看下官方培訓視頻。

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM