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

NRF51822 boards with bluetooth connection issues are fixed with soft reset but not pin reset

Hello,

The current project I am troubleshooting includes an NRF51822 chip. The project includes a boot loader, application hex, and soft device S110 V7.3.0. It was noticed by the manufacturer that about 5% of the boards experience a dropping of the Bluetooth connection randomly. These boards that experience the connection dropping continue this behavior after being reprogrammed and power cycled. The only way we have found to fix it is to perform a "soft reset" using the nrfjprog command line tool. this soft reset will cause the board to stop dropping the Bluetooth connection until the next power cycle where it begins with the old behavior. Both the pin reset on the chip and the pin reset command on the command line tool were not able to replicate this fix as the soft reset did. 

I know there are function that would allow us to perform a soft reset from within the application, say on first power up write to EEPROM and then do a soft reset. second power up read EEPROM and then continue with normal functionality. I am looking for a more permanent solution for this problem. Any suggestions?

Thanks,

Parents
  • To find a solution, you first need to find what the actual problem is!

    Instrument you code, and look for what's different between the two situations.

    perform a "soft reset" using the nrfjprog

    What, exactly, do you mean by that?

    a dropping of the Bluetooth connection randomly

    And what, exactly, is going on there?

    Are there any other issues with these units - such as low received and/or transmitted power? Oscillator stability/accuracy? etc ...

    With any radio link, you have to be prepared for it to drop "randomly" - is your real problem that it doesn't recover after dropping?

Reply
  • To find a solution, you first need to find what the actual problem is!

    Instrument you code, and look for what's different between the two situations.

    perform a "soft reset" using the nrfjprog

    What, exactly, do you mean by that?

    a dropping of the Bluetooth connection randomly

    And what, exactly, is going on there?

    Are there any other issues with these units - such as low received and/or transmitted power? Oscillator stability/accuracy? etc ...

    With any radio link, you have to be prepared for it to drop "randomly" - is your real problem that it doesn't recover after dropping?

Children
Related