Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
wr2rf-vme
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
wr2rf-vme
Commits
2c578bad
Commit
2c578bad
authored
Apr 14, 2021
by
John Robert Gill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added script that enables the card to receive nco_resets locally. This is useful for calibration.
parent
0c1d23f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
tcal.sh
software/scripts/tcal.sh
+31
-0
No files found.
software/scripts/tcal.sh
0 → 100644
View file @
2c578bad
#!/bin/bash
# Script to provide nco_resets internally to a wr2rf card at a given FTW
# while true; do sh tcal.sh; done
# Need to have initialised the card before calling with sh wr2rf_init.sh <slot>
# Common ftw listed towards the end.
slot
=
$1
ftw
=
$2
./wr2rf
-s
$slot
nco-wrcfg 1
./wr2rf
-s
$slot
nco-wrcfg 2
./wr2rf
-s
$slot
nco-source
local
./wr2rf
-s
$slot
tmgio-oe 0xF
./wr2rf
-s
$slot
tmgio-term 0x0
./wr2rf
-s
$slot
lemo-dbg-sel tmgio3 nco_reset
./wr2rf
-s
$slot
lemo-dbg-sel tmgio4 rf1_frev
./wr2rf
-s
$slot
set-rfout 1 mix
./wr2rf
-s
$slot
set-rfout 2 mix
sh vtu_setup.sh
$slot
ftw_SFTPRO2_hex
=
0016b0bbb3c4
ftw_LHCPILOT_hex
=
0016b9f306de
ftw_SFTION1_hex
=
00168b5cbff4
./wr2rf
-s
$slot
nco-lcfg-update 0x7
$ftw
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment