Skip to main content
nraj
Associate II
February 3, 2023
Question

How get lowest sleep current in STM32F30.

  • February 3, 2023
  • 4 replies
  • 1900 views

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.

This topic has been closed for replies.

4 replies

Foued_KH
ST Employee
February 3, 2023

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.
nraj
nrajAuthor
Associate II
February 6, 2023

Thank you for the replay,

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

Navin.

MM..1
Super User
February 3, 2023

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.

nraj
nrajAuthor
Associate II
February 6, 2023

Thanks for the replay,

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

Navin.