cancel
Showing results for 
Search instead for 
Did you mean: 

How get lowest sleep current in STM32F30.

nraj
Associate II

Hi All,

I am using STM32F301k8 for my remote project. I am using HSI clock source, I am enable one i/o interrupt and using UART1. for sleep i am using STOP mode by following functions.

HAL_UART_DeInit(&huart1);

   __HAL_RCC_USART1_CLK_DISABLE();

HAL_SuspendTick();   

__HAL_RCC_PWR_CLK_ENABLE();    

HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);   

by using above function i am getting sllep current is 300 micro amps.

i trying to get 10 micro amps.

Note :

In remote total 15 switches are there each switch contains one terminal pull down with 3.3M ohms resistor and connected with controller I/O and other terminal pull up with 4.7K ohms.

Thanks i advance.

4 REPLIES 4
Foued_KH
ST Employee

Hello @nraj​ ,

Please check this AN : Power consumption optimization with STM32F3xx microcontrollers

Try to set all GPIO as Analog.

Foued

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.

MM..1
Chief II

15 switches in your schematics consume 15uA if your GPIO is ok NOPULL.

STOP or any low pover mode need use no debug in low power mode or after flash disconnect power completely. After this you can measure current in STOP.

Thank you for the replay,

i tried with set GPIO as analog it is drawing more current

Navin.

nraj
Associate II

Thanks for the replay,

i am not using debug in stop, but i am checking how to disconnect flash.

Navin.