myriadrf / LimeSuite

Driver and GUI for LMS7002M-based SDR platforms
https://myriadrf.org/projects/lime-suite/
Apache License 2.0
468 stars 184 forks source link

timestamps always enabled #219

Closed lryindra closed 5 years ago

lryindra commented 6 years ago

Streamer::UpdateThreads always enabled SYNCH_DIS from register 0x0008 in the LimeSDR-Mini Gateway FPGA. SYNCH_DIS enables or disables packet synchronization using timestamps. Register 0x0008 is the DIQ interface control.

I expect this setting to be controlled by waitForTimestamp in lms_stream_meta_t.

IgnasJarusevicius commented 5 years ago

It is correct behavior. SYNCH_DIS should always be 0 under normal circumstances and packet synchronization should be controlled by a flag (set by waitForTimestamp) in stream packet header. SYNCH_DIS=1 is only for debugging in case we suspect that sync flag gets corrupted or is not interpreted correctly by FPGA.