• The key is to make sure that interrupts are absolutely stopped, including softdevice, during the window.

    The problem is that as far as I remember this can potentially break bluetooth and/or trigger a watchdog which will reset the device, which is why it's not done on nRF52 with Bluetooth.

    I figured the occasional OneWire error was preferable to the whole device restarting - There was a specific commit to change it some time ago: https://github.com/espruino/Espruino/com­mit/e8ceb5c61bd145e7a74e92a620f4af1cbb96­dd78

About

Avatar for Gordon @Gordon started