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

BLE Blinky does not run on EV-BT840 board

My environment:  SDK 15.2, SD 6.1.0, SES 4.12

I can build and run the BLE blinky example on the nRF 52832 DK with no problems. I tested LED on/off by writing to the BLE characteristic, notifications work with button press.  However when I build and run this example on the EV-BT840F board I can see the BLE service table is incorrect (see screen shots attached).  Normally the BLE service table includes just one service: LED Button Service 0x1523.  But on the EV-BT840F board the BLE service table only has once service: Nordic UART Service.  I cannot figure out why this UART service appears but the LED button service does not. I turned on RTT console log but there are no error messages.  I can step through the code that initializes the stack and BLE services and it seems fine.

To create this build I started by making a copy of the folder:  /examples/ble_peripheral/ble_app_blinky/pca10056 

Then I changed the preprocessor macro from BOARD_PCA10056 to BOARD_EV_BT840F.  Then I created a new board definition header file (attached) and compiled the project. I used SES to erase the entire part and burn the image to flash. SES also burns the SoftDevice s140 to flash. 

Here is a screen show of nRF Connect when I connect to the EV-BT840 board running blinky:

Here is the custom board header file:

ev-bt840f.h

Parents Reply Children
Related