SM470的芯片手册上standby模式的最大工作电流只有50多mA,但实际使用的时候,却有105mA左右,请问这么大的差距是怎么原因引起的呢?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
SM470的芯片手册上standby模式的最大工作电流只有50多mA,但实际使用的时候,却有105mA左右,请问这么大的差距是怎么原因引起的呢?
105mA的话,感觉您现在没有真正在standby模式
请您尝试下面的配置代码
GCR |= FLCONFIG; // Must be in flash config mode FMMAC1 = PSLEEP_MAX; // pump sleep to standby time FMMAC2 = BANK0_ENA + PMPPWR_SLEEP + PSTDBY_MAX; // Pump power sleep bank0 FMBAC1 = BNKPWR_SLEEP+ BSTDBY_MAX + 0xff00; // Bank power sleep 256 cycles // before flash shut down FMBAC2 = PIPELINE_MODE + BSLEEP_MAX; // 1 wait states FMMAC2 = BANK1_ENA + PMPPWR_SLEEP + PSTDBY_MAX; // Pump power sleep bank1 FMBAC1 = BNKPWR_SLEEP+ BSTDBY_MAX + 0xff00; // Bank power sleep 256 cycles // before flash shut down FMBAC2 = PIPELINE_MODE + BSLEEP_MAX; // 1 wait states FMREGOPT = ENPIPE; // ENABLE PIPELINE MODE CLKCNTL = PPWNOVR + LPM_STANDBY; // standby mode dummy=CLKCNTL; // Dummy access