This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Receive Broadcast S130

Hello, I build a Broadcaster(iBeacon) with the DK PCA10028. This Broadcaster sends periodically ervery 30ms a message (I have sniffed the Broadcast message and it appears every 30ms). I build up an observer that is watching for iBeacons with another PCA10028. I want to make sure that my observer is able to receive every message brodcasted. Therefor I toogled a Pin (LED1) when I receive a Message

switch (p_ble_evt->header.evt_id) {

case BLE_GAP_EVT_ADV_REPORT:
nrf_drv_gpiote_out_set(LED_4);
nrf_drv_gpiote_out_clear(LED_4);

break;

The toggled Pin is shown at the image.

At position 1 the time between the toggleed Pin is about 30ms --> Okay!

At position 2 the time between the toggleed Pin is about 60ms --> Failure?

At position 3 the time between the toggleed Pin is about 100ms --> Failure?

I expected that I get every 30ms the pin toggled. But there are bigger gaps in the image. The pin is only toogled at this line in the code. Is there anyone who knwos why this gaps appear?

image description

Related