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

Increased current consumption from sp_app_evt_wait instead of WFE with softdevice

Hi,

  We are using the nRF52840 Dev Kit with SDK17 and SD140 without FreeRTOS. There has been discussion in other postings <link> about increased current consumption caused by calling sd_app_evt_wait instead of WFE when using FreeRTOS. However, we are observing increased consumption even when not using FreeRTOS. This posting <link>states that using WFE could not cause severe issue with the softdevice. Could you say what are the issues caused by calling WFE instead of sd_app_evt_wait?

  Thank you for your help!

  • Hi

    Can you provide some details on the current consumption seen when using __WFE versus sd_app_evt_wait()? As Hung says in the case you linked to, there shouldn't be any issues with using __WFE, but this should draw a bit more power as the __WFE is usually called in the main loop, which would waste energy, as the SoftDevice is handling advertising events, and should therefore be better suited for handling low power modes as well. Check out sd_app_evt_wait() for a detailed description of the function.

    Best regards,

    Simon

Related