LPC55S69 POWER_EnterPowerDown random bug


LPC55S69 POWER_EnterPowerDown random bug

325 次查看
Contributor III

Hello, In our LPC55S69 project , using Freertos, we are encountering random bugs in the .POWER_EnterPowerDown API function.

Versions used :

  • arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 9-2019-q4-major) 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599]
  • #define _NEWLIB_VERSION "3.1.0"
  • FreeRTOS Kernel V10.3.0
  • SDK 2.8, using hard ABI

At first, POWER_EnterPowerDown seems to work well. However, sometimes, the CPU gets stuck in the function without effectively going to power down (we know this because the CPU current alone is about 4mA).



  1. Given we don't have access to the source code, what can cause this function to crash, or to loop?
  2. Moreover, the debugger gets lost when this error happens, and we can find the following comment The HARD FAULT handler should execute from SRAM. (The Hard fault handler should initiate a full chip
    reset) reset). When using the managed linker, in what section should we put the Hardfault handler? What is exactly the attribute we should add above the function declaration/definition?
  3. I suppose any pending interrupt before calling the function will be problematic, is that right?

Thanks in advance for your answers,


标签 (1)
0 项奖励
1 回复

299 次查看
NXP TechSupport
NXP TechSupport

Hi, Victor,

Pls refer to the following remarks. I suppose that the pending interrupt leads to the issue that you can not enter the power down mode sometimes not often.

so before you can the power down function, you can clear all the pending interrupt.

Hope it can help you


XiangJun Rong




0 项奖励