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

Shoud we use nrfx driver, or nrf legacy driver?

In the SDK it suggests we use those new nrfx drivers, and says the legacy will no longer supported in the future. However, in the examples of the SDK, it uses the legacy driver. I didn't see any examples using new nrfx drivers. 

Should I follow examples to contiue using legacy drivers? 

Thanks,

Parents
  • Hi,

    The SDK uses a legacy-layer that translates from the old API (nrf_drv) to the new API (nrfx). This is useful for backwards compatibility. But it's the new nrfx drivers that are actually being used by the SDK. See also this answer.

    Best regards,

    Marjeris

Reply
  • Hi,

    The SDK uses a legacy-layer that translates from the old API (nrf_drv) to the new API (nrfx). This is useful for backwards compatibility. But it's the new nrfx drivers that are actually being used by the SDK. See also this answer.

    Best regards,

    Marjeris

Children