will127534 / LoRa-concentrator

A simple Board for SX1301 and SX125X LoRa Gateway / Concentrator
MIT License
337 stars 123 forks source link

Calibration Failure, Status =7 #37

Open hatefdm opened 5 years ago

hatefdm commented 5 years ago

Hi I'm facing Calibration Failure, Status =7 when running test_loragw_cal with the following result, so the concentrator does not start.

Library version information: Version: 5.0.1; Radio type: 2 Radio A frequency: 867.500000 MHz Radio B frequency: 868.500000 MHz Number of calibration iterations: 5 Calibration command: brd: 0, chip: 1257, dac: 3

WARNING: problem in calibration of radio A for image rejection WARNING: Calibration not finished Rx A IQ mismatch: Amp: 0 Phi: 0 Rej: 0 dB Status: 7 | Debug: Rej: 0 dB Lna: 0 BB: 0 Dec: 0 WARNING: problem in calibration of radio A for image rejection WARNING: Calibration not finished Rx A IQ mismatch: Amp: 0 Phi: 0 Rej: 0 dB Status: 7 | Debug: Rej: 0 dB Lna: 0 BB: 0 Dec: 0 WARNING: problem in calibration of radio A for image rejection WARNING: Calibration not finished Rx A IQ mismatch: Amp: 0 Phi: 0 Rej: 0 dB Status: 7 | Debug: Rej: 0 dB Lna: 0 BB: 0 Dec: 0 WARNING: problem in calibration of radio A for image rejection WARNING: Calibration not finished Rx A IQ mismatch: Amp: 0 Phi: 0 Rej: 0 dB Status: 7 | Debug: Rej: 0 dB Lna: 0 BB: 0 Dec: 0 WARNING: problem in calibration of radio A for image rejection WARNING: Calibration not finished Rx A IQ mismatch: Amp: 0 Phi: 0 Rej: 0 dB Status: 7 | Debug: Rej: 0 dB Lna: 0 BB: 0 Dec: 0

WARNING: problem in calibration of radio B for image rejection WARNING: Calibration not finished Rx B IQ mismatch: Amp: 0 Phi: 0 Rej: 0 dB Status: 7 | Debug: Rej: 0 dB Lna: 0 BB: 0 Dec: 0 WARNING: problem in calibration of radio B for image rejection WARNING: Calibration not finished Rx B IQ mismatch: Amp: 0 Phi: 0 Rej: 0 dB Status: 7 | Debug: Rej: 0 dB Lna: 0 BB: 0 Dec: 0 WARNING: problem in calibration of radio B for image rejection WARNING: Calibration not finished Rx B IQ mismatch: Amp: 0 Phi: 0 Rej: 0 dB Status: 7 | Debug: Rej: 0 dB Lna: 0 BB: 0 Dec: 0 WARNING: problem in calibration of radio B for image rejection WARNING: Calibration not finished Rx B IQ mismatch: Amp: 0 Phi: 0 Rej: 0 dB Status: 7 | Debug: Rej: 0 dB Lna: 0 BB: 0 Dec: 0 WARNING: problem in calibration of radio B for image rejection WARNING: Calibration not finished Rx B IQ mismatch: Amp: 0 Phi: 0 Rej: 0 dB Status: 7 | Debug: Rej: 0 dB Lna: 0 BB: 0 Dec: 0

Tx A calibration bypassed

Tx B calibration bypassed

Rx A IQ mismatch calibration statistics on 5 iterations (min, max): Amp: 0 0 Phi: 0 0 Rej: 0 0 dB (capt.: 0 0 dB)

Rx B IQ mismatch calibration statistics on 5 iterations (min, max): Amp: 0 0 Phi: 0 0 Rej: 0 0 dB (capt.: 0 0 dB)

End of radio calibration test

I've run util_spi_stress successfully for multiple hours. We have ordered the bare PCB and assembled the board. Any ideas what the problem can be?

will127534 commented 5 years ago

You might want to double-check the connection between SX1257 and SX1301/1308 Moreover, make sure that the 32Mhz TCXO clock is running, and the power is stable (Note: util_spi_stress doesn't really power-up the power-hungry stuff )