we bought a nRF52840 dongle and 949-NRF52840-DK in order to develop an ANT application.
However, the demo projects for ANT in the SDK are provided for a different board and not for our PCA10056. We are currently using IAR compiler, and we are unable to port the examples on our board.
Is there any ANT demo project for the PCA10056 board?
The s340 (BLE+ANT for 52840) stack was not released in time for SDK 15.2.0. That is why there aren't any examples for PCA10056. However, it should be relatively straight forward to port the existing…
The s340 (BLE+ANT for 52840) stack was not released in time for SDK 15.2.0. That is why there aren't any examples for PCA10056. However, it should be relatively straight forward to port the existing examples to use the s340 stack which you can download from thisisant.com. There are mainly two thing you need to do 1 include the API headers from the s340 download 2 adjust the linker settings so the application does not overlap with the softdevice.
Thanks for your answer! We are trying to do that, and it seems to work
I just wanted to let you know that SDK v.15.3.0 with s340 support has been released.
hi,could i ask you what should i do in porder to use ant on the pca10056 board? i added the s340 softdevice but no example workson the board. thanks a lot!!
You need to copy the SD API headers to your SDK and uncomment ANT_LICENSE_KEY. From the SDK getting started guide:
ANT SoftDevices for the nRF52 Series are not distributed by Nordic Semiconductor. You can download them from thisisant.com.
There are no Keil or GCC targets to program these SoftDevices. You must therefore use nRFgo Studio to program them.
The SDK does not include the header files for the ANT SoftDevices. You must add them to your project before you can compile your application. To do so, extract the downloaded zip file that contains the SoftDevice and copy the SoftDevice headers to components/softdevice/SoftDevice/headers.
Make sure that ANT_LICENSE_KEY is uncommented in the nrf_sdm.h file that you copied. The included license key can be used for evaluation, but before releasing a product, it must be replaced with a valid commercial license key. For more information about licensing, see thisisant.com.