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

Various notification delays

Hi All

I have a system with two PCA10040 boards both running with SD version s132_nrf52_6.1.0. The application is build with SDK version 15.2.

I have implemented a peripheral device on one board, and a central device on the other. I have designed a custom service for transporting data in both directions. Two characteristics for notifying data from the peripheral, and two characteristics for writing data in the opposite direction. Everything got the expected functionality.

However:

When data is notified from the peripheral the data are normally received within apx 60ms. And that is good. But in some occasions there is suddenly a delay for 750ms. I cannot investigate it closer, that there must be some kind of delay in the softdevice in either end.

I have tried to visualize it on an oscilloscope. The blue curve is the signal from a button on the peripheral, and the red is an LED on the central. The first idle period on the red curve is the time spent on discovering the service, and the last idle period on the red curve is the actual problem. By the way, the first change is indicated within the advertising data to minimize the first delay.

Sorry about the quality, the site reduces everything, even very small (20kb) images.

Does anyone have a clue, or a hint?

Parents Reply Children
No Data
Related