Merge pull request #1332 from slsdetectorgroup/MH02_debug
All checks were successful
Build on RHEL9 / build (push) Successful in 3m43s
Build on RHEL8 / build (push) Successful in 5m18s

MH02 change clock switching method during periphery reset
This commit is contained in:
Martin Mueller
2025-11-17 13:40:43 +01:00
committed by GitHub
2 changed files with 5 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
# Prepare MH02 configuration
reg 0xC00C 0x00000041
reg 0xC00C 0x00040041
reg 0xC010 0x01200004
# configure Matterhorn SPI
@@ -14,7 +14,7 @@ reg 0xC120 0x1
reg 0xC120 0x0
# set MSB LSB inversions and polarity for transceiver
reg 0xC120 0x61e0
reg 0xC120 0x1e0
# Enable MH02 PLL clock
pattern enable_clock_pattern.pyat

View File

@@ -1,7 +1,7 @@
# turn off clock
setbit 0xC00C 16
setbit 0xC014 0
clearbit 0xB018 15
setbit 0xB010 15
sleep 1
# reset Matterhorn periphery
@@ -9,8 +9,7 @@ setbit 0xC014 1
sleep 1
# turn on clock
clearbit 0xC00C 16
setbit 0xC014 0
clearbit 0xB010 15
sleep 1
# reset rx transceiver datapath