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

yaml update

parent 0c00cd3f
No related branches found
No related tags found
1 merge request!11Pypcc2
......@@ -135,6 +135,7 @@ methods:
- IO1.CONF1: 0x2C #0010 1100 PPS/PWR output, SCLK,CS,SDI
- IO1.GPIO1: 0x00 #all low
- CLK_Enable_PWR: Update
- CLK_PLL_locked: Update
- name: CLK_PLL_setup
driver: I2C_CLK
......
......@@ -158,7 +158,9 @@ device_registers:
- name: JESD_control1
description: JESD link control
address: 0x5F
- name: CML_adjust
- name: SYNC_control
address: 0x3A
- name: CML_level
description: CML output adjust
address: 0x15
- name: Update
......@@ -344,9 +346,18 @@ variables:
rw: ro
dtype: uint8
dim: 96
mask: RCU_I2C_STATUS
monitor: true
- name: RCU_ADC_sync
description: 0x81=locked
driver: I2C_RCU
devreg: [ADC1.SYNC_control,ADC2.SYNC_control,ADC3.SYNC_control]
width: 8
rw: ro
dtype: uint8
dim: 96
debug: true
# - name: RCU_dth1_freq
# driver: I2C_RCU
# devreg: [DTH1.Freq,DTH2.Freq,DTH3.Freq]
......@@ -413,6 +424,7 @@ methods:
- RCU_attenuator: Update
- RCU_band: Update
- RCU_ADC_lock: Update
- RCU_ADC_sync: Update
- name: ADC1_on
......@@ -446,6 +458,8 @@ methods:
- ADC3.Update: 1 #Needed to update ADC registers
- name: RCU_off
driver: I2C_RCU
mask: RCU_mask
instructions:
- RCU_Pwr_dig: 0 #Switch power off
- IO2.GPIO1: 0
......@@ -454,6 +468,7 @@ methods:
- IO3.GPIO2: 0
- IO1.GPIO1: 0
- IO1.GPIO2: 0
- RCU_update: 0
#todo, also make all GPIO pins (except power enables) inputs to remove all power from devices.
- name: RCU_HBAT_WAIT_PPS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment