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

Problem with "UART/Serial Port Emulation over BLE" Example

Hello,

I've done this steps:

  • I erased the whole chip: nRFgo Studio/ DeviceManager/nRF5x Programming/Erase all
  • I programmed the Softdevice s132_nrf52_5.0.0_softdevice.hex: nRFgo Studio/DeviceManager/nRF5x Programming/Program SoftDevice
  • nRFgo Studio closed, IAR Workbench started
  • Started Termite and selected COM-Port and 115200 Baud
  • I loaded C:\Nordic\nRF5_SDK_14.1.0\examples\ble_peripheral\ble_app_uart\ble_app_uart.eww
  • I pressed "Download and Debug" in IAR, then "GO" in Debugger
  • LED1 indicates ADVERTISING
  • Termite shows "UART Start!"

Ok, until here everything looks fine.

But then

  • I start nRF UART v2.0 on my smartphone (Android)
  • I press connect see and select "Nordic_UART"
  • my smartphone shows error message "Device doesn't support UART. Disconnected"

I also tested the wireless UART from Android nRF Toolbox, same result.

Any help is appreciated,

Mark

Parents Reply
  • Hi Jian,

    The old UART 2.0 app is deprecated (over 3-4 years since last update). I strongly recommend using the nRF-Toolbox app, and use the UART function there instead. If you need the source code, then it can be found here.

    If that does not fix the problem, it might be that Android has cached previous services from the device, and do not do a full service discovery. Try then to choose DFU in the Toolbox app, and connect. The app automatically does a service discovery when the dfu service isn't found.

Children
No Data
Related