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

  • Hi Sevstels,

    We are experiencing an incompatibility issue with some certain Android phone where the phone violates the spec and we disconnect right after that. Please have a look at the release note for S132v3.1 here. We added a compabiltiy mode so that the device won't disconnect when seeing this issue.

    However it's only for nRF52.

    Could you check if you get error code 0x2A returned when the disconnection occurs ?

    Your issue could be similar to this one: devzone.nordicsemi.com/.../

Reply Children
No Data
Related