This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Wake device using USB in zephyr

I want to accomplish what was achieved in this post: https://devzone.nordicsemi.com/f/nordic-q-a/85237/how-to-wakeup-the-nrf52480-on-usb-power-up-event-from-sleep-low-power-mode/355606 but with Zephyr on the nrf52833 SoC. Initially I built my code based on system off example for nrf devices provided by zephyr (/opt/nordic/ncs/v1.9.1/zephyr/samples/boards/nrf/system_off), which relies on a button press to restart. Unfortunately, my project does not have any available gpio pins to use as the wakeup signal. Is there a way to use the VBUS pin on the nrf52833 in a similar manner so it wakes from the soft_off state set by "pm_power_state_set((struct pm_state_info){ PM_STATE_SOFT_OFF, 0, 0 });" ?

Parents
  • Hi there,

    If you manage to put the board in System Off, then it should automatically do a wakeup from System off when the valid VBUS voltage has been detected. Did you try to put the board into system off sleep and then plug in the USB cable?

    regards

    Jared 

Reply
  • Hi there,

    If you manage to put the board in System Off, then it should automatically do a wakeup from System off when the valid VBUS voltage has been detected. Did you try to put the board into system off sleep and then plug in the USB cable?

    regards

    Jared 

Children
Related