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
8b124566
Commit
8b124566
authored
Nov 19, 2021
by
John Robert Gill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed LEMO_DBG define values for the configuring the lemos via the API.
parent
f7d5829f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
15 deletions
+25
-15
api.h
software/libwr2rf/libwr2rf/api.h
+14
-15
azimuth_ftw.sh
software/scripts/azimuth_ftw.sh
+11
-0
No files found.
software/libwr2rf/libwr2rf/api.h
View file @
8b124566
...
...
@@ -148,21 +148,20 @@ int libwr2rf_read_diag(struct libwr2rf_dev *dev, unsigned id,
#define LIBWR2RF_LEMO_TMGCLK2 6
/* Debug names */
#define LIBWR2RF_LEMO_DBG_NONE 0
#define LIBWR2RF_LEMO_DBG_NCO_RESET 1
#define LIBWR2RF_LEMO_DBG_RF1_NCO_RESET_CDELAYED 2
#define LIBWR2RF_LEMO_DBG_RF2_NCO_RESET_CDELAYED 3
#define LIBWR2RF_LEMO_DBG_RF1_FREV 4
#define LIBWR2RF_LEMO_DBG_RF1_FREV_MAIN 5
#define LIBWR2RF_LEMO_DBG_RF2_FREV 6
#define LIBWR2RF_LEMO_DBG_RF2_FREV_MAIN 7
#define LIBWR2RF_LEMO_DBG_WRS_RX_VALID 8
#define LIBWR2RF_LEMO_DBG_WRS_TX_VALID 9
#define LIBWR2RF_LEMO_DBG_WRS_GPIO1 10
#define LIBWR2RF_LEMO_DBG_WRS_GPIO2 11
#define LIBWR2RF_LEMO_DBG_WRS_RF_RST 12
#define LIBWR2RF_LEMO_DBG_WRS_SOFTSTOP 13
#define LIBWR2RF_LEMO_DBG_WRS_SOFTSTART 14
#define LIBWR2RF_LEMO_DBG_NCO_RESET 0
#define LIBWR2RF_LEMO_DBG_RF1_NCO_RESET_CDELAYED 1
#define LIBWR2RF_LEMO_DBG_RF2_NCO_RESET_CDELAYED 2
#define LIBWR2RF_LEMO_DBG_RF1_FREV 3
#define LIBWR2RF_LEMO_DBG_RF1_FREV_MAIN 4
#define LIBWR2RF_LEMO_DBG_RF2_FREV 5
#define LIBWR2RF_LEMO_DBG_RF2_FREV_MAIN 6
#define LIBWR2RF_LEMO_DBG_WRS_RX_VALID 7
#define LIBWR2RF_LEMO_DBG_WRS_TX_VALID 8
#define LIBWR2RF_LEMO_DBG_WRS_GPIO1 9
#define LIBWR2RF_LEMO_DBG_WRS_GPIO2 10
#define LIBWR2RF_LEMO_DBG_WRS_RF_RST 11
#define LIBWR2RF_LEMO_DBG_WRS_SOFTSTOP 12
#define LIBWR2RF_LEMO_DBG_WRS_SOFTSTART 13
/* LEMO front panel debug selection */
int
libwr2rf_configure_lemo_debug
(
struct
libwr2rf_dev
*
dev
,
...
...
software/scripts/azimuth_ftw.sh
0 → 100644
View file @
8b124566
#!/bin/bash
sps_circ
=
6911
ba3ba4_arc
=
1318.9338
ftw
=
`
echo
"(
$ba3ba4_arc
*(2^48))/
$sps_circ
"
| bc
-q
`
ftw_hex
=
`
echo
"ibase=10; obase=16;
$ftw
"
| bc
-q
`
echo
"ftw=
$ftw
"
echo
"ftw_hex=
$ftw_hex
"
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