The coexistence of the Application and SoftDevice with safe sharing of common System on Chip (SoC) resources is ensured by the SoC library.
The features described in the following table are implemented by the SoC library and can be used for accessing the shared hardware resources when the SoftDevice is enabled.
| Feature | Description |
|---|---|
| Mutex | The SoftDevice implements atomic mutex acquire and release operations that are safe for the application to use. Use this mutex to avoid disabling global interrupts in the application, because disabling global interrupts interferes with the SoftDevice and might lead to dropped packets or lost connections. |
| Rand | Provides random numbers from NIST-compliant random number generator. |
| Power |
Access to POWER block configuration:
|
| Clock | Access to CLOCK block configuration. Allows the HFCLK Crystal Oscillator source to be requested by the application. |
| Radio Timeslot API | Schedule other radio protocol activity, or periods of radio inactivity. |
| Radio notification | Configure radio notification signals on ACTIVE and/or nACTIVE. See . |
| Block Encrypt (ECB) | Safe use of 128-bit AES encrypt HW accelerator |
| Event API | Fetch asynchronous events generated by the SoC library. |
| NVM API | Application access to NVM write. Can be safely used during all protocol stack states.1 See NVM API. |
| Temperature | Application access to the temperature sensor |
1 This can also be used when the SoftDevice is disabled.