aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/test_lmk.py
blob: db957abb6b5d6e63d812c1ad5d2e9884d909de28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env python3
#
# Copyright 2017 Ettus Research, a National Instruments Company
#
# SPDX-License-Identifier: GPL-3.0-or-later
#

import libpyusrp_periphs as p

dev = p.n3xx.periph_manager("/dev/spidev1.0")
lmk = dev.get_clock_gen()
lmk.verify_chip_id()