I have been working on a C++ device driver that utilizes the libbladeRF library to control the bladeRF.
When trying to implement the synchronous transfer interafce, I am seeing an unexpected transmission from the bladerf whenever I execute the bladerf_enable_module command for the TX module. My sequence of events is as follows:
- run bladerf_sync_config
- run bladerf_enable_module
- check if there is data to be transferred and, if so,
- run bladerf_sync_tx to transfer said data.
I tested the code without any test data to ensure it was configuring properly, and I saw a peak on my spectrum analyzer at the set frequency. I hooked the bladeRF up to an oscilloscope and it showed that the signal was a sine wave at the carrier frequency. Is it an expected behavior for the bladeRF to transmit an unmodulated carrier signal if the TX module has been enabled but the bladerf_sync_tx command is not called to specify a data buffer to transmit? Or is there something I am missing here?
thanks!
-jimmy37
Sync TX Trouble
-
- Posts: 455
- Joined: Thu Jun 06, 2013 8:15 pm
Re: Sync TX Trouble
Code: Select all
Is it an expected behavior for the bladeRF to transmit an unmodulated carrier signal if the TX module has been enabled but the bladerf_sync_tx command is not called to specify a data buffer to transmit?
Cheers,
Jon