diff --git a/pypcc/config/APSPUTR.yaml b/pypcc/config/APSPUTR.yaml index 662ef6449a1a2d043c643a645629d2520e9a5a24..07376d9c4be8bf92a74fa6a1ad6abfa7a7e31b45 100644 --- a/pypcc/config/APSPUTR.yaml +++ b/pypcc/config/APSPUTR.yaml @@ -176,6 +176,7 @@ methods: driver: I2C_PU debug: True instructions: + - WAIT: 5000 - APSPU_PCB_ID : Update - APSPU_PCB_version : Update - APSPU_PCB_number : Update diff --git a/pypcc/config/RECVTR_HB.yaml b/pypcc/config/RECVTR_HB.yaml index d53ae663bdcdfdb321ac0c042f2cbc19b9d3d4d5..3c9fe4e8db214c248d4f1489d6b507e7f04a97f3 100644 --- a/pypcc/config/RECVTR_HB.yaml +++ b/pypcc/config/RECVTR_HB.yaml @@ -987,7 +987,7 @@ methods: - DTH1.PA_CONFIG : [0,45,0,0,125,127] - DTH2.PA_CONFIG : [0,45,0,0,125,127] - DTH3.PA_CONFIG : [0,45,0,0,125,127] - - RCU_DTH_PWR : Update_background +# - RCU_DTH_PWR : Update_background - RCU_DTH_freq : [ 5, 206, 62, 32, 5, 206, 129, 255, 5, 206, 197, 172, 5, 219, 84, 32, 5, 219, 142, 159, 5, 219, 200, 236, 5, 213, 1, 96, 5, 213, 64, 143, 5, 213, 127, 140, 5, 225, 54, 96, 5, 225, 108, 47, 5, 225, 161, 204, 5, 209, 173, 208, 5, 209, 239, 87, 5, 210, 48, 172, 5, 222, 83, 80, 5, 222, 139, 119, 5, 222, 195, 108, @@ -1007,8 +1007,18 @@ methods: - DTH1.Tune : [0,0] #no tuning - DTH2.Tune : [0,0] #no tuning - DTH3.Tune : [0,0] #no tuning - - RCU_DTH_freq : Update_background +# - RCU_DTH_freq : Update _background # + - name: RCU_DTH_update + description: Read frequency and power settings back (take about a minute) + driver: I2C_RCU + mask: RCU_mask +# rw: hidden + instructions: + - RCU_DTH_PWR : Update + - RCU_DTH_freq : Update + + - name: RCU_DTH_on description: Switch dither source on driver: I2C_RCU @@ -1022,7 +1032,7 @@ methods: - DTH1.Start : [0,1,0,0,1] - DTH2.Start : [0,1,0,0,1] - DTH3.Start : [0,1,0,0,1] - - RCU_DTH_on : Update_background + - RCU_DTH_on : Update #_background - name: RCU_DTH_off description: Switch dither source off @@ -1040,7 +1050,7 @@ methods: # - DTH1.State : [0,0] # - DTH2.State : [0,0] # - DTH3.State : [0,0] - - RCU_DTH_on: Update_background + - RCU_DTH_on: Update #_background - name: RCU_DTH_restart #restart to update frequency driver: I2C_RCU diff --git a/pypcc/config/RECVTR_LB.yaml b/pypcc/config/RECVTR_LB.yaml index c3c69f7aaf7e097b49643302f942557605665403..0466961ee8707bde4028a311856a575f36ee0774 100644 --- a/pypcc/config/RECVTR_LB.yaml +++ b/pypcc/config/RECVTR_LB.yaml @@ -873,7 +873,7 @@ methods: - DTH1.PA_CONFIG : [0,45,0,0,125,127] - DTH2.PA_CONFIG : [0,45,0,0,125,127] - DTH3.PA_CONFIG : [0,45,0,0,125,127] - - RCU_DTH_PWR : Update_background +# - RCU_DTH_PWR : Update_background - RCU_DTH_freq : [ 5, 206, 62, 32, 5, 206, 129, 255, 5, 206, 197, 172, 5, 219, 84, 32, 5, 219, 142, 159, 5, 219, 200, 236, 5, 213, 1, 96, 5, 213, 64, 143, 5, 213, 127, 140, 5, 225, 54, 96, 5, 225, 108, 47, 5, 225, 161, 204, 5, 209, 173, 208, 5, 209, 239, 87, 5, 210, 48, 172, 5, 222, 83, 80, 5, 222, 139, 119, 5, 222, 195, 108, @@ -893,7 +893,16 @@ methods: - DTH1.Tune : [0,0] #no tuning - DTH2.Tune : [0,0] #no tuning - DTH3.Tune : [0,0] #no tuning - - RCU_DTH_freq : Update_background +# - RCU_DTH_freq : Update_background + + - name: RCU_DTH_update + description: Read frequency and power settings back (take about a minute) + driver: I2C_RCU + mask: RCU_mask +# rw: hidden + instructions: + - RCU_DTH_PWR : Update + - RCU_DTH_freq : Update - name: RCU_DTH_on description: Switch dither source on @@ -903,12 +912,12 @@ methods: instructions: # - RCU_DTH_config : [0,0,0] # - RCU_DTH_config: Update #debug - - RCU_DTH_setup : 0 +# - RCU_DTH_setup : 0 # - RCU_DTH_tune: Update #debug - DTH1.Start : [0,1,0,0,1] - DTH2.Start : [0,1,0,0,1] - DTH3.Start : [0,1,0,0,1] - - RCU_DTH_on : Update_background + - RCU_DTH_on : Update #_background - name: RCU_DTH_off description: Switch dither source off @@ -926,7 +935,7 @@ methods: # - DTH1.State : [0,0] # - DTH2.State : [0,0] # - DTH3.State : [0,0] - - RCU_DTH_on: Update_background + - RCU_DTH_on: Update #_background - name: RCU_DTH_restart #restart to update frequency driver: I2C_RCU diff --git a/scripts/ADC_JESDtest.py b/scripts/ADC_JESDtest.py index 1703d280dd14940d311f1ac6eae329b86d50d1f3..1db6974b022cf9fd2fd7464a03f7a751a830c1cc 100644 --- a/scripts/ADC_JESDtest.py +++ b/scripts/ADC_JESDtest.py @@ -15,7 +15,7 @@ Att=[True]*3 setAntmask(RCU) wait_not_busy("RECVTR_translator_busy_R",10) -att=get_value(name+"_R") +att=get_debug_value(name+"_R") print("JESD old:",att[:15]) #for r in RCU: @@ -27,7 +27,7 @@ if True: time.sleep(0.5) wait_not_busy("RECVTR_translator_busy_R",10) - att=get_value(name+"_R") + att=get_debug_value(name+"_R") print("JESD new:",att[:15])