How is the low power levels handled with ChibiOS/RT 3?
Posted: Tue Jun 24, 2014 2:45 pm
As you know many of the MCU's (especially ARM CM's) provides some different low power levels.
For example take the EFM32's. There are 4 low power modes (EM1-4). Two of them is usable for ChibiOS Idle thread(EM1,2). Most of the time EM2 is the best mode for idle, but sometimes, some tasks needs some high speed peripherals running while the CPU is off (EM1).
The same scenario can be applied to the STM32L0's. (Unfortunately STM32L1's are not good for tickless mode).
How is this handled with ChibiOS 3? How can I make sure the idle thread enters to the required low power level?
For example take the EFM32's. There are 4 low power modes (EM1-4). Two of them is usable for ChibiOS Idle thread(EM1,2). Most of the time EM2 is the best mode for idle, but sometimes, some tasks needs some high speed peripherals running while the CPU is off (EM1).
The same scenario can be applied to the STM32L0's. (Unfortunately STM32L1's are not good for tickless mode).
How is this handled with ChibiOS 3? How can I make sure the idle thread enters to the required low power level?