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
promise
OpenXG-RAN
Commits
29b78fb0
Commit
29b78fb0
authored
Jan 22, 2018
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new HW lib for ADRV9371_ZC706 + small bugfixes
parent
a2fce16b
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
20 deletions
+28
-20
targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/ue.band7.tm1.PRB100.adrv9371-zc706.ini
...USERSPACE/PROFILES/ue.band7.tm1.PRB100.adrv9371-zc706.ini
+14
-10
targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/ue.band7.tm1.PRB100.adrv9371-zc706_HWgain15dB.ini
...ROFILES/ue.band7.tm1.PRB100.adrv9371-zc706_HWgain15dB.ini
+5
-5
targets/ARCH/ADRV9371_ZC706/slib/libadrv9371_zc706.so
targets/ARCH/ADRV9371_ZC706/slib/libadrv9371_zc706.so
+0
-0
targets/RT/USER/lte-ru.c
targets/RT/USER/lte-ru.c
+3
-3
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+6
-2
No files found.
targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/ue.band7.tm1.PRB100.adrv9371-zc706.ini
View file @
29b78fb0
...
...
@@ -4,28 +4,28 @@ ad9371-phy.in_voltage2_hardwaregain = -156.000000 dB
ad9371-phy.in_voltage2_temp_comp_gain
=
0.00 dB
ad9371-phy.in_voltage_rf_port_select_available
=
OFF INTERNALCALS OBS_SNIFFER SN_A SN_B SN_C ORX1_TX_LO ORX2_TX_LO ORX1_SN_LO ORX2_SN_LO
ad9371-phy.out_voltage0_lo_leakage_tracking_en
=
0
ad9371-phy.out_voltage0_hardwaregain
=
-1
0.000000 dB
ad9371-phy.out_voltage0_hardwaregain
=
0.000000 dB
ad9371-phy.out_voltage0_quadrature_tracking_en
=
1
ad9371-phy.out_voltage1_hardwaregain
=
-1
0.000000 dB
ad9371-phy.out_voltage1_hardwaregain
=
0.000000 dB
ad9371-phy.out_voltage1_lo_leakage_tracking_en
=
0
ad9371-phy.out_voltage1_quadrature_tracking_en
=
1
ad9371-phy.in_voltage_rf_port_select_available
=
OFF INTERNALCALS OBS_SNIFFER SN_A SN_B SN_C ORX1_TX_LO ORX2_TX_LO ORX1_SN_LO ORX2_SN_LO
ad9371-phy.out_altvoltage1_TX_LO_frequency
=
25
35
000000
ad9371-phy.out_altvoltage2_RX_SN_LO_frequency
=
26
55
000000
ad9371-phy.out_altvoltage1_TX_LO_frequency
=
25
60
000000
ad9371-phy.out_altvoltage2_RX_SN_LO_frequency
=
26
80
000000
ad9371-phy.in_voltage_rf_port_select_available
=
OFF INTERNALCALS OBS_SNIFFER SN_A SN_B SN_C ORX1_TX_LO ORX2_TX_LO ORX1_SN_LO ORX2_SN_LO
ad9371-phy.in_voltage_rf_port_select_available
=
OFF INTERNALCALS OBS_SNIFFER SN_A SN_B SN_C ORX1_TX_LO ORX2_TX_LO ORX1_SN_LO ORX2_SN_LO
ad9371-phy.in_voltage_rf_port_select_available
=
OFF INTERNALCALS OBS_SNIFFER SN_A SN_B SN_C ORX1_TX_LO ORX2_TX_LO ORX1_SN_LO ORX2_SN_LO
ad9371-phy.in_voltage0_gain_control_mode
=
automatic
ad9371-phy.in_voltage0_gain_control_mode
=
manual
ad9371-phy.in_voltage0_quadrature_tracking_en
=
1
ad9371-phy.in_voltage0_hardwaregain
=
30
.000000 dB
ad9371-phy.in_voltage0_hardwaregain
=
25
.000000 dB
ad9371-phy.in_voltage0_temp_comp_gain
=
0.00 dB
ad9371-phy.in_voltage_rf_port_select_available
=
OFF INTERNALCALS OBS_SNIFFER SN_A SN_B SN_C ORX1_TX_LO ORX2_TX_LO ORX1_SN_LO ORX2_SN_LO
ad9371-phy.in_voltage1_quadrature_tracking_en
=
1
ad9371-phy.in_voltage1_hardwaregain
=
30
.000000 dB
ad9371-phy.in_voltage1_hardwaregain
=
25
.000000 dB
ad9371-phy.in_voltage1_temp_comp_gain
=
0.00 dB
ad9371-phy.in_voltage1_gain_control_mode
=
automatic
ad9371-phy.in_voltage1_gain_control_mode
=
manual
ad9371-phy.in_voltage_rf_port_select_available
=
OFF INTERNALCALS OBS_SNIFFER SN_A SN_B SN_C ORX1_TX_LO ORX2_TX_LO ORX1_SN_LO ORX2_SN_LO
ad9371-phy.out_altvoltage0_RX_LO_frequency
=
26
55
000000
ad9371-phy.out_altvoltage0_RX_LO_frequency
=
26
80
000000
ad9371-phy.calibrate_rx_qec_en
=
0
ad9371-phy.calibrate_tx_lol_en
=
0
ad9371-phy.calibrate_vswr_en
=
0
...
...
@@ -66,7 +66,7 @@ axi-ad9371-tx-hpc.out_altvoltage1_TX1_I_F2_frequency = 19998117
axi-ad9371-tx-hpc.out_altvoltage1_TX1_I_F2_raw
=
1
axi-ad9371-tx-hpc.out_altvoltage1_TX1_I_F2_phase
=
90000
axi-ad9371-tx-hpc.out_altvoltage1_TX1_I_F2_scale
=
0.000000
load_myk_profile_file
=
/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/profile
_rx30_Tx60_syr
.txt
load_myk_profile_file
=
/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/profile
20MHz
.txt
dds_mode_tx1
=
1
dds_mode_tx2
=
1
dac_buf_filename
=
/usr/local/lib/osc/waveforms/LTE20.mat
...
...
@@ -81,5 +81,9 @@ obs_show = 1
fpga_show
=
1
[ADRV9371_ZC706]
# NO_DEBUG=0; DEBUG=1
debug_mode
=
0
# 20MHz 40MHz 80MHz=1; 10MHz=2; 5MHz=4
interpolation_decimation_factor
=
1
# is taken into account only if "ad9371-phy.in_voltage0_gain_control_mode = manual"
rx_gain_offset
=
69
targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/ue.band7.tm1.PRB100.adrv9371-zc706_HWgain15dB.ini
View file @
29b78fb0
...
...
@@ -4,9 +4,9 @@ ad9371-phy.in_voltage2_hardwaregain = -156.000000 dB
ad9371-phy.in_voltage2_temp_comp_gain
=
0.00 dB
ad9371-phy.in_voltage_rf_port_select_available
=
OFF INTERNALCALS OBS_SNIFFER SN_A SN_B SN_C ORX1_TX_LO ORX2_TX_LO ORX1_SN_LO ORX2_SN_LO
ad9371-phy.out_voltage0_lo_leakage_tracking_en
=
0
ad9371-phy.out_voltage0_hardwaregain
=
-2
0.000000 dB
ad9371-phy.out_voltage0_hardwaregain
=
0.000000 dB
ad9371-phy.out_voltage0_quadrature_tracking_en
=
1
ad9371-phy.out_voltage1_hardwaregain
=
-2
0.000000 dB
ad9371-phy.out_voltage1_hardwaregain
=
0.000000 dB
ad9371-phy.out_voltage1_lo_leakage_tracking_en
=
0
ad9371-phy.out_voltage1_quadrature_tracking_en
=
1
ad9371-phy.in_voltage_rf_port_select_available
=
OFF INTERNALCALS OBS_SNIFFER SN_A SN_B SN_C ORX1_TX_LO ORX2_TX_LO ORX1_SN_LO ORX2_SN_LO
...
...
@@ -21,7 +21,7 @@ ad9371-phy.in_voltage0_hardwaregain = 15.000000 dB
ad9371-phy.in_voltage0_temp_comp_gain
=
0.00 dB
ad9371-phy.in_voltage_rf_port_select_available
=
OFF INTERNALCALS OBS_SNIFFER SN_A SN_B SN_C ORX1_TX_LO ORX2_TX_LO ORX1_SN_LO ORX2_SN_LO
ad9371-phy.in_voltage1_quadrature_tracking_en
=
1
ad9371-phy.in_voltage1_hardwaregain
=
30
.000000 dB
ad9371-phy.in_voltage1_hardwaregain
=
15
.000000 dB
ad9371-phy.in_voltage1_temp_comp_gain
=
0.00 dB
ad9371-phy.in_voltage1_gain_control_mode
=
manual
ad9371-phy.in_voltage_rf_port_select_available
=
OFF INTERNALCALS OBS_SNIFFER SN_A SN_B SN_C ORX1_TX_LO ORX2_TX_LO ORX1_SN_LO ORX2_SN_LO
...
...
@@ -66,7 +66,7 @@ axi-ad9371-tx-hpc.out_altvoltage1_TX1_I_F2_frequency = 19998117
axi-ad9371-tx-hpc.out_altvoltage1_TX1_I_F2_raw
=
1
axi-ad9371-tx-hpc.out_altvoltage1_TX1_I_F2_phase
=
90000
axi-ad9371-tx-hpc.out_altvoltage1_TX1_I_F2_scale
=
0.000000
load_myk_profile_file
=
/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/profile
_rx30_Tx60_syr
.txt
load_myk_profile_file
=
/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/profile
20MHz
.txt
dds_mode_tx1
=
1
dds_mode_tx2
=
1
dac_buf_filename
=
/usr/local/lib/osc/waveforms/LTE20.mat
...
...
@@ -86,4 +86,4 @@ debug_mode = 0
# 20MHz 40MHz 80MHz=1; 10MHz=2; 5MHz=4
interpolation_decimation_factor
=
1
# is taken into account only if "ad9371-phy.in_voltage0_gain_control_mode = manual"
rx_gain_offset
=
46
rx_gain_offset
=
30
targets/ARCH/ADRV9371_ZC706/slib/libadrv9371_zc706.so
View file @
29b78fb0
No preview for this file type
targets/RT/USER/lte-ru.c
View file @
29b78fb0
...
...
@@ -1025,7 +1025,7 @@ static void* ru_thread_prach_br( void* param ) {
ru_thread_prach_status
=
0
;
thread_top_init
(
"ru_thread_prach_br"
,
1
,
500000
,
1000000
,
20000000
);
wait_sync
(
ru_thread_prach_br
);
wait_sync
(
"ru_thread_prach_br"
);
while
(
!
oai_exit
)
{
...
...
@@ -1483,8 +1483,8 @@ static void* ru_thread( void* param ) {
// set default return value
thread_top_init
(
"ru_thread"
,
1
,
400000
,
500000
,
500000
);
CPU_SET
(
1
,
&
cpuset
);
pthread_setaffinity_np
(
pthread_self
(),
sizeof
(
cpu_set_t
),
&
cpuset
);
//
CPU_SET(1, &cpuset);
//
pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset);
pthread_setname_np
(
pthread_self
(),
"ru thread"
);
LOG_I
(
PHY
,
"thread ru created id=%ld
\n
"
,
syscall
(
__NR_gettid
));
...
...
targets/RT/USER/lte-softmodem.c
View file @
29b78fb0
...
...
@@ -168,7 +168,10 @@ double bw = 10.0e6;
static
int
tx_max_power
[
MAX_NUM_CCs
];
/* = {0,0}*/
;
char
rf_config_file
[
1024
];
//char rf_config_file[1024];
//char rf_config_file[1024]="./targets/ARCH/gNB.ini";
//FIXME!
char
rf_config_file
[
1024
]
=
"./targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/gnb.band7.tm1.PRB100.adrv9371-zc706_HWgain15dB.ini"
;
int
chain_offset
=
0
;
int
phy_test
=
0
;
...
...
@@ -740,6 +743,7 @@ void set_default_frame_parms(LTE_DL_FRAME_PARMS *frame_parms[MAX_NUM_CCs]) {
}
/*
void init_openair0(void);
void init_openair0() {
...
...
@@ -855,7 +859,7 @@ void init_openair0() {
}
}
}
*/
void
wait_RUs
(
void
)
{
...
...
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