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

ble_app_uart with Android failed

I lost many time and check 3 examples for various versions SDK, in all cases device cant connect to smartphone. Check with appl. "nRF UART 2.0" and last "nRF Connect". Applications detected and show ble "Nordic_UART" device, but cant connect to him.
Also check use "Master Control Panel", but do not see chip:

[22:11:42.2] Loading... [22:11:45.5] No response from master emulator.

But by Putty communication exist.

Chip: nrf51822QFAC and nrf51822QFAA Board: BLE400 IDE: IAR SDK: 6.0 , 10.0 , 12.1 Phone: Samsung SM-J120H, Android ver 5.1.1

Help please fix problem. Working code example or project for IAR and nrf51822.

Parents
  • Hi. For last test, I download from nRF51822 product page: nRF5 SDK Zip File ver 12.2.0

    Then open examples/peripheral/, retarget IAR projects settings for 51822, and make test for hardware: 1.blinky, 2.rtc, 3.uart. It working well without any problem.

    Then open ble_peripheral/ble_app_uart and made same retarget IAR settings. Compilation is well, without any warnings or error. Connect by jumper GND and P30.

    Flashing to chip s130_nrf51_2.0.1_softdevice.hex, also successfully. Download to board by JTAG application. Launch to debug. LED blinking with period 2 sec.

    image description

    Putty print msg: "UART Start!"

    Try connect with Android device by 'nRF Connect':

    image description

    image description

    Try connect with Android device by 'nRF UART 2.0':

    image description

    image description

    This - finish... :(

    ble_app_uart_ble400_s130.hex.zip

  • I believe this issue only happens on limited number of Android phone models (Samsung J1 and J3, AFAIK).

    Another option is to use S130 v1.0 if you really need to use your device with the J1.

Reply Children
No Data
Related