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

ADC preemp added

parent 9b509e5e
Branches
No related tags found
No related merge requests found
Pipeline #90240 passed
......@@ -200,6 +200,9 @@ device_registers:
- name: CML_level
description: CML output adjust
address: 0x15
- name: PREEM
description: Set Peemphasis on
address: 0xA8
- name: Update
description: Global device uptate
address: 0xFF
......@@ -612,6 +615,16 @@ variables:
dim2: [3,32]
debug: true
- name: RCU_ADC_PREEM
driver: I2C_RCU
devreg: [ADC1.PREEM,ADC2.PREEM,ADC3.PREEM]
width: 8
rw: ro
dtype: uint8
dim: 96
dim2: [3,32]
debug: true
- name: RCU_DTH_freq
description: RCU Dither source frequency (Hz). Should be around 102MHz.
driver: I2C_RCU
......@@ -913,7 +926,8 @@ methods:
instructions:
- ADC1.JESD_control1 : 0x14
- ADC1.SYNC_control: 1 #Setup ADCs
- ADC1.CML_level: 0x7
- ADC1.CML_level: 0x5
- ADC1.PREEM: 0x14
- ADC1.dither : 0x00
- ADC1.Update: 1 #Needed to update ADC registers
......@@ -924,7 +938,8 @@ methods:
instructions:
- ADC2.JESD_control1 : 0x14
- ADC2.SYNC_control: 1 #Setup ADCs
- ADC2.CML_level: 0x7
- ADC2.CML_level: 0x5
- ADC2.PREEM: 0x14
- ADC2.dither : 0x00
- ADC2.Update: 1 #Needed to update ADC registers
......@@ -935,7 +950,8 @@ methods:
instructions:
- ADC3.JESD_control1 : 0x14
- ADC3.SYNC_control: 1 #Setup ADCs
- ADC3.CML_level: 0x7
- ADC3.CML_level: 0x5
- ADC3.PREEM: 0x14
- ADC3.dither : 0x00
- ADC3.Update: 1 #Needed to update ADC registers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment