Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
32eb84f1
Commit
32eb84f1
authored
Nov 23, 2018
by
Florian Kaltenberger
Browse files
Merge branch '375-syrtem-sdr-platform' into 'develop-nr'
Resolve "syrtem-sdr-platform" See merge request
oai/openairinterface5g!450
parents
c0b9a45a
bea23189
Changes
25
Hide whitespace changes
Inline
Side-by-side
cmake_targets/build_oai
View file @
32eb84f1
...
...
@@ -516,10 +516,10 @@ function main() {
install_usrp_uhd_driver
$UHD_IMAGES_DIR
fi
fi
if
[
"
$HW
"
==
"OAI_ADRV9371_ZC706"
]
;
then
echo_info
"
\n
Installing packages for ADRV9371_ZC706 support"
check_install_libiio_driver
fi
#
if [ "$HW" == "OAI_ADRV9371_ZC706" ] ; then
#
echo_info "\nInstalling packages for ADRV9371_ZC706 support"
#
check_install_libiio_driver
#
fi
if
[
"
$HW
"
==
"OAI_BLADERF"
]
;
then
echo_info
"installing packages for BLADERF support"
check_install_bladerf_driver
...
...
@@ -836,9 +836,18 @@ function main() {
echo_info
"liboai_device.so is linked to EXMIMO device library"
elif
[
"
$HW
"
==
"OAI_ADRV9371_ZC706"
]
;
then
ln
-sf
$OPENAIR_DIR
/targets/ARCH/ADRV9371_ZC706/slib/libadrv9371_zc706.so liboai_device.so
SYRIQ_KVER
=
$(
uname
-r
)
SYRIQ_KMAJ
=
$(
echo
$SYRIQ_KVER
|
sed
-e
's/^\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*.*/\1/'
)
SYRIQ_KMIN
=
$(
echo
$SYRIQ_KVER
|
sed
-e
's/^[0-9][0-9]*\.\([0-9][0-9]*\)\.[0-9][0-9]*.*/\1/'
)
#echo $SYRIQ_KMAJ$SYRIQ_KMIN
if
[
"
$SYRIQ_KMAJ$SYRIQ_KMIN
"
==
"319"
]
||
[
"
$SYRIQ_KMAJ$SYRIQ_KMIN
"
==
"410"
]
||
[
"
$SYRIQ_KMAJ$SYRIQ_KMIN
"
==
"415"
]
;
then
# echo "Kernel $SYRIQ_KMAJ.$SYRIQ_KMIN detected"
ln
-sf
/usr/local/lib/syriq/libadrv9371zc706.so liboai_device.so
else
echo_error
"== FAILED == Unexpected Kernel
$SYRIQ_KMAJ
.
$SYRIQ_KMIN
"
fi
echo_info
"liboai_device.so is linked to ADRV9371_ZC706 device library for Kernel
$SYRIQ_KMAJ
.
$SYRIQ_KMIN
"
echo_info
"liboai_device.so is linked to ADRV9371_ZC706 device library"
elif
[
"
$HW
"
==
"OAI_USRP"
]
;
then
compilations
\
$build_dir
oai_usrpdevif
\
...
...
oaienv
View file @
32eb84f1
...
...
@@ -18,5 +18,6 @@ alias oailte='cd $OPENAIR_TARGETS/RT/USER'
alias oais='cd $OPENAIR_TARGETS/SIMU/USER'
alias oaiex='cd $OPENAIR_TARGETS/SIMU/EXAMPLES'
export IIOD_REMOTE=192.168.121.32
#export IIOD_REMOTE=192.168.121.32
export IIOD_REMOTE=192.168.1.11
targets/ARCH/ADRV9371_ZC706/Makefile
deleted
100755 → 0
View file @
c0b9a45a
# Creates shared library
CC
=
gcc
CFLAGS
+=
-DADRV9371_ZC706
-DHWLAT
-O0
-g3
-Wall
-fmessage-length
=
0
-fPIC
DROOT
=
./USERSPACE
DIR
=
$(DROOT)
/LIB
IFLAGS
+=
-I
$(DIR)
/
\
-I
$(DROOT)
/libini/
\
-I
../COMMON/
\
-I
/usr/include/
LDFLAGS
+=
-L
/usr/lib/x86/64-linux-gnu/
\
-lm
-liio
-ldl
-lriffa
OUTDIR
=
./slib
TARGET
=
libadrv9371_zc706.so
SRC
=
$(DIR)
/adrv9371_dump.c
\
$(DIR)
/adrv9371_helper.c
\
$(DIR)
/adrv9371_self_test.c
\
$(DIR)
/adrv9371_zc706_lib.c
\
$(DIR)
/adrv9371_zc706_riffa_lib.c
\
$(DIR)
/adrv9371_zc706_stats.c
\
$(DIR)
/hw_init.c
\
$(DROOT)
/libini/libini.c
OBJ
=
$(OUTDIR)
/adrv9371_dump.o
\
$(OUTDIR)
/adrv9371_helper.o
\
$(OUTDIR)
/adrv9371_self_test.o
\
$(OUTDIR)
/adrv9371_zc706_lib.o
\
$(OUTDIR)
/adrv9371_zc706_riffa_lib.o
\
$(OUTDIR)
/adrv9371_zc706_stats.o
\
$(OUTDIR)
/hw_init.o
\
$(OUTDIR)
/libini.o
all
:
lib
dir
:
mkdir
-p
$(OUTDIR)
env
:
set
PATH
=
/usr/lib/:
${PATH}
obj
:
dir env
$(CC)
-c
$(CFLAGS)
$(IFLAGS)
$(SRC)
mv
*
.o
$(OUTDIR)
lib
:
dir obj
$(CC)
-shared
$(OBJ)
-o
$(OUTDIR)
/
$(TARGET)
$(LDFLAGS)
# exec: env
# $(CC) $(CFLAGS) $(IFLAGS) main.c $(SRC) -o lib.exe $(LDFLAGS) -lpthread
.PHONY
:
clean
clean
:
rm
-f
$(OUTDIR)
/
*
.o
$(OUTDIR)
/
*
~
rm
:
clean
rm
-f
$(OUTDIR)
/
$(TARGET)
rmdir
$(OUTDIR)
\ No newline at end of file
targets/ARCH/ADRV9371_ZC706/SYRTEM_IQ_QuickStart.readme
0 → 100755
View file @
32eb84f1
/* ********** ********** ********** ********** ********** ********** ********** */
Requirements:
-------------
- Previous kernel module/libraries shall be uninstalled !!!
- cf. command line below "SYRTEM_IQ_uninstall_previous_SW.sh"
./SYRTEM_IQ_unload_previous_SW.sh
- You shall have SYRIQ1.4.6nr.tar.gz
- Ubuntu kernel version is restricted to:
- Kernel 4.15.0-20-lowlatency (Ubuntu 18.04)
- Kernel 4.10.0-42-lowlatency (Ubuntu 17.04)
- Kernel 3.19.0-61-lowlatency (Ubuntu 14.04)
- ADRV9371+ZC706 PCIe board shall be switched on
- PC shall be reboot once ADRV9371+ZC706 PCIe board is switched on
mkdir eur_oai_develop-nr
cd eur_oai_develop-nr
git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git
cd openairinterface5g
git checkout 375-syrtem-sdr-platform
or
git checkout develop-nr (after merge request accepted)
./targets/ARCH/ADRV9371_ZC706/SYRTEM_IQ_uninstall_previous_SW.sh
-> Reading package lists... Done
-> Building dependency tree
-> Reading state information... Done
-> linux-headers-4.15.0-20-lowlatency is already the newest version (4.15.0-20.21).
-> 0 upgraded, 0 newly installed, 0 to remove and 327 not upgraded.
-> Previous SYRIQ is loaded!
-> previous SYRIQ is unloaded!
-> previous SYRIQ is uninstall!
-> Previous SYRIQ uninstallation is done
/* ********** ********** ********** ********** ********** ********** ********** */
UE:
---
configuration:
--------------
sudo apt update
sudo apt-get update
tar -xvzf SYRIQ1.4.6nr.tar.gz
./SYRIQplatformR1.4.6nr_install.sh
sudo reboot
sudo lspci -vv | grep Xilinx
sudo lspci -vv -s 02:00.0 | grep LnkSta
sudo lspci -vv -s 03:00.0 | grep LnkSta
sudo lspci -vv -s 02:00.0 | grep Interr
sudo lspci -vv -s 03:00.0 | grep Interr
sudo gedit /usr/local/etc/syriq/cpu-irq.sh
echo '1' > /proc/irq/49/smp_affinity_list
echo '5' > /proc/irq/48/smp_affinity_list
gedit oaienv
export IIOD_REMOTE=192.168.1.11
compilation:
------------
sudo cset shield --reset
cd eur_oai_develop-nr/openairinterface5g/
source oaienv
sudo -E ./cmake_targets/build_oai -c --nrUE -w ADRV9371_ZC706 -I
sudo -E ./cmake_targets/build_oai -c --nrUE -w ADRV9371_ZC706
run:
----
source oaienv
sudo -E /usr/local/etc/syriq/cpu-irq.sh
sudo -E cset shield -e ./targets/bin/nr-uesoftmodem.Rel15 -- --numerology 1 -r 106 -C 3510000000 --loop-memory --rf-config-file /usr/local/etc/syriq/ue.band22.tm1.PRB100.NR40.dat
/* ********** ********** ********** ********** ********** ********** ********** */
gNB:
----
configuration:
--------------
sudo apt update
sudo apt-get update
tar -xvzf SYRIQ1.4.6nr.tar.gz
./SYRIQplatformR1.4.6nr_install.sh
sudo reboot
sudo lspci -vv | grep Xilinx
sudo lspci -vv -s 02:00.0 | grep LnkSta
sudo lspci -vv -s 02:00.0 | grep Interr
sudo gedit /usr/local/etc/syriq/cpu-irq.sh
echo '1' > /proc/irq/46/smp_affinity_list
gedit oaienv
export IIOD_REMOTE=192.168.1.21
compilation:
------------
sudo cset shield --reset
cd eur_oai_develop-nr/openairinterface5g/
source oaienv
sudo -E ./cmake_targets/build_oai -c --gNB -w ADRV9371_ZC706 -I
sudo -E ./cmake_targets/build_oai -c --gNB -w ADRV9371_ZC706
run:
----
source oaienv
sudo -E /usr/local/etc/syriq/cpu-irq.sh
sudo -E cset shield -e ./targets/bin/nr-softmodem.Rel15 -- -O $OPENAIR_DIR/targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band22.tm1.106PRB.adrv9371zc706.conf --rf-config-file /usr/local/etc/syriq/gnb.band22.tm1.PRB100.NR40_hwgain15.dat
targets/ARCH/ADRV9371_ZC706/SYRTEM_IQ_uninstall_previous_SW.sh
0 → 100755
View file @
32eb84f1
# Previous SYRIQ uninstall
#!/bin/sh
MODULE
=
"riffa"
KERNEL_VERSION
=
$(
uname
-r
)
RHR
=
/etc/redhat-release
sudo
apt-get
install
-y
--allow-unauthenticated
linux-headers-
`
uname
-r
`
if
lsmod |
grep
"
$MODULE
"
&> /dev/null
;
then
echo
"Previous SYRIQ is loaded!"
sudo
rmmod
$MODULE
echo
" -> previous SYRIQ is unloaded!"
sudo rm
-f
/usr/local/lib/libriffa.so
*
sudo rm
-f
/usr/local/include/riffa.h
sudo rm
-f
/usr/local/include/riffa_driver.h
sudo rm
-f
/etc/ld.so.conf.d/riffa.conf
sudo rm
-rf
/lib/modules/
$KERNEL_VERSION
/kernel/drivers/riffa
sudo rm
-f
/etc/udev/rules.d/99-riffa.rules
sudo sed
-i
'/riffa/d'
/etc/modules
sudo
ldconfig
sudo
depmod
echo
" -> previous SYRIQ is uninstall!"
echo
"Previous SYRIQ uninstallation is done"
exit
0
else
echo
"Previous SYRIQ is not loaded!"
exit
1
fi
targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/ADRV9371-W_test.ini
deleted
100644 → 0
View file @
c0b9a45a
[IIO Oscilloscope]
plugin.DMM.detached
=
0
plugin.Debug.detached
=
0
plugin.AD9371
Advanced.detached
=
0
plugin.AD9371.detached
=
0
startup_version_check
=
0
test
=
1
[IIO Oscilloscope - Capture Window1]
fru_connect
=
1
test.message
=
Please ensure:
\n
• 30.72 MHz -> REF_CLK_IN (0dBm)
\n
• Rx1 <-> Tx1
\n
• Rx2 <-> Tx2
domain
=
fft
sample_count
=
400
fft_size
=
16384
fft_avg
=
8
fft_pwr_offset
=
0.000000
graph_type
=
Lines
show_grid
=
1
enable_auto_scale
=
1
x_axis_min
=
-67.583626
x_axis_max
=
67.576126
y_axis_min
=
-130
y_axis_max
=
3
show_capture_options
=
1
axi-ad9371-rx-obs-hpc.expanded
=
1
axi-ad9371-rx-obs-hpc.active
=
0
axi-ad9371-rx-obs-hpc.trigger_enabled
=
0
axi-ad9371-rx-obs-hpc.voltage0_i.enabled
=
0
axi-ad9371-rx-obs-hpc.voltage0_q.enabled
=
0
axi-ad9371-rx-hpc.expanded
=
1
axi-ad9371-rx-hpc.active
=
1
axi-ad9371-rx-hpc.voltage0_i.enabled
=
1
axi-ad9371-rx-hpc.voltage0_q.enabled
=
1
axi-ad9371-rx-hpc.voltage1_i.enabled
=
0
axi-ad9371-rx-hpc.voltage1_q.enabled
=
0
marker_type
=
Single Tone Markers
marker.0
=
9525
marker.1
=
8192
marker.2
=
10859
marker.3
=
12193
marker.4
=
13526
marker.5
=
14859
capture_started
=
0
[DMM]
device_list
=
ad7291 0
device_list
=
ad9371-phy 0
device_list
=
xadc 0
running
=
No
# temp between 20C and 55C (in 0.25C units)
test.ad7291.in_temp0_raw.int
=
80 220
# See the production testing wiki docs [1] for how these values are calculated.
# [1]: (https://wiki.analog.com/resources/eval/user-guides/ad-fmcomms2-ebz/testing#voltage)
# scale = 0.610351562
# All nominal voltages +/- 2.5%
# 0 INPUT_VOLTAGE 12V - V(Drop Diode) 56/10
test.ad7291.in_voltage0_raw.int
=
2710 2850
# 1 VOUT2_1V3_DIG 1
test.ad7291.in_voltage1_raw.int
=
2077 2183
# 2 VDD_IF 10/10
test.ad7291.in_voltage2_raw.int
=
1997 2099
# 3 VOUT3_3V3 10/10
test.ad7291.in_voltage3_raw.int
=
2636 2770
# 5 VOUT4_1V8 1
test.ad7291.in_voltage5_raw.int
=
2875 3023
# 7 VOUT1_1V3_ANLG 1
test.ad7291.in_voltage7_raw.int
=
2077 2183
# Test AD9528 lock status - Requires 30.720 MHz reference clock!
test.ad9528-1.pll1_reference_clk_a_present.int
=
1 1
test.ad9528-1.pll1_locked.int
=
1 1
test.ad9528-1.pll2_locked.int
=
1 1
[AD9371]
ad9371-phy.in_voltage2_rf_port_select
=
INTERNALCALS
ad9371-phy.in_voltage2_temp_comp_gain
=
0.00 dB
ad9371-phy.out_altvoltage1_TX_LO_frequency
=
2500000000
ad9371-phy.out_altvoltage2_RX_SN_LO_frequency
=
2600000000
ad9371-phy.out_voltage1_hardwaregain
=
-10.000000 dB
ad9371-phy.out_voltage1_lo_leakage_tracking_en
=
1
ad9371-phy.out_voltage1_quadrature_tracking_en
=
1
ad9371-phy.in_voltage0_gain_control_mode
=
automatic
ad9371-phy.in_voltage0_quadrature_tracking_en
=
1
ad9371-phy.in_voltage0_temp_comp_gain
=
0.00 dB
ad9371-phy.in_voltage1_quadrature_tracking_en
=
1
ad9371-phy.in_voltage1_temp_comp_gain
=
0.00 dB
ad9371-phy.in_voltage1_gain_control_mode
=
automatic
ad9371-phy.out_altvoltage0_RX_LO_frequency
=
2600000000
ad9371-phy.out_voltage0_lo_leakage_tracking_en
=
1
ad9371-phy.out_voltage0_hardwaregain
=
-10.000000 dB
ad9371-phy.out_voltage0_quadrature_tracking_en
=
1
ad9371-phy.ensm_mode
=
radio_on
axi-ad9371-tx-hpc.out_altvoltage0_TX1_I_F1_phase
=
90000
axi-ad9371-tx-hpc.out_altvoltage0_TX1_I_F1_scale
=
0.251160
axi-ad9371-tx-hpc.out_altvoltage0_TX1_I_F1_frequency
=
10001402
axi-ad9371-tx-hpc.out_altvoltage0_TX1_I_F1_raw
=
1
axi-ad9371-tx-hpc.out_altvoltage5_TX2_I_F2_phase
=
90000
axi-ad9371-tx-hpc.out_altvoltage5_TX2_I_F2_scale
=
0.000000
axi-ad9371-tx-hpc.out_altvoltage5_TX2_I_F2_raw
=
1
axi-ad9371-tx-hpc.out_altvoltage5_TX2_I_F2_frequency
=
1001265
axi-ad9371-tx-hpc.out_altvoltage4_TX2_I_F1_frequency
=
10001402
axi-ad9371-tx-hpc.out_altvoltage4_TX2_I_F1_phase
=
90000
axi-ad9371-tx-hpc.out_altvoltage4_TX2_I_F1_scale
=
0.251160
axi-ad9371-tx-hpc.out_altvoltage4_TX2_I_F1_raw
=
1
axi-ad9371-tx-hpc.out_altvoltage6_TX2_Q_F1_frequency
=
10001402
axi-ad9371-tx-hpc.out_altvoltage6_TX2_Q_F1_raw
=
1
axi-ad9371-tx-hpc.out_altvoltage6_TX2_Q_F1_phase
=
0
axi-ad9371-tx-hpc.out_altvoltage6_TX2_Q_F1_scale
=
0.251160
axi-ad9371-tx-hpc.out_altvoltage3_TX1_Q_F2_raw
=
1
axi-ad9371-tx-hpc.out_altvoltage3_TX1_Q_F2_phase
=
0
axi-ad9371-tx-hpc.out_altvoltage3_TX1_Q_F2_scale
=
0.000000
axi-ad9371-tx-hpc.out_altvoltage3_TX1_Q_F2_frequency
=
40001860
axi-ad9371-tx-hpc.out_altvoltage7_TX2_Q_F2_raw
=
1
axi-ad9371-tx-hpc.out_altvoltage7_TX2_Q_F2_phase
=
0
axi-ad9371-tx-hpc.out_altvoltage7_TX2_Q_F2_scale
=
0.000000
axi-ad9371-tx-hpc.out_altvoltage7_TX2_Q_F2_frequency
=
1001265
axi-ad9371-tx-hpc.out_altvoltage2_TX1_Q_F1_raw
=
1
axi-ad9371-tx-hpc.out_altvoltage2_TX1_Q_F1_phase
=
0
axi-ad9371-tx-hpc.out_altvoltage2_TX1_Q_F1_scale
=
0.251160
axi-ad9371-tx-hpc.out_altvoltage2_TX1_Q_F1_frequency
=
10001402
axi-ad9371-tx-hpc.out_altvoltage1_TX1_I_F2_frequency
=
40001860
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
dds_mode_tx1
=
0
dds_mode_tx2
=
0
SYNC_RELOAD
=
1
# test receiver at 1GHz to 5 GHz
# SEQ FIRST INCREMENT LAST
<SEQ>
i
1000000000
5000000000
5000000000
[IIO Oscilloscope - Capture Window1]
# wait for device to settle
marker_type
=
Peak Markers
capture_started
=
0
cycle
=
1000
axi-ad9371-rx-hpc.voltage0_i.enabled
=
1
axi-ad9371-rx-hpc.voltage0_q.enabled
=
1
axi-ad9371-rx-hpc.voltage1_i.enabled
=
0
axi-ad9371-rx-hpc.voltage1_q.enabled
=
0
cycle
=
1000
[AD9371]
ad9371-phy.out_altvoltage1_TX_LO_frequency
=
<i>
ad9371-phy.out_altvoltage2_RX_SN_LO_frequency
=
{{<i>} + {100000000}}
ad9371-phy.out_altvoltage0_RX_LO_frequency
=
{{<i>} + {100000000}}
dds_mode_tx1
=
0
dds_mode_tx2
=
0
SYNC_RELOAD
=
1
[IIO Oscilloscope - Capture Window1]
# wait for device to settle
capture_started
=
1
cycle
=
3000
[AD9371]
# channels should be off, so RSSI should be low
test.ad9371-phy.in_voltage0_rssi.int
=
44 45
test.ad9371-phy.in_voltage1_rssi.int
=
44 45
# and gain is high
test.ad9371-phy.in_voltage0_hardwaregain.double
=
30.0 31.0
test.ad9371-phy.in_voltage0_hardwaregain.double
=
30.0 31.0
# set Tx and Rx to be the same
ad9371-phy.out_altvoltage0_RX_LO_frequency
=
<i>
dds_mode_tx1
=
1
dds_mode_tx2
=
1
SYNC_RELOAD
=
1
[IIO Oscilloscope - Capture Window1]
# wait for device to settle
marker_type
=
Single Tone Markers
cycle
=
3000
[AD9371]
ad9371-phy.out_voltage0_hardwaregain
=
0.000000 dB
ad9371-phy.out_voltage1_hardwaregain
=
0.000000 dB
# channels should be on, so RSSI should be high
test.ad9371-phy.in_voltage0_rssi.int
=
3 12
test.ad9371-phy.in_voltage1_rssi.int
=
3 12
# and gain is low
test.ad9371-phy.in_voltage0_hardwaregain.double
=
15.0 29.0
test.ad9371-phy.in_voltage0_hardwaregain.double
=
15.0 29.0
[IIO Oscilloscope - Capture Window1]
cycle
=
1000
capture_started
=
1
cycle
=
3000
save_png
=
ADRV9371_rx1_<i>.png
save_markers
=
markers.log
#look at the markers - Fundamental
test.marker.0
=
-12.0 -4.0
# DC
test.marker.1
=
-100.0 -60.0
# 2st Harmonic
test.marker.2
=
-110.0 -75.0
# 3nd Harmonic
test.marker.3
=
-110.0 -75.0
# 4th Harmonic
test.marker.4
=
-110.0 -75.0
# 4th Harmonic
test.marker.5
=
-110.0 -65.0
capture_started
=
0
cycle
=
1000
axi-ad9371-rx-hpc.voltage0_i.enabled
=
0
axi-ad9371-rx-hpc.voltage0_q.enabled
=
0
axi-ad9371-rx-hpc.voltage1_i.enabled
=
1
axi-ad9371-rx-hpc.voltage1_q.enabled
=
1
cycle
=
1000
capture_started
=
1
cycle
=
3000
save_png
=
ADRV9371_rx2_<i>.png
save_markers
=
markers.log
#look at the markers - Fundamental
test.marker.0
=
-12.0 -4.0
# DC
test.marker.1
=
-100.0 -60.0
# 2st Harmonic
test.marker.2
=
-110.0 -75.0
# 3nd Harmonic
test.marker.3
=
-110.0 -75.0
# 4th Harmonic
test.marker.4
=
-110.0 -75.0
# 4th Harmonic
test.marker.5
=
-110.0 -65.0
</SEQ>
[IIO Oscilloscope - Capture Window1]
capture_started
=
0
test.message
=
Please ensure:
\n
• ORX1 <-> Tx1
\n
• ORX22 <-> Tx2
axi-ad9371-rx-hpc.expanded
=
1
axi-ad9371-rx-hpc.active
=
0
axi-ad9371-rx-hpc.voltage0_i.enabled
=
0
axi-ad9371-rx-hpc.voltage0_q.enabled
=
0
axi-ad9371-rx-hpc.voltage1_i.enabled
=
0
axi-ad9371-rx-hpc.voltage1_q.enabled
=
0
axi-ad9371-rx-obs-hpc.expanded
=
1
axi-ad9371-rx-obs-hpc.active
=
1
axi-ad9371-rx-obs-hpc.voltage0_i.enabled
=
1
axi-ad9371-rx-obs-hpc.voltage0_q.enabled
=
1
cycle
=
1000
# test observer path at 1GHz to 5 GHz
# SEQ FIRST INCREMENT LAST
<SEQ>
i
1000000000
1000000000
5000000000
[AD9371]
# set Tx and Rx to be the same
ad9371-phy.out_altvoltage1_TX_LO_frequency
=
<i>
ad9371-phy.out_altvoltage2_RX_SN_LO_frequency
=
{{<i>} + {1000000}}
ad9371-phy.out_altvoltage0_RX_LO_frequency
=
<i>
dds_mode_tx1
=
1
dds_mode_tx2
=
1
ad9371-phy.out_voltage0_hardwaregain
=
-10.000000 dB
ad9371-phy.out_voltage1_hardwaregain
=
-10.000000 dB
ad9371-phy.in_voltage2_rf_port_select
=
ORX1_TX_LO
ad9371-phy.in_voltage2_gain_control_mode
=
manual
ad9371-phy.in_voltage2_hardwaregain
=
18.000000 dB
[IIO Oscilloscope - Capture Window1]
capture_started
=
1
cycle
=
3000
save_png
=
ADRV9371_ob1_<i>.png
save_markers
=
markers.log
#look at the markers - Fundamental
test.marker.0
=
-15.0 -5.0
# DC
test.marker.1
=
-100.0 -75.0
# 2st Harmonic
test.marker.2
=
-110.0 -75.0
# 3nd Harmonic
test.marker.3
=
-110.0 -75.0
# 4th Harmonic
test.marker.4
=
-110.0 -75.0
# 4th Harmonic
test.marker.5
=
-110.0 -65.0
[AD9371]
ad9371-phy.in_voltage2_rf_port_select
=
ORX2_TX_LO
[IIO Oscilloscope - Capture Window1]
cycle
=
1000
capture_started
=
1
cycle
=
3000
save_png
=
ADRV9371_ob2_<i>.png
save_markers
=
markers.log
#look at the markers - Fundamental
test.marker.0
=
-15.0 -4.0
# DC
test.marker.1
=
-100.0 -75.0
# 2st Harmonic
test.marker.2
=
-110.0 -75.0
# 3nd Harmonic
test.marker.3
=
-110.0 -75.0
# 4th Harmonic
test.marker.4
=
-110.0 -75.0
# 4th Harmonic
test.marker.5
=
-110.0 -65.0
</SEQ>
[IIO Oscilloscope - Capture Window1]
test.message
=
All tests passed - Ship it
quit
=
1
targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/gnb.band7.tm1.PRB100.NR40.adrv9371-zc706_HWgain15dB.ini
deleted
100644 → 0
View file @
c0b9a45a
[AD9371]
ad9371-phy.in_voltage2_rf_port_select
=
OFF