02-05-2025 02:41 AM
Hello
I've recently run the uhd_power_cal.py script to calibrate the RX paths of a B200mini using a calibrated signal generator.
It generated two files, saved at /home/username/.local/share/uhd/cal:
- b2xxmini_pwr_rx_rx2_33ECA1A#A.cal
- b2xxmini_pwr_rx_tx+rx_33ECA1A#A.cal
Using python, I have the following code:
print(f"RX info: {usrp.get_usrp_rx_info()}")
This returns the following:
RX info: {'mboard_id': 'B200mini', 'mboard_name': 'B200mini', 'mboard_serial': '33ECA1A', 'module_serial': '33ECA1A', 'rx_antenna': 'TX/RX', 'rx_id': 'Unknown (0xffff)', 'rx_ref_power_key': 'b2xxmini_pwr_rx_tx+rx', 'rx_ref_power_serial': '33ECA1A#A', 'rx_serial': '', 'rx_subdev_name': 'FE-RX1', 'rx_subdev_spec': 'A:A'}
Running the following functions return false however.
usrp.has_rx_power_reference()
uhd.usrp.cal.database.has_cal_data('b2xxmini_pwr_rx_tx+rx', '33ECA1A#A'):
07-21-2025 06:25 AM
Hi,
I am working on something very similar.
The has_rx_power_reference() is only supported by very few devices, the b2x0 series is not supporting this which is why you get an error 'false/not supported'.
Also if you are using the UHD Python API, cal.database is not implemented. No idea why.
I am also stuck in using these calibration files. They can be generated but it seems impossible to load them in an easy way.