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

Duplicating same data when interval is long

Hello,

I'm writing codes which have 1 Hz sampling rates from ADC input below.

#define SAMPLE_LEVEL_MEAS_INTERVAL     APP_TIMER_TICKS(1000, APP_TIMER_PRESCALER)

Based on my observation, the sampling rates of ADC is correct but a problem is I'm receiving BLE data at around 15 ms, which means I receive 66 - 67 of same data before the data point is changed.

Does anyone have any idea why it happens?

Parents Reply Children
No Data
Related