how to enable pm managment at nrf5340

software:ncs 2.5.0

hardware:nrf5340 dk

hi professor,

According to the article at https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/optimizing-power-on-nrf53-designs?CommentId=ae95c50b-10df-43ad-938f-ac5b9f33677a, I have already added CONFI_PM=y to my prj.conf file. However, when I attempted to use the pm_state_force function to change the power management state, the project compiled with an error. The error message was: build/../src/any_motion.c:206: undefined reference to 'pm_state_force'.

My question is how to enable system power management and configure the nrf5340 DK to enter low power mode, where it remains until woken up by a GPIO trigger.

Related