From b7b9a1758079e007887dcceeb00c5d0f06d86a8d Mon Sep 17 00:00:00 2001
From: Gijs Schoonderbeek <schoonderbeek@astron.nl>
Date: Fri, 6 Jan 2023 13:44:53 +0100
Subject: [PATCH] tested production_apsct on HW

---
 production_apsct.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/production_apsct.py b/production_apsct.py
index 4a48f11..10d90a4 100644
--- a/production_apsct.py
+++ b/production_apsct.py
@@ -21,9 +21,9 @@ DEBUG = False
 SET_PLL = True
 READ_LOCK = True
 READ_ALL = True
-CHECK_EEPROM = False
+CHECK_EEPROM = True
 PWR_RST = False  # True
-READ_SENSOR = False  # True
+READ_SENSOR = True
 READ_REGS = False  # True
 
 CLK_FREQ = '200MHz'
@@ -43,14 +43,14 @@ if SET_PLL:
     apsct.set_apsct(CLK_FREQ)
 
 if READ_LOCK:
-    apsct.pll_200.read_lol()
+    apsct.pll_200.read_lock()
 
 if READ_REGS:
     apsct.pll_200.read_all_regs_pll()
 
 if READ_ALL:
     apsct.pll_200.read_all_regs_pll()
-    apsct.pll_160.read_all_regs_pll()
+#    apsct.pll_160.read_all_regs_pll()
     apsct.read_IO_expanderis()
 
 if READ_SENSOR:
-- 
GitLab