diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-08-04 13:18:31 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:04:00 -0800 |
commit | a2f0269a1e73b1464265884b73a0ca39a8d01fc0 (patch) | |
tree | e0d4b98ba594372f0bc13d7903931e44b44c7d9d /mpm/python | |
parent | 5897780896696ae9dbcd50f9f0aaccc587ea81c6 (diff) | |
download | uhd-a2f0269a1e73b1464265884b73a0ca39a8d01fc0.tar.gz uhd-a2f0269a1e73b1464265884b73a0ca39a8d01fc0.tar.bz2 uhd-a2f0269a1e73b1464265884b73a0ca39a8d01fc0.zip |
mpm: n3xx: Change default state for TCA GPIOs
This makes the GPS reset go high by default (i.e., takes it out of reset
by default) and the init survey pin go high (i.e., take it out of survey
mode).
Diffstat (limited to 'mpm/python')
-rw-r--r-- | mpm/python/usrp_mpm/periph_manager/n310.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/n310.py b/mpm/python/usrp_mpm/periph_manager/n310.py index aed76c596..695a4573b 100644 --- a/mpm/python/usrp_mpm/periph_manager/n310.py +++ b/mpm/python/usrp_mpm/periph_manager/n310.py @@ -71,7 +71,9 @@ class TCA6424(object): ) def __init__(self): - self._gpios = SysFSGPIO('tca6424', 0xFFE7FF, 0x86E7FF, 0x1) + # Default state: Turn on GPS power, take GPS out of reset or + # init-survey, turn on 156.25 MHz clock + self._gpios = SysFSGPIO('tca6424', 0xFFE7FF, 0x86E7FF, 0x860001) def set(self, name, value=None): """ |