cancel
Showing results for 
Search instead for 
Did you mean: 

Over consumption with GPIO input

pierre-xavier
Associate II
Posted on March 19, 2014 at 16:43

Hi,

I'm trying to have the lowest consumption I can with a very simple design. 

Weird thing appenened: 

Putting PD4 in ''floating no interrupt'' mode, give me a definitely higher consumption than ''output pull-push low level'' mode (~150uA more)!

Regards,

0690X00000602jhQAA.jpg

#gpio-consumption
1 REPLY 1
pierre-xavier
Associate II
Posted on March 24, 2014 at 11:46

There is the answer:

CLK_PeripheralClockConfig(CLK_Peripheral_ADC1, ENABLE);

ADC1->TRIGR[2] = 0xFF;  // disable triggers

CLK_PeripheralClockConfig(CLK_Peripheral_ADC1, DISABLE);