Hi dear development team, The newly released Mynewt (1.8.0) adopted a new version of nrf52 driver which is nrfx 2.1.0 (the last version was 1.7.0).
However, the APIs have changed a lot. And the working code with nrfx 1.7.0 totally doesn't work anymore. I searched online and found no supported documents. I then reached out to Nordic for tech support and got the following answer: Basically, they said the support document is not available and they are planning to backport the driver to 1.8.x in their own next version of SDK. It looks like there are a lot of issues with the newer driver. If they are backporting their own SDK, I suggest we do the same. So that the code still works and will be well supported. Maybe we can upgrade the driver after the official support document is available and updated in their own SDK. Please seriously consider my suggestion, since this significantly affects our development progress and shown no benefits. Thanks, Below is the response by their tech support staff: ---------------------------- Hi, As you figured, the nrfx 2.x API is not supported in the nRF5 SDK exactly because of the large changes in the SPI of the new nrfx_saadc driver. The driver have been completely rewritten to fix some issues seen with the old driver. The new driver will be backported to nrfx v1.8.x in the next release of nRF5 SDK, but the legacy driver will still be available. The example code needs to be completely rewritten to support the new driver. Unfortunately, for now, we do not have any examples available for the new driver. I would recommend you to stick with the driver from nrfx v1.8.x for now. Best regards, Jørgen ----------------------------- Mo Chen