Flash API processor usage patterns

This section describes the processor availability and interrupt processing time for the SoftDevice when the Flash API is being used.

Figure 1. Flash API activity (some priority levels left out for clarity)

When using the Flash API, the pattern of SoftDevice CPU activity at interrupt priority level 0 is as follows:

SoftDevice processing activity in the different priority levels during flash erase and write is outlined in the table below.

Table 1. Processor usage for the Flash API
Parameter Description Min Typical Max
tISR(0),FlashErase Interrupt processing when erasing a flash page. Note that the CPU is halted for most of the length of this interrupt.     22.6 ms
tISR(0),FlashWrite Interrupt processing when writing one or more words to flash. Note that the CPU is halted for most of the length of this interrupt. The Max time provided is for writing one word. When writing more than one word, please see the Product Specification to find out how long time is needed for per word to write, and add to the Max time provided in this table.     550 μs
tISR(2) Priority level 2 interrupt at the end of flash write or erase.   30 μs  

Documentation feedback | Developer Zone | Updated 2016-04-08