Page 1 of 1

Flushing USB buffer

Posted: Wed May 03, 2023 11:24 pm
by beMet
Hello everyone,

is there a way to flush the allocated usb buffer without calling bladerf_enable_module()?

In my setup, I am using triggers to synchronize the RF samples with another measurement. This works nicely when I call bladerf_enable_module(enabled=False) and later bladerf_enable_module(enabled=True) after each sequence of received data.
Without calling it, i am getting jitter in the synchronization. I guess it is due to partially filled usb buffers that are not transferred yet.

My problem is that with calling bladerf_enable_module(), the phase relation in my signal get lots, which is required.

Many thanks!
bemet