2023-10-11 11:36 PM
I have a project on energy supply and have purchased X-NUCLEO-NFC07A1 and NUCLEO-STM32L476RG. However, I used the EH code in EN.X-Cub-NFC7, and now I want to reduce the energy consumption based on this code. How should I edit the code so that the STM32L4 has the lowest power consumption and can only complete the LED flicker test?
2023-10-12 01:06 AM - edited 2023-10-12 01:11 AM
Hello @Schuyler ,
I advise you to take a look at the PWR_LPRUN example for NUCLEO-L476RG within STM32CubeL4 MCU package.
Also, have a look at this AN4777 and How to minimize the power consumption in low power, which provide tips on power optimization.
Imen
2023-10-18 11:16 PM
Hi @Imen.D
Do you have the relevant code? I need a code reference with minimal power consumption and only need to light an LED light.