Skip to content
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

NCO can't be set to zero on LimeSDR #68

Closed
mntnmn opened this issue Sep 28, 2017 · 7 comments
Closed

NCO can't be set to zero on LimeSDR #68

mntnmn opened this issue Sep 28, 2017 · 7 comments
Labels
Milestone

Comments

@mntnmn
Copy link

mntnmn commented Sep 28, 2017

I just rebuilt and now get the message "could not disable and set NCO to 0 Hz". It gets stray numbers stuck in there. I have upgraded LimeSDR firmware and LimeSuite also.

@mntnmn
Copy link
Author

mntnmn commented Sep 28, 2017

I rebuilt LimeSuite, SoapySDR ans SDRAngel again with a sudo ldconfig at the end and I still get the same messages about the NCO but it seems to be working now.

@f4exb
Copy link
Owner

f4exb commented Sep 29, 2017

SoapySDR does not come into play SDRangel uses LimeSuite directly. The latest version of LimeSuite (17.09.1) seems to fix a few bugs. Normally this sort of message is issued because of a bad return code from a LimeSuite function.

@mntnmn
Copy link
Author

mntnmn commented Sep 29, 2017

I grepped LimeSuite and SDRAngel code for the messages and found one at line 63 in devicelimesdr.cpp.
The "could not disable and set NCO to 0 Hz" seems to be from limesdrinput but I haven't found it. I would guess that the device one triggered the input one.
It may be that LimeSuite has changed something again.

@f4exb
Copy link
Owner

f4exb commented Sep 30, 2017

Actually a better way to enable/disable the NCO would be using the CMIX_BYP_RXTSP flag like:

LMS_WriteParam(device,LMS7param(CMIX_BYP_RXTSP),1);

Similarly CMIX_BYP_TXTSP constrols the NCO on the Tx side

@mntnmn
Copy link
Author

mntnmn commented Sep 30, 2017

This minor bug has gotten me to use the NCO all of the time. I just set the LO for something nearby and set the NCO to the interesting frequency. That way the DC is shifted out of view when I zoom in on the interesting frequency, but all of the offsets in the plugins stay zero.

@f4exb f4exb added the bug label Sep 30, 2017
@f4exb f4exb added this to the v3.7.3 milestone Sep 30, 2017
@f4exb
Copy link
Owner

f4exb commented Sep 30, 2017

It looks like using LMS_WriteParam would fix the problem.

@f4exb
Copy link
Owner

f4exb commented Oct 4, 2017

Fixed in v3.7.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants