Skip to main content
Visitor II
December 26, 2019
Question

Halt mode current consumption is huge. Suggest a correct way to reduce current

  • December 26, 2019
  • 1 reply
  • 660 views

we are putting the

Controller in halt mode after configuring a external interrupt to wakeup. We read in datasheet, halt mode current is 440na. But we are getting current in terms of ( 1ma - 2 ma). Sometimes getting 200ua. It keeps varying. We want halt mode current to be less than 70ua.

STEPs followed below calling halt()

*        Switch clock from HSI to LSI Low frequency

*        Clear external interrupt flags EXTI->SR1 = 0x00; EXTI->SR2 =

0x00;

*        Switch off all peripherals CLK->PCKENR1 = 0x00;

CLK->PCKENR2 = 0x00; CLK->PCKENR3 = 0x00;                    

*        Configuring FLASH register also . (PWR->CSR2 = 0x02;)

*        Halt().

Kindly advise.

    This topic has been closed for replies.

    1 reply

    Graduate II
    December 26, 2019

    Set pwm and check proper switch hsi to lsi.

    Then dont turn off peripherial clock, set peripheria to that state that the board wont draw external cussent ​(example setting pin high will draw less current than setting pin low with led reverse biased towards pin).

    Check amps.

    ​Debugging that kind of thing can be hard.