This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Port ANT-BLE HRM Relay to NRF52840-Dongle

Hello, 
I want to port the "ANT and BLE Heart Rate Monitor Relay Application" to the pca10059, but it doesn't seem to work. (The led flashes fast so i guess it indicates BSP_INDICATE_ADVERTISING_DIRECTED as supposed to BSP_INDICATE_ADVERTISING Thinking)

I copied the 10056 project and did the following:

Preprocessor includes

APP_TIMER_V2
APP_TIMER_V2_RTC1_ENABLED
BOARD_PCA10059
CONFIG_GPIO_AS_PINRESET
FLOAT_ABI_HARD
INITIALIZE_USER_SECTIONS
NO_VTOR_CONFIG
NRF52840_XXAA
NRF_SD_BLE_API_VERSION=6
NRF52_PAN_74
S340
SOFTDEVICE_PRESENT
ANT_LICENSE_KEY="3831-521d-7df9-24d8-eff3-467b-225f-a00e"

Linker

FLASH_PH_START=0x0 
FLASH_PH_SIZE=0x100000
RAM_PH_START=0x20000000
RAM_PH_SIZE=0x40000
FLASH_START=0x31000
FLASH_SIZE=0xAF000
RAM_START=0x20002000
RAM_SIZE=0x3E000



I'm on  17.0.2 SDK, with the s340 on version 6.1.1

Parents Reply
  • I do not think the BLE blinky example is setup to use S340.

    In short you need to use the correct header files for the SoftDevice you are using, so if you are using S340 you need to use the header files found in \components\softdevice\s340\headers. You need to modify the flash and ram settings. You need to make sure that S340 is defined, so that the softdevice_handler support library knows what SoftDevice it is enabling, if you are using this library that is. You also need to change the project to load the s340 softdevice when programming. If you are using SES, you can open the -emproject in notepad and change these settings directly.

Children
Related