Do we have to manually call sd_nvic_ClearPendingIRQ(SWI2_IRQn)
in thread mode event after calling sd_app_evt_wait()
?
edited: typo.
Do we have to manually call sd_nvic_ClearPendingIRQ(SWI2_IRQn)
in thread mode event after calling sd_app_evt_wait()
?
edited: typo.
Hi tralamazza,
To be consistent with SDK libraries you should call 'sd_nvic_ClearPendingIRQ(SD_EVT_IRQn) just after 'sd_app_evt_wait()'
/Aryan
Hi tralamazza,
To be consistent with SDK libraries you should call 'sd_nvic_ClearPendingIRQ(SD_EVT_IRQn) just after 'sd_app_evt_wait()'
/Aryan
Thank you, we found that out while profiling our power consumption. It would be great if you could make that clear in your documentation.
Hi,
Thanks for your feedback, Ill pass it to the relevant people.
Using SD_EVT_IRQn
instead of SWI2_IRQn
is nicer, thanks for the tip. The official softdevice_handler.c
should use it.