2025-01-18 5:08 AM
Hello Everyone,
I am working on STM32WLE5CC and I am new to this. I am getting current consumption of 520uA of Core only in which I have initialized HAL_Init() and SystemClock_Config() with MSI of 1MHz. And datasheet states that in Active mode it takes 72uA/Mhz. I have also disabled debugger configurations too.
Please help me with solution ,how can i match datasheet current consumption?
And my second question is, I want my NVM of 16k to have data all the time even after reprogramming ,I don't want to use option bytes for it. Is there another way other than option byte to do this?
Thanks
Solved! Go to Solution.
2025-03-05 3:34 AM
Hello @Ronik_123
1. Measuring current consumption is not exactly what you mentioned. You will never get same current as /MHz when device is running at 1MHz. Per MHz consumption depends on temperature, the code you are executing, the voltage scaling. Please refer Table 39 in DS13105.
2. You can achieve it by creating a 16KB partition in Flash. It can be done in the linker file (.LD in CubeIDE, .ICF in IAR, .SCT in KEIL).
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-01-20 1:24 PM
Hi Ronik_123
This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.
Regards
Joe
STMicro Support
2025-03-05 3:34 AM
Hello @Ronik_123
1. Measuring current consumption is not exactly what you mentioned. You will never get same current as /MHz when device is running at 1MHz. Per MHz consumption depends on temperature, the code you are executing, the voltage scaling. Please refer Table 39 in DS13105.
2. You can achieve it by creating a 16KB partition in Flash. It can be done in the linker file (.LD in CubeIDE, .ICF in IAR, .SCT in KEIL).
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.