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

Notification receive error

I use two nRF52840 to send notifications every second. Analysis using a logic analyzer revealed that the reception interval had strange variations. What is causing this? Why is there a gap at 1 second from the reception?

connection interval 10ms.

Parents
  • The program is based on the sample ble_app_blinky and ble_app_multilink. The connection interval defined MAX and MIN on the peripheral side.
    For the notification of every second, the timeout was set every second using app_timer.
    I also wanted to know the time it takes to send and receive, so I switched GPIOs just before the peripheral sd_ble_gatts_hvx and at the beginning of the on_hvx in the central, and observed. I wanted to check it as low as possible, but that was the limit I think.

    This graph is the time from the transmission pin to the reception pin which I set measured on the logic analyzer. The time is [ms]. I am worried about the strange law of delay.

    I'm sorry for my bad English.

Reply
  • The program is based on the sample ble_app_blinky and ble_app_multilink. The connection interval defined MAX and MIN on the peripheral side.
    For the notification of every second, the timeout was set every second using app_timer.
    I also wanted to know the time it takes to send and receive, so I switched GPIOs just before the peripheral sd_ble_gatts_hvx and at the beginning of the on_hvx in the central, and observed. I wanted to check it as low as possible, but that was the limit I think.

    This graph is the time from the transmission pin to the reception pin which I set measured on the logic analyzer. The time is [ms]. I am worried about the strange law of delay.

    I'm sorry for my bad English.

Children
No Data
Related