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

when to use SWI_DISABLE0

Device : PCA10028 + PCA10031 tool: Keil free (32k) Objective : to learn to write BLE apps using Nordic 51822 QFAB chip (I designed a prototype board with this chip, but that's the future)

First simple Question: when SWI_DISABLE0 should be used ?

  • I'll answer your question the best I can since it hasn't been answered yet.

    Software interrupts are used by the SoftDevice to signal events to the application. There are six software interrupts SWI0-SWI5. SWI0 is unused by the softdevice and available to the application. So I interpret this as the user can enable SWI0 if they have a use for it, otherwise just disable it by default... The other SWI1-SWI5 are used by the softdevice.

    For more information see the softdevice specification under Radio Notification. There is a nice table there that is where I got most of the info for this answer from.

    -Mike

Related