diff --git a/production_apsct.py b/production_apsct.py index a55d7dee8a724aac5c2e082e8064f6bf59873a7f..e74fc0a29ce924796cdcd2162f402031f594aea0 100644 --- a/production_apsct.py +++ b/production_apsct.py @@ -16,6 +16,7 @@ Check APSCT_CLK """ import apsct_lib import sys +import time READ_ALL = False # True @@ -33,6 +34,7 @@ for mode in modi: print(f"Check APSCT in {mode} mode") apsct.frequency = mode apsct.set_apsct() + time.sleep(1) if mode == "200MHz": state = state & apsct.pll_200.read_lock() if mode == "160MHz": @@ -40,6 +42,7 @@ for mode in modi: apsct.frequency = "200MHz" apsct.set_apsct() +time.sleep(1) apsct.pll_200.read_lock() apsct.sensors.apsct_sensors() state = state & apsct.check_apsct() @@ -55,6 +58,7 @@ if state: rw_ok = apsct.eeprom.wr_rd_eeprom(apsct_id, address=0) if rw_ok: rw_ok = apsct.eeprom.wr_rd_eeprom(serial, address=0x20) + print("APSCT tested successfully ") if not rw_ok: print("EEPROM Error") else: