Code: Select all
# ./bladeRF/linux/apps/bin/bladeRF-cli -d /dev/bladerf0 -l hostedx40.rbf -s setup.txt -b
Loading fpga...
Done.
Set RX frequency: 1000000000Hz
Set TX frequency: 1000000000Hz [b][u]#Here set the center frequency of 1GHz[/u][/b]
Setting RX sample rate - req: 10000000Hz, actual: 10000000Hz
Setting TX sample rate - req: 10000000Hz, actual: 10000000Hz
Set RX bandwidth - req: 28000000Hz actual: 28000000Hz
Set TX bandwidth - req: 28000000Hz actual: 28000000Hz
Set TXVGA1 to -14
RX Frequency: 1228800000Hz [b][u]#But here print center frequency is 1.228GHz ,why?[/u][/b]
TX Frequency: 1228800000Hz
RX sample rate: 10000000
TX sample rate: 10000000
RX Bandwidth: 1500000Hz
TX Bandwidth: 1500000Hz
tx config file=samples.txt format=csv repeat=1 delay=0
tx start
Another question:
I tried to set up a simple block diagram in gnuradio-companion using an osmocom sink block and sine source block, But there was a problem:"RuntimeError: set_sample_rate failure due to device not being open Failed to read samples: File or device I/O failure". Any idea why this would be, or are there detailed instruction on how to set up the osmocom source block to work with bladeRF?
thanks.