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

my NRF51822 is is only advertising but it is not communicating with the Controller.

Hi all,

     I am using NRF51822 Bluetooth, which I am interfacing with the my microcontroller UART. when I dump the code into my Nordic NRF51822 BLE then it is only advertising but not communicating with the microcontroller. I dumped Softdevice and program Application both by using nrfgo studio Virsion 1.20.0.2. 

To build the program I used KEIL V5.23.0.0 and i also tried on KEIL V5.15. It is also giving the same result( Advertising but not communicating with the Microcontroller).

To dump the code i used JLINK Base flasher.

Softdevice file name: s110_nrf51_8.0.0_softdevice.hex

program Application file:nrf51422_xxac_s110.hex

I tried on three systems, two system are giving the same result (advertising but not communicating with the Microcontroller), but in other system it is both advertising and communicating with the microcontroller, when i used the same setting and same source code which i used in the other two systems. Please let me know how can i solve this problem.

Parents
  • Have you tested your application on communicating with your microcontroller ? (no BLE just UART)

    I would suggest to test with the ble_app_uart example where we use both BLE and UART (forwarding what received on UART to BLE).

    Is there any different between the working system and the other systems?

    What exactly happens on UART ? do you get any assertion ? Have you used logic analyzer to check what transmitted on the UART pins ?

Reply
  • Have you tested your application on communicating with your microcontroller ? (no BLE just UART)

    I would suggest to test with the ble_app_uart example where we use both BLE and UART (forwarding what received on UART to BLE).

    Is there any different between the working system and the other systems?

    What exactly happens on UART ? do you get any assertion ? Have you used logic analyzer to check what transmitted on the UART pins ?

Children
No Data
Related