-
Notifications
You must be signed in to change notification settings - Fork 673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not find appropriate gain for performing ADC self cal #830
Comments
@zhouzhiwen2000 Thanks for reporting. This is not a generic issue with our code but it is specific to your device. Unfortunately, chances are high that you need to contact support for RMA, but let's check if this is an intermittent issue: Explanation: I'm closing this issue as it doesn't seem to be related to the UHD code. Please feel free to re-open if you come to different conclusions. |
Strangely, I rolled back to UHD_4.3.0.0-0-g1f8fd345, works without a problem. UHD 4.7.0.0 works fine as well after flashing the FPGA and executing uhd_usrp_probe, it only occurs when loading the image. Unfortunately, Labview loads FPGA image every time and this error is reported. I rolled back Labview 2022 and everything works, Labview 2024 doesn't. So I still think it's on the software side. |
I think there's still a bit more to it: With UHD 4.5 we've changed the ADC self-cal strategy in our X4xx platform to accommodate the needs of X440 with its master clock rate flexibility. Before 4.5 we only performed the ADC self-cal silently during device startup. There used to be a service (service name: usrp-adc-self-cal) that was started immediately after MPM (service name: usrp-hwd). After the startup we considered the calibration to be "good enough" and didn't touch it anymore during operation. With X440 that was not possible anymore and so we started running the ADC self-cal after each clocking change, e.g. changed master clock rate or changed clock- or time-source. A bitfile update is considered as such a clocking change. Therefore, starting from UHD 4.5 you will see the ADC self-cal running here and there. For X440 this improves the spur surpression a lot, in X410 it still improves it a bit compared to the old approach. What does that mean for you: The issue is most likely there in UHD 4.3, too, it is just hidden. You can check the log of the self-cal service in UHD 4.3 by running |
Thank you for replying, there is indeed a issue with the second channel, we are contacting out distributor for support. |
The repair is rather expensive, is there any suggestions on fixing it ourselves? Since the schematic is open https://files.ettus.com/schematics/x4x0/x410-zbx.pdf, and it seems to be a simple amplifier problem. |
Issue Description
I am using UHD 4.7.0.0 for USRP X410. When loading the FPGA image, runtime error occurs: Could not find appropriate gain for performing ADC self cal.
Setup Details
| | Mboard: ni-x4xx-*********
| | module_pid: 42000
| | module_rev: 4
| | module_serial: *********
| | pid: 1040
| | rev: 6
| | rev_compat: 6
| | serial: *********
| | MPM Version: 5.3
| | FPGA Version: 8.3
| | FPGA git hash: c37b318.clean
| | Device DNA: 40020000014D9******************
| | RFNoC capable: Yes
Expected Behavior
No error occurs
Actual Behaviour
[INFO] [0/Radio#0] Clocking reconfigured, running ADC Self Cal on DB0...
[INFO] [0/Radio#0] Calibrating channel 0...
[INFO] [0/Radio#0] Calibrating channel 1...
[ERROR] [RFNOC::GRAPH] Error during initialization of block 0/Radio#0!
[ERROR] [RFNOC::GRAPH] Caught exception while initializing graph: RuntimeError: Could not find appropriate gain for performing ADC self cal
Error: RuntimeError: Failure to create rfnoc_graph.
Steps to reproduce the problem
Flash the latest filesystem, reboot.
uhd_image_loader --args type=x4xx,addr=127.0.0.1,fpga=X4_200
Additional Information
The text was updated successfully, but these errors were encountered: