Skip to content
Snippets Groups Projects
Commit d4f5d8e5 authored by Gijs Schoonderbeek's avatar Gijs Schoonderbeek
Browse files

Added I2C-switch check

parent 2413c249
No related branches found
No related tags found
1 merge request!3Apsct production
......@@ -29,7 +29,7 @@ if len(sys.argv) < 2:
apsct = apsct_lib.ApsctClass(CLK_FREQ)
state = True
modi = ["200MHz"] # , "160MHz", "OFF"]
for mode in modi:
if False : #for mode in modi:
print(f"Check APSCT in {mode} mode")
apsct.frequency = mode
apsct.set_apsct()
......@@ -37,6 +37,8 @@ for mode in modi:
apsct.pll_160.read_lock()
apsct.sensors.apsct_sensors()
state = state & apsct.check_apsct()
apsct.sensors.apsct_sensors()
state = state & apsct.check_apsct()
if READ_ALL:
apsct.pll_200.read_all_regs_pll()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment