I recently purchased a LimeSDR mini. LimeQuickTest is failing with:
TuneVCO(CGEN) - failed to lock (cmphl!=3)
SetFrequencyCGEN(61.44 MHz) failed
Does anyone have any suggestions for how to troubleshoot this? If not, is the board itself potentially eligible for an RMA? (I purchased it on October 20.)
Here’s what I’ve tried so far:
LimeUtil --update
Installed a fresh copy of the OS with the latest packages from Lime Suite - Myriad-RF Wiki and retried the test
Hi, I assume you have LimeSDR Mini v2, in that case your LimeSuite version is too old, it did not have support for the v2 board, so that’s why the test fails.
You should be using version at least 23.11.0
Thank you for looking so quickly, especially on a holiday!
Hi, I assume you have LimeSDR Mini v2
You are correct! Sorry about that.
You should be using version at least 23.11.0
Great catch; you’re right! I attempted to add the myriadrf PPA but, because I was not on a supported OS version, the package manager fell back to the distribution version.
I built 23.11.0 from source, ran LimeUtil --update, and I’m still having the same issue. Do you know what else I might be doing wrong? Here’s the new output:
# LimeQuickTest
[ TESTING STARTED ]
->Start time: Wed Jan 1 18:18:53 2025
->LimeSuite version: 23.11.0-gc2d9e877
->Device: LimeSDR Mini, media=USB 3.0, module=FT601, addr=24607:1027, serial=1DA1467419856E, HW=7, GW=2.2
Serial Number: 1DA1467419856E
Chip temperature: 23 C
[ Clock Network Test ]
->REF clock test
Test results: 36136; 39066; 41889 - PASSED
->VCTCXO test
Results : 6710989 (min); 6711024 (max) - PASSED
->Clock Network Test PASSED
[ FPGA EEPROM Test ]
->Read EEPROM
FPGA EEPROM not supported in v2
->FPGA EEPROM Test PASSED
[ LMS7002M Test ]
->Perform Registers Test
->External Reset line test
Reg 0x20: Write value 0xFFFD, Read value 0xFFFD
Reg 0x20: value after reset 0x0FFFF
->LMS7002M Test PASSED
[ RF Loopback Test ]
->Configure LMS
TuneVCO(CGEN) - failed to lock (cmphl!=3)
SetFrequencyCGEN(61.44 MHz) failed
TuneVCO(CGEN) - failed to lock (cmphl!=3)
SetFrequencyCGEN(122.88 MHz) failed
Failed to set sample rate
->RF Loopback Test FAILED
=> Board tests FAILED <=
Elapsed time: 1.10 seconds
Were there any modifications done to the board? Are you using external reference clock?
Test log shows that the board is functioning, only the clock generator tuning is failing. That could happen if there would be a mismatch between what the software is expecting from reference clock (40MHz) and the actual board’s reference clock.
@andrewback based on Ricard’s analysis, do you expect the 90-day board product warranty to apply here? (I am not using an external clock nor have I modified the board.) If so, is there a process that I should follow?
I think it should be RMA’d, in this case there’s nothing that software could do. The cause is most likely hardware related, but to verify it would require tools, I suspect something is wrong with the reference clock. The reference clock test only indicates that it is active, but cannot verify it’s actual value.
The only thing software could try here, would be to run a series of tunning attempts with different expected reference clocks and see it there is any change in tuning success, but that still wouldn’t make the board work as expected, because the actual clock value would be unknown.