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

SDK12.0.0 vs SDK11.0.0 GPIOTE IRQ priority

I'm using the nRF52. I started off with SDK11.0.0 and noticed that SDK12.0.0 is available. It seems that the GPIOTE IRQ priority has gone from 2 to 6. Any reason for this?

Also, maybe I'm not seeing what's better about it, but the configuration scheme in SDK12.0.0 seems more complicated than in SDK11.0.0. Am I okay sticking with SDK11.0.0? I just started my project, so it's not too late to switch, but I don't want to complicate what I already have started if it is working.

  • The driver configuration has changed with SDK 12, but the flexibility is maintained. Assuming that you are using a driver, the interrupt priority in SDK 12 can be configured easily by changing GPIOTE_CONFIG_IRQ_PRIORITY in your projects sdk_config.h. Most of the example projects use 6, but you will also see that some use 3. There is no right or wrong here, as it is application specific.

    The intention of the SDK team was to make configuration easier by having all SDK configuration (including drivers) in a single header file. Unless you have good reasons for sticking with SDK 11 I would recommend to go for SDK 12, as it is the latest and greatest, with more features, more bugs fixed, and support for the latest SoftDevices etc. Other than that there is nothing that prevents you from using SDK 11 with the nRF52.

Related