Hi,
TWI init using nrf_drv_twi_init, if event_handler is null it will be blocking mode. My question is, which one is less power consuming? block or non-blocking mode?
Thanks,
Hi,
TWI init using nrf_drv_twi_init, if event_handler is null it will be blocking mode. My question is, which one is less power consuming? block or non-blocking mode?
Thanks,
Hi,
Non-blocking mode will have lower current consumption, given that you put the CPU in sleep during the transfer (by calling __WFE()). In blocking mode, the driver will be busy-looping while it waits for the event, adding the current consumption of the CPU running. You will also lose CPU processing time that could have been used to perform other tasks.
Best regards,
Jørgen
Got it, thanks a lot.
Got it, thanks a lot.