LLS POWER MODE PROTECTION

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LLS POWER MODE PROTECTION

952 次查看
mirsadcurri
Contributor I

Hi,

I'm trying to use low leakage stop mode in MKL27Z128VFT4 but when call SMC_HAL_GetProtection(SMC, kAllowPowerModeLls), I get a "0". Even when I try to set that bit nothing happens. I'm stuck . Please can anybody tell me whats going on?

Thank you!

标签 (2)
0 项奖励
回复
2 回复数

845 次查看
mirsadcurri
Contributor I

Mark thank you, I found the code. It was generated automatically from Processor Expert on the system_MKL27Z4.h  file.

Regards

0 项奖励
回复

845 次查看
mjbcswitzerland
Specialist V

Hi

SMC_PMPROT is a write-once register so if there is initialisation code setting it to 0 you can never change the setting again (until after next reset).

Therefore, search the code to see whether it is being written already, and then write the value that you require in your application instead.

Regards

Mark


Kinetis: http://www.utasker.com/kinetis.html
Kinetis KL27:
- http://www.utasker.com/kinetis/FRDM-KL27Z.html
- http://www.utasker.com/kinetis/Capuccino-KL27.html
Low power and LLWU: http://www.utasker.com/kinetis/LLWU.html
Low power videos:
- https://youtu.be/kWNlsAoMly4
- https://youtu.be/iZEMRiDmHzw
- https://youtu.be/v4UnfcDiaE4

Free Open Source solution: https://github.com/uTasker/uTasker-Kinetis
Working project in 15 minutes video: https://youtu.be/K8ScSgpgQ6M

Professional Kinetis support, one-on-one training and complete fast-track project solutions: http://www.utasker.com/support.html

0 项奖励
回复