Skip to content
Snippets Groups Projects
Commit e32252dc authored by Paulus Kruger's avatar Paulus Kruger
Browse files

DTH don't readback freq&power

parent ba1414f6
Branches
Tags
No related merge requests found
Pipeline #85772 passed
...@@ -176,6 +176,7 @@ methods: ...@@ -176,6 +176,7 @@ methods:
driver: I2C_PU driver: I2C_PU
debug: True debug: True
instructions: instructions:
- WAIT: 5000
- APSPU_PCB_ID : Update - APSPU_PCB_ID : Update
- APSPU_PCB_version : Update - APSPU_PCB_version : Update
- APSPU_PCB_number : Update - APSPU_PCB_number : Update
......
...@@ -987,7 +987,7 @@ methods: ...@@ -987,7 +987,7 @@ methods:
- DTH1.PA_CONFIG : [0,45,0,0,125,127] - DTH1.PA_CONFIG : [0,45,0,0,125,127]
- DTH2.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] - DTH3.PA_CONFIG : [0,45,0,0,125,127]
- RCU_DTH_PWR : Update_background # - RCU_DTH_PWR : Update_background
- RCU_DTH_freq : [ - 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, 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, 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: ...@@ -1007,8 +1007,18 @@ methods:
- DTH1.Tune : [0,0] #no tuning - DTH1.Tune : [0,0] #no tuning
- DTH2.Tune : [0,0] #no tuning - DTH2.Tune : [0,0] #no tuning
- DTH3.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 - name: RCU_DTH_on
description: Switch dither source on description: Switch dither source on
driver: I2C_RCU driver: I2C_RCU
...@@ -1022,7 +1032,7 @@ methods: ...@@ -1022,7 +1032,7 @@ methods:
- DTH1.Start : [0,1,0,0,1] - DTH1.Start : [0,1,0,0,1]
- DTH2.Start : [0,1,0,0,1] - DTH2.Start : [0,1,0,0,1]
- DTH3.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 - name: RCU_DTH_off
description: Switch dither source off description: Switch dither source off
...@@ -1040,7 +1050,7 @@ methods: ...@@ -1040,7 +1050,7 @@ methods:
# - DTH1.State : [0,0] # - DTH1.State : [0,0]
# - DTH2.State : [0,0] # - DTH2.State : [0,0]
# - DTH3.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 - name: RCU_DTH_restart #restart to update frequency
driver: I2C_RCU driver: I2C_RCU
......
...@@ -873,7 +873,7 @@ methods: ...@@ -873,7 +873,7 @@ methods:
- DTH1.PA_CONFIG : [0,45,0,0,125,127] - DTH1.PA_CONFIG : [0,45,0,0,125,127]
- DTH2.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] - DTH3.PA_CONFIG : [0,45,0,0,125,127]
- RCU_DTH_PWR : Update_background # - RCU_DTH_PWR : Update_background
- RCU_DTH_freq : [ - 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, 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, 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: ...@@ -893,7 +893,16 @@ methods:
- DTH1.Tune : [0,0] #no tuning - DTH1.Tune : [0,0] #no tuning
- DTH2.Tune : [0,0] #no tuning - DTH2.Tune : [0,0] #no tuning
- DTH3.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 - name: RCU_DTH_on
description: Switch dither source on description: Switch dither source on
...@@ -903,12 +912,12 @@ methods: ...@@ -903,12 +912,12 @@ methods:
instructions: instructions:
# - RCU_DTH_config : [0,0,0] # - RCU_DTH_config : [0,0,0]
# - RCU_DTH_config: Update #debug # - RCU_DTH_config: Update #debug
- RCU_DTH_setup : 0 # - RCU_DTH_setup : 0
# - RCU_DTH_tune: Update #debug # - RCU_DTH_tune: Update #debug
- DTH1.Start : [0,1,0,0,1] - DTH1.Start : [0,1,0,0,1]
- DTH2.Start : [0,1,0,0,1] - DTH2.Start : [0,1,0,0,1]
- DTH3.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 - name: RCU_DTH_off
description: Switch dither source off description: Switch dither source off
...@@ -926,7 +935,7 @@ methods: ...@@ -926,7 +935,7 @@ methods:
# - DTH1.State : [0,0] # - DTH1.State : [0,0]
# - DTH2.State : [0,0] # - DTH2.State : [0,0]
# - DTH3.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 - name: RCU_DTH_restart #restart to update frequency
driver: I2C_RCU driver: I2C_RCU
......
...@@ -15,7 +15,7 @@ Att=[True]*3 ...@@ -15,7 +15,7 @@ Att=[True]*3
setAntmask(RCU) setAntmask(RCU)
wait_not_busy("RECVTR_translator_busy_R",10) wait_not_busy("RECVTR_translator_busy_R",10)
att=get_value(name+"_R") att=get_debug_value(name+"_R")
print("JESD old:",att[:15]) print("JESD old:",att[:15])
#for r in RCU: #for r in RCU:
...@@ -27,7 +27,7 @@ if True: ...@@ -27,7 +27,7 @@ if True:
time.sleep(0.5) time.sleep(0.5)
wait_not_busy("RECVTR_translator_busy_R",10) wait_not_busy("RECVTR_translator_busy_R",10)
att=get_value(name+"_R") att=get_debug_value(name+"_R")
print("JESD new:",att[:15]) print("JESD new:",att[:15])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment