Flushing USB buffer

Having issues with the site, hardware, source code, or any other issues?
Post Reply
beMet
Posts: 5
Joined: Tue Jun 21, 2022 4:24 am

Flushing USB buffer

Post 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
Post Reply