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

S140 nRF52840, SDK 14.2.0 BLE Peripheral UART example not working

Hi,

I'm using SDK 14.2.0, and nRF52840-Preview-DK. Followed the tutorial: devzone.nordicsemi.com/.../ I've programmed the soft device from: ..\components\softdevice\s140\hex\s140_nrf52840_5.0.0-2.alpha_softdevice.hex I've program the application from: ..\examples\ble_peripheral\ble_app_uart\hex\ble_app_uart_pca10056_s140.hex Downloaded the nRF Toolbox, nRF Connect and nRF UART 2.0 apps to my LG5 phone. On the PC I'm running the Termite 3.3 and the Settings are according to the project code it supposed to be 115200,stop bit 1 and no flow control.

In all the apps I can see the Nordic_UART advertising name. In nRF Toolbox and nRF UART 2.0 apps I can't connect to the DVK, and receiving the message: "Device doesn't support UART".

When I turn on the DVK, LED1 blinks every 2 sec. When I press on button 1 the blinks stops, when I press again I'm receiving in the Termite the message: "UART Start!" Only using the nRF Connect app it's possible to connect the DVK and services which are available are:

CLIENT: Generic Access UUID 0x1800 SERVER: Generic Attribute UUID 0x1801, Service Changed UUID: 0x2A05 Properties INDICATE Generic Access -> Device Name UUID 0x2A00 properties READ, Appearance UUID 0x2A01 Properties READ, Centeral Address Resolution UUID 0x2AA6 properties READ.

Anyway, I also compiled and programmed the device using Segger and same thing. I've looked and read any possible document regarding the UART demo and couldn't find explanation for this problem.

Any help will be appreciated ...

Miki H.

Parents
  • I have this going fine but with the S132 softdevice version. I suggest you try the ble_app_uart_pca10040_s132 project and see if that one works for you.

  • You need to use the S140 SoftDevice for nRF52840. Try to flash the pre-compiled hex file(SoftDeivce+app) located in sdk_folder\examples\ble_peripheral\ble_app_uart\hex. ble_app_uart_pca10056_s140.hex.

    The android phone is saving old service discovery data. Try to turn off the BLE on the phone, and turn on/off the phone again. If you still have the same problem, try to force a service discovery by using nRF Toolbox, choose DFU and connect. The app automatically does a service discovery when the dfu service isn't found. After this, connect with the nRF Toolbox UART.

Reply
  • You need to use the S140 SoftDevice for nRF52840. Try to flash the pre-compiled hex file(SoftDeivce+app) located in sdk_folder\examples\ble_peripheral\ble_app_uart\hex. ble_app_uart_pca10056_s140.hex.

    The android phone is saving old service discovery data. Try to turn off the BLE on the phone, and turn on/off the phone again. If you still have the same problem, try to force a service discovery by using nRF Toolbox, choose DFU and connect. The app automatically does a service discovery when the dfu service isn't found. After this, connect with the nRF Toolbox UART.

Children
No Data
Related