RFOXiA LogoRFOXiA Club
← Back to DevHub

MultiNav Pro+ BLE + sensors module - anyone tried syncing timestamps between them?

Amber BowmanJune 12, 2026
So I'm building a data logging setup where I want to pair the BLE module with the sensors module and stream everything - IMU, temp, pressure, the works - over BLE to a base station. My issue is timing. The sensor samples need to be timestamped accurately on the device side before they go out over BLE, and I'm trying to figure out if theres a clean way to get both modules working off the same time reference. Right now I'm just using the MCU's internal clock to stamp everything but I'm worried about drift over long sessions (we're talking 6-8 hour deployments).
💬 2 replies👍 0 likes👁 0 views

💬 Want to join this discussion?

Join the Community on RFOXiA Club →

Replies

AdamJune 12, 2026
@Amber Bowman yeah this is a real problem for long deployments — the STM32WB's internal RC oscillator can drift noticeably over 6-8 hours without some kind of correction anchor, so your instinct to worry about it is right.
 
The cleanest solution I've seen for this kind of setup is to use the GNSS module as your time reference — it's already outputting a PPS signal and UTC timestamps, so if you're logging outdoors anyway you can sync your MCU clock against that periodically and correct for drift rather than just trusting the free-running clock. Even a sync every few minutes keeps you tight enough for most sensor fusion work.
 
If GNSS isn't in the picture, the other option is to do periodic timestamp corrections from the base station side over BLE — basically have the base station broadcast a reference time every N seconds and have the device apply a small correction offset, which works reasonably well as long as your BLE connection is stable and you account for the transmission latency in your correction math.
 
Either way I'd also recommend logging a monotonic counter alongside your wall-clock timestamps so you can reconstruct timing post-hoc if something does drift — gives you a fallback for data recovery on long sessions.
Marie HortonJune 12, 2026
Ran into this exact headache on a similar logging build - what worked for me was using a hardware timer peripheral as the shared timebase and having both modules latch timestamps against that rather than relying on the soft clock, which drifts more than you'd expect under BLE TX load. If your MCU has a free-running 32-bit timer you can just leave it rolling and reference everything against that counter value, then do any wall-clock conversion on the base station side where you have more breathing room. The BLE connection interval jitter is honestly your bigger enemy once you sort the timestamp side of things, so worth logging the sequence numbers too so you can detect drops.

💬 Want to join this discussion?

Join the Community on RFOXiA Club →