This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Power managment on NRF52 using Zephyr

Hello guys,

I wanted to start to implement the power management feature on the NRF52 using the Zephyr kernel for a bluetooth application. Unfortunately I am running in a lot of problems. I understood that the hookup functions are called once the kernel goes to idle/waking up. I assume that in those functions I have to turn on/off the components.

In order to be able to wakeup after going to sleep I wanted to use the RTC component. Unfortunately I am not able to set it up:

I used CONFIG_RTC=y in config file, tried with CONFIG_NRF_RTC_TIMER, CONFIG_SOC_FAMILY_NRF5, CONFIG_CLOCK_CONTROL_NRF5 as well. Once I am looking for the device with device_get_binding("RTC_0") I always get a NULL pointer which means the device was not found. RTC_0 should be the default name for the component, according to the Kconfig file.

Hope someone can help me: Am I on the right track for implementing the power managment? Does someone has experience with the Power managment on the NRF52 using Zephyr? What am I doing wrong with the RTC?

Parents Reply Children
No Data
Related