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

Problem with flashing to sparkfun nRF52832 using nRF52 DK for BLE_UART code?

Hello sir, I have develop my BLE_UART code is working fine with nRF52832 DK board but when i flash into spark fun nRF52 is not working. But i able to flash into Spark fun other code like BLE_APPS_hrs, led blinking and other also. Why i am not able to flash BLE_UART example or my own develop code into spark-fun board. I am using eclipse IDE is it any need to do setting in eclipse IDE for create correct hex file. because my code hex file size is 93KB.

Thnaks......

  • I am successfully flash my program into spark fun board and also it working with sparkfun board. But now problem is some android mobile is connect BLE and well work as per my BLE_UART code. But some other mobile is connect only for 3 sec and disconnect automatically why it so. same code when i flash into nRF52832 DK it working and connect for all android mobile. But with sparkFun nRF52832 it not connect for all android mobile. Thats now problem so please how i can resolve. Flashing problem into sparkfun is resolved. now sparkfun board is not connect for all android device even same BLE and android version. Thanks...

  • Good to hear! Are you flashing the same softdevice to both nrf52832 DK and the sparkfun breakout board? And you are running the same code on both boards? If the answer is yes for both, I would suggest talking to the Sparkfun tech support. I do not have any experience with the sparkfun boards and it seems like there could be an issue with their board, as it worked fine with the nrf52 DK. Which two Android phones are you using?

  • Ya it worked when i increase next_Connection_param_delay. but i am not understand what is use of Next_Connection_param_delay in BLE programming and also FIRST_CONN_PARAMS_UPDATE_DELAY? why we need to define in programming. Thanks for your valuable reply.....

  • Just look at the comments to the side of the variables. The FIRST_CONN_PARAMS_UPDATE_DELAY is the "Time from initiating event (connect or start of notification) to first time sd_ble_gap_conn_param_update is called (5 seconds)." The NEXT_CONN_PARAMS_UPDATE_DELAY is the "Time between each call to sd_ble_gap_conn_param_update after the first call (30 seconds)." I don't quite understand why you would need to change these values to make the sparkfun board work. What values did you choose for FIRST_CONN_PARAMS_UPDATE_DELAY and NEXT_CONN_PARAMS_UPDATE_DELAY?

Related