cancel
Showing results for 
Search instead for 
Did you mean: 

stm32fxx_stdperiph_lib and power

mvonahnen
Associate III
Posted on February 22, 2012 at 23:15

Does the code in the stm32fxx_stdperiph_lib examples only turn on the functions being used in the example and gates off the other peripherals?  I am trying to measure current consumption for my specific mix of peripherals.

I was not clear to me in which module the clock control of the peripherals is set.

#stm3220g-eval
1 REPLY 1
Posted on February 22, 2012 at 23:54

I was not clear to me in which module the clock control of the peripherals is set.

 

RCC

Typically via the APB and AHB clocks. Although most of the current comes from driving the external pins.
Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..