myriadrf / pyLMS7002Soapy

Python bindings for LMS7002M with SoapySDR backend
Apache License 2.0
66 stars 21 forks source link

Problem reading .ini #1

Open brunaandrew opened 6 years ago

brunaandrew commented 6 years ago

Hi,

Trying to read and load config from .ini file (created via SAVE in Lime Suite - tried with "Default" config)

Always fails as per following: ......... File "C:\Program Files\PothosSDR\lib\python2.7\site-packages\SoapySDR.py", line 1606, in writeRegister return _SoapySDR.Device_writeRegister(self, *args) RuntimeError: SoapyLMS7::WriteRegister(RFIC0, 1600) FAIL

Set verbose = 1 (showed up a few separate minor issues)

The process proceeds ok until the following: ......... Writing register bank : RXGFIR3c MAC = 2 Writig register bank : RSSI_DCCAL MAC = 1 Traceback (most recent call last):.....

Failure occurs at this point...

brunaandrew commented 6 years ago

Update - traced the problem to the SoapySDR write of RSSI_DCCAL deleted RSSI_DCCAL from LMS7002_REGDESC_MR3.py and read of ini file works - while write cause error message (actual register is updated on LMS7002 chip)