# Prepare MH02 configuration
reg 0x600 0x00000041
reg 0x604 0x01200004

# configure Matterhorn SPI
setbit 0x608 0

# wait till config is done
pollbit 0x608 3 0

# reset transceiver
reg 0x658 0x0
reg 0x658 0x1
reg 0x658 0x0

# set MSB LSB inversions and polarity for transceiver
reg 0x658 0x61e0

# Enable MH02 PLL clock
patternX enable_clock_pattern.pyat
# start the flow
setbit 0x108 0
clearbit 0x108 0
sleep 1
