Commit 12cb8f27 authored by Tristan Gingold's avatar Tristan Gingold

wr2rf_init.sh: recalibrate, do not load wrpc fw

parent 67a1aa44
......@@ -9,10 +9,10 @@ slot=$1
./wr2rf -s $slot pll-init
# Dynamically load wrpc-sw to start the WR link
./wr2rf -s $slot fw-load /user/jgill/wrc-wr2rf-enabled-snmp-and-auxdiags.bin
# ./wr2rf -s $slot fw-load /user/jgill/wrc-wr2rf-enabled-snmp-and-auxdiags.bin
# sleep until wrpc has started
sleep 1
#sleep 1
# Wait for WR link ready
./wr2rf -s $slot wr-wait
......@@ -86,23 +86,26 @@ sleep 1
# setup the ioupdate delay
./wr2rf -s $slot api-dds-ioupdate-delay 2 10
# setup RF1 sync_in delay to trigger unit 1 - WARNING !!! DEPENDS ON FREQUENCY
./wr2rf -s $slot api-nco-reset-delay 1 75 5 0xa
./wr2rf -s $slot api-nco-reset-delay 1 75 4 4
# setup RF1 trig1_out delay to external flip-flop
./wr2rf -s $slot api-vtu-output-pad-delay 1.1 0 0x12
./wr2rf -s $slot api-vtu-output-pad-delay 1.1 0 17
# setup RF1 trig2_out delay to external flip-flop
./wr2rf -s $slot api-vtu-output-pad-delay 1.2 0 0x14
./wr2rf -s $slot api-vtu-output-pad-delay 1.2 0 19
# setup RF2 sync_in delay to trigger unit 1 - WARNING !!! DEPENDS ON FREQUENCY
./wr2rf -s $slot api-nco-reset-delay 2 75 4 0x14
./wr2rf -s $slot api-nco-reset-delay 2 75 4 4
# setup RF2 trig1_out delay to external flip-flop
./wr2rf -s $slot api-vtu-output-pad-delay 2.1 0 0xd
./wr2rf -s $slot api-vtu-output-pad-delay 2.1 0 13
# setup RF2 trig2_out delay to external flip-flop
./wr2rf -s $slot api-vtu-output-pad-delay 2.2 0 0xd
./wr2rf -s $slot api-vtu-output-pad-delay 2.2 0 16
# setup VTU post FF delay for each VTU
./wr2rf -s $slot api-vtu-output-ff-delay 1.1 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment