From 7222862310931f7dd1a15dd6647b910a5b77298c Mon Sep 17 00:00:00 2001
From: Paulus <kruger@astron.nl>
Date: Fri, 17 Mar 2023 17:17:27 +0000
Subject: [PATCH] update RECVTR_LTS config

---
 pypcc/config/RECVTR_LTS.yaml | 29 ++++++++++++++++++-----------
 1 file changed, 18 insertions(+), 11 deletions(-)

diff --git a/pypcc/config/RECVTR_LTS.yaml b/pypcc/config/RECVTR_LTS.yaml
index 9b83575..da056b0 100644
--- a/pypcc/config/RECVTR_LTS.yaml
+++ b/pypcc/config/RECVTR_LTS.yaml
@@ -308,7 +308,7 @@ variables:
      rw:  ro
      dtype: double
      dim: 32
-     monitor: true
+#     monitor: true
      read_parallel: true
      mask: RECVTR_I2C_error
 
@@ -322,7 +322,7 @@ variables:
      dtype: double
      dim: 32
      read_parallel: true
-     monitor: true
+#     monitor: true
      mask: RECVTR_I2C_error
 
    - name: RCU_PWR_1V8
@@ -335,7 +335,7 @@ variables:
      dtype: double
      dim: 32
      read_parallel: true
-     monitor: true
+#     monitor: true
      mask: RECVTR_I2C_error
 
    - name: RCU_PWR_2V5
@@ -348,7 +348,7 @@ variables:
      dtype: double
      dim: 32
      read_parallel: true
-     monitor: true
+#     monitor: true
      mask: RECVTR_I2C_error
 
    - name: RCU_PWR_ANT_VOUT
@@ -363,7 +363,7 @@ variables:
      dim: 96
      dim2: [3,32]
      read_parallel: true
-     monitor: true
+#     monitor: true
      mask: RECVTR_I2C_error
 
    - name: RCU_PWR_ANT_VIN
@@ -378,7 +378,7 @@ variables:
      dim: 96
      dim2: [3,32]
      read_parallel: true
-     monitor: true
+#     monitor: true
      mask: RECVTR_I2C_error
 
    - name: RCU_PWR_ANT_IOUT
@@ -392,7 +392,7 @@ variables:
      dim: 96
      dim2: [3,32]
      read_parallel: true
-     monitor: true
+#     monitor: true
      mask: RECVTR_I2C_error
 
    - name: RCU_PWR_DIGITAL_on
@@ -415,7 +415,7 @@ variables:
      rw:  ro
      dtype: boolean
      dim: 32
-     monitor: true
+#     monitor: true
      mask: RECVTR_I2C_error
 
    - name: RCU_PWR_ANALOG_on
@@ -473,6 +473,7 @@ variables:
      dtype: string
      dim: 32
      mask: RCU_mask
+     check_value: RCU2L
 
    - name: RCU_PCB_number
      description: PCB number (astron.nl/webforms/IenS-Boarden/view.php?id=xxx)
@@ -518,6 +519,7 @@ variables:
      dim: 96
      dim2: [3,32]
 #     debug: true
+     mask: ANT_mask
 
    - name: RCU_ADC_JESD
      driver: I2C_RCU
@@ -636,7 +638,7 @@ methods:
     - IO3.CONF1: Update
     - RCU_update: 0
     - RCU_ADC_locked: Update #check if not also in RCU_update
-    - RCU_DTH_on: Update #check if not also in RCU_update
+#    - RCU_DTH_on: Update #check if not also in RCU_update
 
   - name: RCU_on
     description: Initialize RCU and it in the ON state
@@ -644,6 +646,7 @@ methods:
     mask: RCU_mask
     instructions:
      - RECVTR_I2C_error: 0
+     - RCU_PCB_version: Update
      - IO2.CONF1: 0x80 #Pgood on 0x80
      - IO2.GPIO1: 0x4A #0x40 Dig on, 0x0a =10dB att
      - IO2.GPIO2: 0x55 #0x15 #Band0 (or 0x2a band 1)  #LED green=on=low
@@ -656,6 +659,10 @@ methods:
      - IO3.CONF2: 0
      - IO3.DIR1: 0
      - IO3.DIR2: 0
+     - IO2.DIR1: 0
+     - IO2.DIR2: 0
+     - IO1.DIR1: 0
+     - IO1.DIR2: 0
      - IO1.CONF1: 0
      - IO1.CONF2: 0
 #     - RCU_GPIO1: Update
@@ -697,8 +704,8 @@ methods:
       - RCU_attenuator_dB: Update
       - RCU_band_select: Update
       - RCU_ADC_testmode: Update
-#      - RCU_ADC_locked: Update #disabled for testing
-#      - RCU_ADC_sync: Update #disabled for testing
+      - RCU_ADC_locked: Update #disabled for testing
+      - RCU_ADC_sync: Update #disabled for testing
 #      - RCU_DTH_shutdown: Update
 #      - RCU_DTH_freq: Update
 #      - RCU_DTH_on: Update #disabled for testing
-- 
GitLab