This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Soft device and drivers.

Hello I working for TSS.se now selling 100.000 temperature-loggers annually. We aim to develop a new IoT based logger based on nRF52832 as a replacement.

We have developed one BLE application from an example, and a TSS-application for handling such as flash storage etc. Those applications are built in same SEGGER project aimed to run in parallel.

When actually run both applications the TSS-application flash writing fails instant. It show up that when writing to the NVMC CONFIG register it fails, but only if soft device is enabled by sd_softdevice_enable(), else it works like a charm.

So my work around it to disable soft device during such register access, to be enabled right after.

The important question come, can it hurt the BLE function by temporary disable soft device ?

If that's so, how do I get access to registers when soft device is enabled, without any blocking fault-handling or failure ?

Thank you and Best regards Lennart Vedin for TSS.se

Related