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.

  • Hi Sigurd, I tried the unpairing but there is nothing unpairable.. So it didn't help. However, the file you've sent me seems to work but it's not stable: firstly I've received the same error when I tried to connect from the nRF Toolbox UART app so I tried to connect from the nRF Connect app and then I saw something new, I saw a new service called "Nordic UART Service" and inside of that the "RX Characteristic" and I able to send some characters to the PC terminal! Anyway I returned to the nRF Toolbox UART app again and this time it connected successfully and sent some characters to test it, and it work for about 10 seconds and then disconnected and the DVK got stuck, I needed to turn it off and then back on again to see the "Nordic_UART" advertising name.. So, first time I've been able to do something but it's not stable enough... Please see the following screenshots: postimg.org/.../

Reply
  • Hi Sigurd, I tried the unpairing but there is nothing unpairable.. So it didn't help. However, the file you've sent me seems to work but it's not stable: firstly I've received the same error when I tried to connect from the nRF Toolbox UART app so I tried to connect from the nRF Connect app and then I saw something new, I saw a new service called "Nordic UART Service" and inside of that the "RX Characteristic" and I able to send some characters to the PC terminal! Anyway I returned to the nRF Toolbox UART app again and this time it connected successfully and sent some characters to test it, and it work for about 10 seconds and then disconnected and the DVK got stuck, I needed to turn it off and then back on again to see the "Nordic_UART" advertising name.. So, first time I've been able to do something but it's not stable enough... Please see the following screenshots: postimg.org/.../

Children
No Data
Related