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

BLE (NORDIC_UART) Not Adevertising in Android phone , when i change UART pins ?

Dear  support team,

i hope you are doing good.

i am using nrf51822 customized board, SDK 12.3.0 version keil 5.26 is development on windows environment. 

softdevice s130

nRF Tool box App i am using.

In the SDK 12.3.0  Ble_Peripheral example (BLE_APP_UART) UART default pins are  TX -9 / RX-11 when i changed  these pins to according my customized Board UART TX-21 RX-22 , Uart printf() is  not working.

"NORDIC_UART" not visible in Android phone , some times even BLE not advertising.  

CASE : 1 if i keep default UART pins, BLE is sensing i am able to connect through the android phone, but at this time : My UART  Printf is not working

what could be the issue ? please suggest me

Parents
  •  I am guessing that your execution never reaches a point where your device starts advertising.

    It sounds like there has been an APP_ERROR_CHECK failure in your code when you change the pins to 21/22. What caused it depends on where it happened and the error code. You should be able to tell that when you start your code in debugger and let the NRF_BREAKPOINT_COND hit in app_error_weak.c

    If the execution does not reach here, then you need to take a harder approach and step through your code.

Reply
  •  I am guessing that your execution never reaches a point where your device starts advertising.

    It sounds like there has been an APP_ERROR_CHECK failure in your code when you change the pins to 21/22. What caused it depends on where it happened and the error code. You should be able to tell that when you start your code in debugger and let the NRF_BREAKPOINT_COND hit in app_error_weak.c

    If the execution does not reach here, then you need to take a harder approach and step through your code.

Children
Related