Sleep mode

Hi,

I need to know. How to put the nrf5340 in sleep mode and how can I woke up the device based on interrupt. Kindly, let me know. How can I achieve this.

Thanks & Regards,

Navin

Parents
  • Hi,

    Which sleep mode do you want to put the chip in, and what kind of "interrupt" do you want to wake up from?

    System OFF mode is the lowest power mode available for the chip, but from this mode you can only wakeup by a given set of peripherals/signals (see above link). A wakeup from System OFF will trigger a reset, and you will need to perform some action based on the value of the RESETREAS register in your main() function. You can enter System OFF mode as shown in the nRF5x System OFF demo sample.

    In System ON mode, the CPU can wake on any event (for instance from timer, RTC, RADIO, serial peripherals, etc). This is normally the default power mode when the CPU does not have any tasks to do, and it is handled by the IDLE thread in Zephyr/nRF Connect SDK.

    Best regards,
    Jørgen

Reply
  • Hi,

    Which sleep mode do you want to put the chip in, and what kind of "interrupt" do you want to wake up from?

    System OFF mode is the lowest power mode available for the chip, but from this mode you can only wakeup by a given set of peripherals/signals (see above link). A wakeup from System OFF will trigger a reset, and you will need to perform some action based on the value of the RESETREAS register in your main() function. You can enter System OFF mode as shown in the nRF5x System OFF demo sample.

    In System ON mode, the CPU can wake on any event (for instance from timer, RTC, RADIO, serial peripherals, etc). This is normally the default power mode when the CPU does not have any tasks to do, and it is handled by the IDLE thread in Zephyr/nRF Connect SDK.

    Best regards,
    Jørgen

Children
Related