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

disconnect after connection parameter update

Hi,

I am using the NRF51 developement kit. I have dongle flashed with the Master control panel firmware. On the pca10028 board I compiled and flashed an example heart rate service application with S130 softdevice.

The dongle finds the board with no problem. Then I connect to it, discover services and then enable them. All is working well. Then I get a connection parameters update event which is handled by the master control panel (I ticked the checkbox in the settings). After that there is a cca 4second pause and then i receive a disconnect event.

Why am I receiving the disconnect event after the connection parameters update ?

I also cannot find any S110 examples in the Keil v5 packs. Why is that so ?

image description

Parents
  • I must be the most unfortunate person in the universe.

    After a day of debugging I resolved the issue but am unable to pinpoint the exact cause. I tried the same software on the production board we are developing, just bypassing the development kit altogether and everything works fine. There is only one difference on our board and that is a different IC. We are using NRF51822 and not NRF51422.

    As far as I know the code and the settings should be the same for both ICs if I am using only BLE stack. So my thinking right now is that our development kit is somehow damaged. Based on the connection paramater errors I am blaming the crystals or the internal clock generator. Anyhow I may try to replace the IC so then I will know for sure.

Reply
  • I must be the most unfortunate person in the universe.

    After a day of debugging I resolved the issue but am unable to pinpoint the exact cause. I tried the same software on the production board we are developing, just bypassing the development kit altogether and everything works fine. There is only one difference on our board and that is a different IC. We are using NRF51822 and not NRF51422.

    As far as I know the code and the settings should be the same for both ICs if I am using only BLE stack. So my thinking right now is that our development kit is somehow damaged. Based on the connection paramater errors I am blaming the crystals or the internal clock generator. Anyhow I may try to replace the IC so then I will know for sure.

Children
No Data
Related