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

migrating from nRF51 SDK v8 to nRF52 SDK

The migration document below seems to refer to an SDK that no longer available for download for nRF52, v0.9.0.

infocenter.nordicsemi.com/index.jsp

Tried to apply nRF52 v11.0.0 instead as that seems to be the earliest version available for download. However, there seems to be many more changes required than what the migration doc mentioned. For example, NRF_ADC seemed to have been removed and replaced with NRF_SAADC, etc...

"The ADC peripheral is replaced by a differential Successive Approximation Register Analog to Digital Converter (SAADC). The interface is not backwards compatible, but has added features, such as support for up to 4 differential inputs and EasyDMA for CPU offloading."

While it was mentioned that there's a new SAADC feature that replaced ADC, it didn't have a section on an example on how to change existing ADC code. Other migration docs usually mention any structures that change and what changes should be made in existing code.

Is there a prior migration document that mentions those types of changes? Is there another version of nRF51 SDK I should migrate to before crossing over to nRF52?

  • FormerMember
    0 FormerMember

    I would think the easiest is to first migrate to SDK 12.2.0 and S130 v.2.0.1, and then migrate to nRF52, SDK 12.2.0 and S132 v.3.1.0. By doing so, you can make sure that the application works on the latest version of the SDK with nRF51, before migrating to nRF52.

    After you have migrated to SDK 12.2.0, a good part of the migration guide on the infocenter will no longer apply/be relevant.

    For the ADC --> SAADC, I would recommend you to take a look at the SAADC example in the SDK.

    If you are using the device manager module, this tutorial explains how to migrate to the peer manager module.

Related