Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE_APP_UART (Nordic UART Service) example not working as expected

Hello,

I'm working on Keil with SDK 15.0 and Softdevice S132 6.0. I'm trying to run the Nordic UART Service example. I have two nRF52832 boards (the BMD-300 Evaluation Kit and the SparkFun nRF52832 Breakout).

When I run the peripheral example ble_app_uart on the BMD-300 Evaluation Kit it works perfectly and I can connect to it in Nordic's nRF UART v2.0 app on my Android phone. When I run the central example ble_app_uart_c on the BMD-300 Evaluation Kit the LED flashes to indicate that it is scanning for a peripheral.

The problems start when I try to run these on the Sparkfun nRF52832 Breakout board. When I run the peripheral example ble_app_uart the LEDs don't flash at all and I can't see it in the Nordic app, so technically nothing happens. When I run the central example ble_app_uart_c the LED immediately becomes steadily on as if it is connected to a peripheral even though I don't have a board running the peripheral example.

I have ran other examples from the SDK on both boards and they've all worked perfectly. This is all really confusing. Does the board have to have a UART connection for this to work? Or should it still show up in the app anyway? I'm a beginner so forgive me if there's an obvious answer to this. I have a project that is due soon so I'll really appreciate it if anyone could help me out.

Thank you.

Update: I tried flashing the device (Sparkfun nRF52832 Breakout board) with the precompiled hex file and with the makefile as well. Both didn't work either.

Related