znatok wrote on Thursday, June 19, 2014:
Hi,
I have a project running on STM32F2 ARM Cortex M3 CPU. We are trying to tune power consumption of the hardware. I personally trying to reduce CPU consumption. I came to the following situation:
- CPU is running at 120MHz. ART Accelerator is enabled.
- I have created NO TASK
- Before running vTaskStartScheduler() CPU consumes about 20mA
- After starting a scheduler CPU current rises up to 55mA
I know that FreeRTOS will create idle task and TimerTask (I have Timers enabled). But I can’t understand what specific CPU hardware is activated after starting scheduler that should consume 35mA. I do not believe SysTick interrupt can do it.
According to STM datasheet CPU running at this clock at 3.3V with ART enabled and ALL PERIPHERAL ENABLED should consume up to 49mA. But in my case I have no peripheral enabled (except clocks and NVIC) and before scheduler is running power consumption is at 20mA.
Can someone lite a light on the question what can cause to consume extra 35mA.
Thanks.