# Low Power Support For ARM Cortex-M

**URL:** <https://forums.freertos.org/t/low-power-support-for-arm-cortex-m/2921>\
**Category:** Kernel\
**Created:** [July 21, 2015, 1:08pm UTC](https://forums.freertos.org/t/low-power-support-for-arm-cortex-m/2921 "2015-07-21T13:08:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [July 21, 2015, 1:08pm UTC](https://forums.freertos.org/t/low-power-support-for-arm-cortex-m/2921/1 "2015-07-21T13:08:01Z")

</div>

**[jiangtianyu007](https://sourceforge.net/u/jiangtianyu007/)** wrote on [Tuesday, July 21, 2015](https://sourceforge.net/p/freertos/discussion/382005/thread/80551d40/#4eb2):

In freertosv8.2.1\freertos\source\portable\iar\arm\_cm3, I have a question about the \_\_weak void vPortSuppressTicksAndSleep( TickType\_t xExpectedIdleTime ) function.

line 408: /\* Enter a critical section but don’t use the taskENTER\_CRITICAL()  
method as that will mask interrupts that should exit sleep mode. \*/  
\_\_disable\_interrupt();

vPortSuppressTicksAndSleep( TickType\_t xExpectedIdleTime ) means disable other interrupt except for systick, and use systick to wake up mcu from sleep mode.

but in my opinion, \_\_disable\_interrupt() is IAR intrinsic function, and equal with cpsid i. It means any interrupt which priority below 0(logically) will be disabled. So how can systick wake MCU up?

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [July 21, 2015, 2:19pm UTC](https://forums.freertos.org/t/low-power-support-for-arm-cortex-m/2921/2 "2015-07-21T14:19:44Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Tuesday, July 21, 2015](https://sourceforge.net/p/freertos/discussion/382005/thread/80551d40/#5b00):

This information is provided in the Cortex-M technical reference manual, from ARM, so is not really a software question - however the answer is that interrupts will still bring the CPU out of sleep mode even when they are globally disabled in the core.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [July 21, 2015, 2:59pm UTC](https://forums.freertos.org/t/low-power-support-for-arm-cortex-m/2921/3 "2015-07-21T14:59:02Z")

</div>

**[jiangtianyu007](https://sourceforge.net/u/jiangtianyu007/)** wrote on [Tuesday, July 21, 2015](https://sourceforge.net/p/freertos/discussion/382005/thread/80551d40/#5b00/b9f9):

Is your mean that even the systick interrupt is masked, systick also will wake MCU up ? If so, the system will not enter the systick handler, just only bring CPU out of sleep mode. Is it right?

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [July 21, 2015, 3:59pm UTC](https://forums.freertos.org/t/low-power-support-for-arm-cortex-m/2921/4 "2015-07-21T15:59:42Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Tuesday, July 21, 2015](https://sourceforge.net/p/freertos/discussion/382005/thread/80551d40/#5b00/b9f9/d227):

Yes.

Please read the hardware documentation.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [July 22, 2015, 2:04am UTC](https://forums.freertos.org/t/low-power-support-for-arm-cortex-m/2921/5 "2015-07-22T02:04:13Z")

</div>

**[jiangtianyu007](https://sourceforge.net/u/jiangtianyu007/)** wrote on [Wednesday, July 22, 2015](https://sourceforge.net/p/freertos/discussion/382005/thread/80551d40/#5b00/b9f9/d227/44ed):

Thanks very much.
