Hi,
I'm using the NRF52840 SDK version V15. My program uses:
1. softdevice (BLE communication)
2. SPI uses using SPIM interface in nonblocking mode.
3. Timer event using app_timer_start (SPI not triggered by interrupts).
All the processing is done in the callbackes (of the timer event handler and DMA), so my main loop is in an infinite loop of entering sleep.
What should be the code in my main loop that ensures maximal power efficiency?
Thanks,
Daniel