Halt mode current consumption is huge. Suggest a correct way to reduce current
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.
