I am porting an application to the BladeRF, and I have the next limitation:
My application absolutely needs to be aware when a Tx buffer under-run occured. In that case, the transmission must be aborted and restarted.
I found this in the libbladeRF.h:
Code: Select all
/** * A sample underrun has occurred. This generally only occurrs on the TX module * when the FPGA is starved of samples. * [b] * @note libbladeRF does not report this status. It is here for future use.[/b] */ #define BLADERF_META_STATUS_UNDERRUN (1 << 1)
Q1: Will this be supported anytime soon?
Q2: Is there another way to track buffer under-runs?
I know that LED3 turns off on when a under-run occurs, so I suppose there might be a status register in the FPGA that indicates a under-run occurred. If this is the case, is there a way to read that status register from user space?
I'm using release 2015.07 and FPGA hostedx40-034.rbf