IAR IDE is my current compiler tool.
I try to add "POWER_EnablePD(kPDRUNCFG_PD_MEM9);" into my heart rate sample code to enable lower power consumption.
But when function execute to this "POWER_EnablePD" subroutine, system will crash.
I also try the demo example code "power_mode_switch" and it works.
What's the different between these two projects when implement "POWER_EnablePD" function?