Skip to content

Commit

Permalink
adi/ad9084_mc.py: Triton add ADF4030 and ADF4382 devices
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Hennerich <[email protected]>
  • Loading branch information
mhennerich committed Oct 25, 2024
1 parent 0985f60 commit 7ae3044
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions adi/ad9084_mc.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from typing import Dict, List

from adi.ad9084 import ad9084
from adi.adf4030 import adf4030
from adi.attribute import attribute
from adi.context_manager import context_manager
from adi.gen_mux import genmux
Expand Down Expand Up @@ -112,6 +113,7 @@ def __init__(self, uri="", phy_dev_name=""):
self._tx_fine_duc_channel_names: List[str] = []
self._dds_channel_names: List[str] = []
self._rx_channel_names: List[str] = []
self.adf4382: List[object] = []

context_manager.__init__(self, uri, self._device_name)

Expand Down Expand Up @@ -332,9 +334,16 @@ def __init__(self, uri="", calibration_board_attached=False):
ad9084_mc.__init__(self, uri=uri, phy_dev_name="axi-ad9084-rx-hpc")
one_bit_adc_dac.__init__(self, uri)

self.adf4030 = adf4030(uri)

self._clock_chip_c = self._ctx.find_device("ltc6953_c")
self._clock_chip_f = self._ctx.find_device("ltc6953_f")

self.adf4382.append(self._ctx.find_device("adf4382_0"))
self.adf4382.append(self._ctx.find_device("adf4382_1"))
self.adf4382.append(self._ctx.find_device("adf4382_2"))
self.adf4382.append(self._ctx.find_device("adf4382_3"))

self._rx_dsa0 = self._ctx.find_device("dsa0")
self._rx_dsa1 = self._ctx.find_device("dsa1")
self._rx_dsa2 = self._ctx.find_device("dsa2")
Expand Down

0 comments on commit 7ae3044

Please sign in to comment.