Good day support team,
In my project, I save the packet of 60bytes then send it via BLE with ble_nus_data_send(). (20kHz sampling rate)
I set the timer = 50us.
uint16_t count;
void timer_led_event_handler(nrf_timer_event_t event_type, void* p_context)
{
UNUSED_PARAMETER(event_type);
count++;
}
I want to check the time gap between each time BLE send. Instead of saving data, I save the count timer value then send it via BLE.

y-axis is count value with unit : 50us
x-axis is data number
I expect if ble_nus_data_send() process fast enough ( < 50us), I will see the linearity in the graph but there was delay between each packet.
The time gap I mentioned above happened random.
I appreciate any suggestion and explanation.
Thank you very much.
Best,