[riot-notifications] [RIOT-OS/RIOT] nrf52/i2c: Use mutex and IRQ for blocking (#14165)

Hauke Petersen notifications at github.com
Fri May 29 15:52:14 CEST 2020

Awesome, exactly the numbers I was looking for. For pure runtime overhead, we are looking at a ~4,5% penalty for short transfers, that is something we could live with I'd say.

Looking at the energy consumption aspect it seems to me we loose a light bit of efficiency in the same order of magnitude: the code in master should put the CPU into light sleep for the complete wait duration, while with #14165  the idle thread is only active for the transfer duration minus the time taken for the task switching, right?

So I agree that this PR is a good idea and the benefits outweight those (small) penalties.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200529/3b7acc6d/attachment.htm>

More information about the notifications mailing list