LimeSDR XTRX RF Test failure

Hi everyone,

I’m having the following error when using limeOEM --test:

pi@cm4-dev bin % ./limeOEM --test
Board serial number: 0 (0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 )
=== LimeSDR-XTRX OEM Test ===
  === PCIe Reference clock ===
    results: 19109; 20671; 22233
  === PCIe Reference clock - PASSED ===

  === VCTCXO ===
    Count : 2606143 (min); 2606172 (max)
  === VCTCXO - PASSED ===

  === GNSS ===
  === GNSS - PASSED ===

  === LMS7002M ===
    Registers test
    Registers test PASSED
    External Reset line test
      Reg 0x20: Write value 0xFFFD, Read value 0xFFFD
      Reg 0x20: value after reset 0x0FFFF
  === LMS7002M - PASSED ===

  === RF ===
    ->Configure LMS
    ->Init Done
    === TX_2->LNA_L ChA ===
    === TX_2->LNA_L ChA - FAILED (RF FAILED, expected(-8.00 dbFS @ 5.000MHz), got(-58.09 dbFS @30.720MHz)) ===

    === TX_2->LNA_L ChB ===
terminate called without an active exception
zsh: abort      ./limeOEM --test

Using LimeSuiteNG at Git hash 8a5cfc6bdb, and CM4 IO board as a host system with dtoverlay=pcie-32bit-dma overlay. The firmware of XTRX is the one it came with from CrowdSupply.

Is it a mismatch of firmware and software? Shall I try flashing an update? Or is the error is caused by something else?

The full device information:

pi@cm4-dev bin % ./limeDevice --full
Found 1 device(s) :
0: LimeXTRX0, media=PCIe, addr=/dev/LimeXTRX0_control, serial=0000000000000000
	Expansion name		: UNSUPPORTED
	Firmware version	: 1
	Gateware version	: 1
	Gateware revision	: 8
	Gateware target board	: LimeSDR XTRX
	Hardware version	: 0
	Protocol version	: 1
	Serial number		: 0
	SPI slave devices	:
				  FPGA
				  LMS7002M
	Memory devices		:
				  FPGA FLASH
	GPS Lock:
		GPS - Undefined
		Glonass - Undefined
		Galileo - Undefined
		Beidou - Undefined

If it is a matter of firmware update, maybe someone can confirm the proper file an command for it? Would be good to avoid JTAG recovery if possible :slight_smile:

P.S. The actual reason I’ve started looking into the self-test is because so far I hasn’t been able to see a signal from samples received from the XTRX. The data from XTRX is streaming, you can see a peak in FFT at the LO, but the rest is as if antenna is not attached and you’re looking at a noise floor.

Tagging @ricardas.