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

ANT+ Adafruit nRF52832 not working

Hello, I'm trying to get an ANT+ peripheral example to work on an Adafruit nRF52832 breakout module. I'm using the 15.0 SDK, SD S212 and SES with a J-Link to program over SWD. I've managed to get the BLE HRS example to work with appropriate SD, but when using SimulANT+ software to test ANT+ examples nothing shows. I'm currently using the evaluation license key by just uncommenting the define. Any ideas?

Thanks in advance!

Parents
  • Hi, make sure you read the header in main.c

     * Before compiling this example for NRF52, complete the following steps:
     * - Download the S212 SoftDevice from <a href="https://www.thisisant.com/developer/components/nrf52832" target="_blank">thisisant.com</a>.
     * - Extract the downloaded zip file and copy the S212 SoftDevice headers to <tt>\<InstallFolder\>/components/softdevice/s212/headers</tt>.
     * If you are using Keil packs, copy the files into a @c headers folder in your example folder.
     * - Make sure that @ref ANT_LICENSE_KEY in @c nrf_sdm.h is uncommented.
    
    

    Also you need the actual ANT+ network keys (should not be '0', and you should get them from www.thisisant.com):

    static uint8_t m_ant_plus_network_key[] = ANT_PLUS_NETWORK_KEY;
    static uint8_t m_ant_fs_network_key[]   = ANT_FS_NETWORK_KEY;

Reply
  • Hi, make sure you read the header in main.c

     * Before compiling this example for NRF52, complete the following steps:
     * - Download the S212 SoftDevice from <a href="https://www.thisisant.com/developer/components/nrf52832" target="_blank">thisisant.com</a>.
     * - Extract the downloaded zip file and copy the S212 SoftDevice headers to <tt>\<InstallFolder\>/components/softdevice/s212/headers</tt>.
     * If you are using Keil packs, copy the files into a @c headers folder in your example folder.
     * - Make sure that @ref ANT_LICENSE_KEY in @c nrf_sdm.h is uncommented.
    
    

    Also you need the actual ANT+ network keys (should not be '0', and you should get them from www.thisisant.com):

    static uint8_t m_ant_plus_network_key[] = ANT_PLUS_NETWORK_KEY;
    static uint8_t m_ant_fs_network_key[]   = ANT_FS_NETWORK_KEY;

Children
No Data
Related