Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
canghaiwuhen
OpenXG-RAN
Commits
e362371c
Commit
e362371c
authored
Jan 14, 2015
by
ghaddab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@6358
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
107536ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
targets/ARCH/EXMIMO/USERSPACE/OCTAVE/txsig.m
targets/ARCH/EXMIMO/USERSPACE/OCTAVE/txsig.m
+12
-11
No files found.
targets/ARCH/EXMIMO/USERSPACE/OCTAVE/txsig.m
View file @
e362371c
fc
=
26800
00000
;
fc
=
19076
00000
;
%fc = 1907600000;
%fc = 859.5e6;
rxgain
=
0
;
txgain
=
2
0
;
txgain
=
0
;
eNB_flag
=
0
;
card
=
0
;
active_rf
=
[
1
0
0
0
];
active_rf
=
[
1
1
1
1
];
autocal
=
[
1
1
1
1
];
resampling_factor
=
[
0
0
0
0
];
resampling_factor
=
[
2
2
2
2
];
limeparms
;
rf_mode
=
(
RXEN
+
TXEN
+
TXLPFNORM
+
TXLPFEN
+
TXLPF
10
+
RXLPFNORM
+
RXLPFEN
+
RXLPF10
+
LNA1ON
+
LNAMax
+
RFBBNORM
)
*
active_rf
;
rf_mode
=
(
RXEN
+
TXEN
+
TXLPFNORM
+
TXLPFEN
+
TXLPF
25
+
RXLPFNORM
+
RXLPFEN
+
RXLPF25
+
LNA1ON
+
LNAMax
+
RFBBNORM
)
*
active_rf
;
rf_mode
=
rf_mode
+
(
DMAMODE_RX
+
DMAMODE_TX
)
*
active_rf
;
%rf_mode = rf_mode + (DMAMODE_TX)*active_rf + DMAMODE_RX*active_rf;
%rf_mode = RXEN+TXEN+TXLPFNORM+TXLPFEN+TXLPF25+RXLPFNORM+RXLPFEN+RXLPF25+LNA1ON+LNAByp+RFBBLNA1;
...
...
@@ -37,6 +37,7 @@ rffe_rxg_final = 61*[1 1 1 1];
rffe_band
=
B19G_TDD
*
[
1
1
1
1
];
oarf_config_exmimo
(
card
,
freq_rx
,
freq_tx
,
tdd_config
,
syncmode
,
rxgain
,
txgain
,
eNB_flag
,
rf_mode
,
rf_rxdc
,
rf_local
,
rf_vcocal
,
rffe_rxg_low
,
rffe_rxg_final
,
rffe_band
,
autocal
,
resampling_factor
);
%oarf_config_exmimo(1, freq_rx,freq_tx,tdd_config,syncmode,rxgain,txgain,eNB_flag,rf_mode,rf_rxdc,rf_local,rf_vcocal,rffe_rxg_low,rffe_rxg_final,rffe_band,autocal,resampling_factor);
amp
=
pow2
(
14
)
-
1
;
n_bit
=
16
;
...
...
@@ -44,7 +45,7 @@ length = 307200/pow2(resampling_factor(1));
s
=
zeros
(
length
,
4
);
select
=
6
;
select
=
1
;
switch
(
select
)
...
...
@@ -55,10 +56,10 @@ case 0
s
(:,
4
)
=
amp
*
ones
(
1
,
length
);
case
1
s
(:,
1
)
=
floor
(
amp
*
(
exp
(
1
i
*
2
*
pi
*
(
0
:((
length
*
4
)
-
1
))/
4
)));
s
(:,
2
)
=
floor
(
amp
*
(
exp
(
1
i
*
2
*
pi
*
(
0
:((
length
*
4
)
-
1
))/
4
)));
s
(:,
3
)
=
floor
(
amp
*
(
exp
(
1
i
*
2
*
pi
*
(
0
:((
length
*
4
)
-
1
))/
4
)));
s
(:,
4
)
=
floor
(
amp
*
(
exp
(
1
i
*
2
*
pi
*
(
0
:((
length
*
4
)
-
1
))/
4
)));
s
(:,
1
)
=
floor
(
amp
*
(
exp
(
1
i
*
2
*
pi
*
(
0
:((
length
)
-
1
))/
4
)));
s
(:,
2
)
=
floor
(
amp
*
(
exp
(
1
i
*
2
*
pi
*
(
0
:((
length
)
-
1
))/
4
)));
s
(:,
3
)
=
floor
(
amp
*
(
exp
(
1
i
*
2
*
pi
*
(
0
:((
length
)
-
1
))/
4
)));
s
(:,
4
)
=
floor
(
amp
*
(
exp
(
1
i
*
2
*
pi
*
(
0
:((
length
)
-
1
))/
4
)));
case
2
s
(
38400
+
128
,
1
)
=
80
-
1
j
*
40
;
...
...
@@ -117,7 +118,7 @@ end %switch
s
=
s
*
2
;
oarf_send_frame
(
card
,
s
,
n_bit
);
%oarf_send_frame(1,s,n_bit);
%sleep (1)
%r = oarf_get_frame(card);
...
...
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