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

e320: Ensure GPSDO is cleanly reset upon radio power-on #757

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion mpm/python/usrp_mpm/periph_manager/e320.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import bisect
import copy
import re
import time
from functools import partial
from six import iteritems
from usrp_mpm.compat_num import CompatNumber
Expand Down Expand Up @@ -261,7 +262,11 @@ def _init_peripherals(self, args):
# Init peripherals
self._gps_enabled = None # Assume indeterminant, will latch _def_gps_enabled
self._def_gps_enabled = str2bool(args.get('enable_gps', E320_DEFAULT_ENABLE_GPS))
self.enable_gps(self._def_gps_enabled)
# Ensure clean power-on for GPS receiver
self.enable_gps(False)
if self._def_gps_enabled:
time.sleep(0.100) # held off for 100ms
self.enable_gps(True)
self.enable_fp_gpio(
enable=args.get('enable_fp_gpio', E320_DEFAULT_ENABLE_FPGPIO)
)
Expand Down
Loading