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

SDKv11 Heart-rate example works only in Debug mode on nRF52 DK board

Hi,

I recently procured a nrRF52 DK board (PCA10040, v2.0.0 with nRF52832) for our new product development activity. 

I tried following precompiled binaries present in SDKv11 none of them works.

nRF5_SDK_11.0.0_89a8197\examples\ble_peripheral\ble_app_hrs\hex\ble_app_hrs_s132_pca10040.hex

nRF5_SDK_11.0.0_89a8197\examples\ble_peripheral\ble_app_hrs\hex\ble_app_hrs_s132_with_dfu_pca10040.hex

nRF5_SDK_11.0.0_89a8197\examples\dfu\bootloader\hex\dfu_dual_bank_ble_s132_pca10040.hex

Following test binaries are working fine.

nRF5_SDK_11.0.0_89a8197\examples\ble_peripheral\ble_app_uart\hex\ble_app_uart_s132_pca10040.hex

nRF5_SDK_11.0.0_89a8197\examples\peripheral\blinky\hex\blinky_s132_pca10040.hex

I even tried to build and load the heart rate sample source code to the nrf52 DK board, still did not work. But when i run the same heart rate code in debug mode (in Keil) i see the board advertise and able to connect from nRF Connect Application. As soon as i exit the debug mode the board stops working. 

One more observation is, when i change the LFCLK to internal oscillator, i see advertisement for approx 1 sec and the device stops working, but the same works fine in debug mode again. 

I wanted the board to be working with SDKv11 heart-rate source code to reuse most of my previous product design resources. Please help me to resolve this issue to continue our new product development work.

Regards,

Balaji

Related