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
  • Hi Tobi,

    This is the documentation for PMU in nRF5 chips: infocenter.nordicsemi.com/.../pmu.html

    Our hardware's intelligent power management keeps consumption ultra low needing no hook function in software to power manage the peripheral (by peripheral, RTC, Radio, Timers etc.).

    But hook functions can be used, for instance, if chip is being powered off then to setup correct wake up sources,or say, external peripherals (external components as you call it) connected through nRF5 SoC transport peripheral (UART, SPI, etc.) can be instructed to enter/exit low power states etc.

    In short, peripherals in nRF5 SoC need no explicit software to power control them.

    If you are observing power consumptions on nRF5 that dont match our documented values (in our info center), please give details of Zephyr commit hash you are using, your application and its Kconfig file details.

    If you are interested in reducing power consumption of CY8Cxxxx chip, this is not the right forum ;-)

    Regards, Vinayak

Reply
  • Hi Tobi,

    This is the documentation for PMU in nRF5 chips: infocenter.nordicsemi.com/.../pmu.html

    Our hardware's intelligent power management keeps consumption ultra low needing no hook function in software to power manage the peripheral (by peripheral, RTC, Radio, Timers etc.).

    But hook functions can be used, for instance, if chip is being powered off then to setup correct wake up sources,or say, external peripherals (external components as you call it) connected through nRF5 SoC transport peripheral (UART, SPI, etc.) can be instructed to enter/exit low power states etc.

    In short, peripherals in nRF5 SoC need no explicit software to power control them.

    If you are observing power consumptions on nRF5 that dont match our documented values (in our info center), please give details of Zephyr commit hash you are using, your application and its Kconfig file details.

    If you are interested in reducing power consumption of CY8Cxxxx chip, this is not the right forum ;-)

    Regards, Vinayak

Children
No Data
Related