diff --git a/cmake_targets/build_oai b/cmake_targets/build_oai index 57f6bc953800f8857e1b3d93d9b80e9496990019..51ec38115157b15e7b9982c8bb1a29a5ff6e503a 100755 --- a/cmake_targets/build_oai +++ b/cmake_targets/build_oai @@ -535,7 +535,7 @@ function main() { if [ "$NOS1" = "1" ] ; then build_dir=noS1_ran_build if [ "$gNB" = "1" ] ; then - exec=nr-softmodem-nos1 + exec=nr-softmodem elif [ "$nrUE" = "1" ] ; then exec=nr-uesoftmodem-nos1 elif [ "$eNB" = "1" ] ; then diff --git a/cmake_targets/lte_noS1_build_oai/CMakeLists.template b/cmake_targets/lte_noS1_build_oai/CMakeLists.template new file mode 100644 index 0000000000000000000000000000000000000000..c8fc68da529fa4db87461e2b27cfeab044165061 --- /dev/null +++ b/cmake_targets/lte_noS1_build_oai/CMakeLists.template @@ -0,0 +1,9 @@ +set(ENABLE_ITTI True) +set(ENABLE_USE_MME False) +set(PDCP_USE_NETLINK True) +set(LINK_ENB_PDCP_TO_IP_DRIVER True) +set(LINK_ENB_PDCP_TO_GTPV1U False) +set(PDCP_USE_NETLINK_QUEUES False) +set(LINUX True) +set(SECU False) +set(NAS_UE False) diff --git a/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/gnb.band7.tm1.PRB100.NR40.adrv9371-zc706_HWgain15dB.ini b/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/gnb.band7.tm1.PRB100.NR40.adrv9371-zc706_HWgain15dB.ini new file mode 100644 index 0000000000000000000000000000000000000000..d5b0b8f3b666f76e3ef2a9f5e53e3ebd68cb5678 --- /dev/null +++ b/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/gnb.band7.tm1.PRB100.NR40.adrv9371-zc706_HWgain15dB.ini @@ -0,0 +1,89 @@ +[AD9371] +ad9371-phy.in_voltage2_rf_port_select = OFF +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 = 0.000000 dB +ad9371-phy.out_voltage0_quadrature_tracking_en = 1 +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 = 2680000000 +ad9371-phy.out_altvoltage2_RX_SN_LO_frequency = 2560000000 +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 = manual +ad9371-phy.in_voltage0_quadrature_tracking_en = 1 +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 = 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 +ad9371-phy.out_altvoltage0_RX_LO_frequency = 2560000000 +ad9371-phy.calibrate_rx_qec_en = 0 +ad9371-phy.calibrate_tx_lol_en = 0 +ad9371-phy.calibrate_vswr_en = 0 +ad9371-phy.calibrate_tx_qec_en = 0 +ad9371-phy.calibrate_clgc_en = 0 +ad9371-phy.ensm_mode = radio_on +ad9371-phy.calibrate_tx_lol_ext_en = 0 +ad9371-phy.calibrate_dpd_en = 0 +axi-ad9371-tx-hpc.out_altvoltage0_TX1_I_F1_phase = 90000 +axi-ad9371-tx-hpc.out_altvoltage0_TX1_I_F1_scale = 0.501160 +axi-ad9371-tx-hpc.out_altvoltage0_TX1_I_F1_frequency = 1999718 +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 = 1000327 +axi-ad9371-tx-hpc.out_altvoltage4_TX2_I_F1_frequency = 7999809 +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 = 7999809 +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 = 19998117 +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 = 1000327 +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.501160 +axi-ad9371-tx-hpc.out_altvoltage2_TX1_Q_F1_frequency = 1999718 +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/profileNR40MHz.txt +dds_mode_tx1 = 1 +dds_mode_tx2 = 1 +dac_buf_filename = /usr/local/lib/osc/waveforms/LTE20.mat +tx_channel_0 = 1 +tx_channel_1 = 1 +tx_channel_2 = 0 +tx_channel_3 = 0 +global_settings_show = 1 +tx_show = 1 +rx_show = 1 +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 = 46 diff --git a/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/gnb.band7.tm1.PRB100.NR80.adrv9371-zc706_HWgain15dB.ini b/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/gnb.band7.tm1.PRB100.NR80.adrv9371-zc706_HWgain15dB.ini new file mode 100644 index 0000000000000000000000000000000000000000..65006f3365481e2ed6300c56c075c2c854329015 --- /dev/null +++ b/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/gnb.band7.tm1.PRB100.NR80.adrv9371-zc706_HWgain15dB.ini @@ -0,0 +1,89 @@ +[AD9371] +ad9371-phy.in_voltage2_rf_port_select = OFF +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 = 0.000000 dB +ad9371-phy.out_voltage0_quadrature_tracking_en = 1 +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 = 2680000000 +ad9371-phy.out_altvoltage2_RX_SN_LO_frequency = 2560000000 +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 = manual +ad9371-phy.in_voltage0_quadrature_tracking_en = 1 +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 = 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 +ad9371-phy.out_altvoltage0_RX_LO_frequency = 2560000000 +ad9371-phy.calibrate_rx_qec_en = 0 +ad9371-phy.calibrate_tx_lol_en = 0 +ad9371-phy.calibrate_vswr_en = 0 +ad9371-phy.calibrate_tx_qec_en = 0 +ad9371-phy.calibrate_clgc_en = 0 +ad9371-phy.ensm_mode = radio_on +ad9371-phy.calibrate_tx_lol_ext_en = 0 +ad9371-phy.calibrate_dpd_en = 0 +axi-ad9371-tx-hpc.out_altvoltage0_TX1_I_F1_phase = 90000 +axi-ad9371-tx-hpc.out_altvoltage0_TX1_I_F1_scale = 0.501160 +axi-ad9371-tx-hpc.out_altvoltage0_TX1_I_F1_frequency = 1999718 +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 = 1000327 +axi-ad9371-tx-hpc.out_altvoltage4_TX2_I_F1_frequency = 7999809 +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 = 7999809 +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 = 19998117 +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 = 1000327 +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.501160 +axi-ad9371-tx-hpc.out_altvoltage2_TX1_Q_F1_frequency = 1999718 +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/profileNR80MHz.txt +dds_mode_tx1 = 1 +dds_mode_tx2 = 1 +dac_buf_filename = /usr/local/lib/osc/waveforms/LTE20.mat +tx_channel_0 = 1 +tx_channel_1 = 1 +tx_channel_2 = 0 +tx_channel_3 = 0 +global_settings_show = 1 +tx_show = 1 +rx_show = 1 +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 = 46 diff --git a/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/gnb.band7.tm1.PRB100.adrv9371-zc706_HWgain15dB.ini b/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/gnb.band7.tm1.PRB100.adrv9371-zc706_HWgain15dB.ini new file mode 100644 index 0000000000000000000000000000000000000000..63074daad595132a0976959d948c9d50d7b167dd --- /dev/null +++ b/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/gnb.band7.tm1.PRB100.adrv9371-zc706_HWgain15dB.ini @@ -0,0 +1,89 @@ +[AD9371] +ad9371-phy.in_voltage2_rf_port_select = OFF +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 = 0.000000 dB +ad9371-phy.out_voltage0_quadrature_tracking_en = 1 +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 = 2680000000 +ad9371-phy.out_altvoltage2_RX_SN_LO_frequency = 2560000000 +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 = manual +ad9371-phy.in_voltage0_quadrature_tracking_en = 1 +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 = 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 +ad9371-phy.out_altvoltage0_RX_LO_frequency = 2560000000 +ad9371-phy.calibrate_rx_qec_en = 0 +ad9371-phy.calibrate_tx_lol_en = 0 +ad9371-phy.calibrate_vswr_en = 0 +ad9371-phy.calibrate_tx_qec_en = 0 +ad9371-phy.calibrate_clgc_en = 0 +ad9371-phy.ensm_mode = radio_on +ad9371-phy.calibrate_tx_lol_ext_en = 0 +ad9371-phy.calibrate_dpd_en = 0 +axi-ad9371-tx-hpc.out_altvoltage0_TX1_I_F1_phase = 90000 +axi-ad9371-tx-hpc.out_altvoltage0_TX1_I_F1_scale = 0.501160 +axi-ad9371-tx-hpc.out_altvoltage0_TX1_I_F1_frequency = 1999718 +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 = 1000327 +axi-ad9371-tx-hpc.out_altvoltage4_TX2_I_F1_frequency = 7999809 +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 = 7999809 +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 = 19998117 +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 = 1000327 +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.501160 +axi-ad9371-tx-hpc.out_altvoltage2_TX1_Q_F1_frequency = 1999718 +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/profile20MHz.txt +dds_mode_tx1 = 1 +dds_mode_tx2 = 1 +dac_buf_filename = /usr/local/lib/osc/waveforms/LTE20.mat +tx_channel_0 = 1 +tx_channel_1 = 1 +tx_channel_2 = 0 +tx_channel_3 = 0 +global_settings_show = 1 +tx_show = 1 +rx_show = 1 +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 = 46 diff --git a/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/profile20MHz.txt b/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/profile20MHz.txt new file mode 100644 index 0000000000000000000000000000000000000000..ac20ab2663cf34f2c4ae2f91c02152c5e15b8c92 --- /dev/null +++ b/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/profile20MHz.txt @@ -0,0 +1,285 @@ +<profile AD9371 version=0 name=Rx 20, IQrate 30.720> + <clocks> + <deviceClock_kHz=122880> + <clkPllVcoFreq_kHz=9830400> + <clkPllVcoDiv=2> + <clkPllHsDiv=4> + </clocks> + + <rx> + <adcDiv=1> + <rxFirDecimation=4> + <rxDec5Decimation=5> + <enHighRejDec5=1> + <rhb1Decimation=2> + <iqRate_kHz=30720> + <rfBandwidth_Hz=20000000> + <rxBbf3dBCorner_kHz=20000> + + <filter FIR gain=-6 num=72> + 0 + 2 + 4 + 3 + -4 + -14 + -21 + -12 + 17 + 56 + 73 + 39 + -53 + -159 + -198 + -101 + 129 + 377 + 457 + 229 + -274 + -793 + -951 + -482 + 527 + 1564 + 1899 + 1011 + -978 + -3154 + -4109 + -2611 + 1669 + 7795 + 13807 + 17524 + 17524 + 13807 + 7795 + 1669 + -2611 + -4109 + -3154 + -978 + 1011 + 1899 + 1564 + 527 + -482 + -951 + -793 + -274 + 229 + 457 + 377 + 129 + -101 + -198 + -159 + -53 + 39 + 73 + 56 + 17 + -12 + -21 + -14 + -4 + 3 + 4 + 2 + 0 + </filter> + + <adc-profile num=16> + 599 + 357 + 201 + 98 + 1280 + 112 + 1505 + 53 + 1331 + 21 + 820 + 40 + 48 + 40 + 23 + 191 + </adc-profile> + </rx> + + <obs> + <adcDiv=1> + <rxFirDecimation=2> + <rxDec5Decimation=5> + <enHighRejDec5=1> + <rhb1Decimation=2> + <iqRate_kHz=61440> + <rfBandwidth_Hz=50000000> + <rxBbf3dBCorner_kHz=25000> + + <filter FIR gain=0 num=72> + 0 + -1 + 1 + 2 + -2 + -6 + 6 + 12 + -13 + -24 + 25 + 43 + -45 + -73 + 77 + 118 + -124 + -183 + 193 + 274 + -289 + -402 + 423 + 579 + -607 + -826 + 866 + 1187 + -1244 + -1759 + 1842 + 2818 + -2970 + -5815 + 4337 + 18436 + 18436 + 4337 + -5815 + -2970 + 2818 + 1842 + -1759 + -1244 + 1187 + 866 + -826 + -607 + 579 + 423 + -402 + -289 + 274 + 193 + -183 + -124 + 118 + 77 + -73 + -45 + 43 + 25 + -24 + -13 + 12 + 6 + -6 + -2 + 2 + 1 + -1 + 0 + </filter> + + <adc-profile num=16> + 596 + 358 + 201 + 98 + 1280 + 134 + 1509 + 64 + 1329 + 25 + 818 + 39 + 48 + 40 + 23 + 190 + </adc-profile> + + <lpbk-adc-profile num=16> + 599 + 357 + 201 + 98 + 1280 + 112 + 1505 + 53 + 1331 + 21 + 820 + 40 + 48 + 40 + 23 + 191 + </lpbk-adc-profile> + </obs> + + <tx> + <dacDiv=2.5> + <txFirInterpolation=2> + <thb1Interpolation=2> + <thb2Interpolation=2> + <txInputHbInterpolation=1> + <iqRate_kHz=61440> + <primarySigBandwidth_Hz=20000000> + <rfBandwidth_Hz=50000000> + <txDac3dBCorner_kHz=92000> + <txBbf3dBCorner_kHz=25000> + + <filter FIR gain=0 num=32> + -118 + -122 + 242 + 240 + -429 + -499 + 730 + 900 + -1154 + -1615 + 1742 + 2957 + -2322 + -5354 + 3885 + 17211 + 17211 + 3885 + -5354 + -2322 + 2957 + 1742 + -1615 + -1154 + 900 + 730 + -499 + -429 + 240 + 242 + -122 + -118 + </filter> + </tx> +</profile> diff --git a/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/profileNR40MHz.txt b/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/profileNR40MHz.txt new file mode 100644 index 0000000000000000000000000000000000000000..4758e8d4750e65003530e8a3a29435da4c8ba42c --- /dev/null +++ b/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/profileNR40MHz.txt @@ -0,0 +1,245 @@ +<profile AD9371 version=0 name=Rx 40, IQrate 61.440> + <clocks> + <deviceClock_kHz=122880> + <clkPllVcoFreq_kHz=9830400> + <clkPllVcoDiv=2> + <clkPllHsDiv=4> + </clocks> + + <rx> + <adcDiv=1> + <rxFirDecimation=2> + <rxDec5Decimation=5> + <enHighRejDec5=1> + <rhb1Decimation=2> + <iqRate_kHz=61440> + <rfBandwidth_Hz=40000000> + <rxBbf3dBCorner_kHz=40000> + + <filter FIR gain=-6 num=72> + 2 + 0 + -6 + -7 + 8 + 20 + 0 + -39 + -31 + 46 + 86 + -12 + -149 + -88 + 168 + 253 + -73 + -424 + -188 + 478 + 596 + -265 + -1015 + -326 + 1184 + 1262 + -778 + -2301 + -506 + 2949 + 2877 + -2404 + -6653 + -1392 + 13380 + 26614 + 26614 + 13380 + -1392 + -6653 + -2404 + 2877 + 2949 + -506 + -2301 + -778 + 1262 + 1184 + -326 + -1015 + -265 + 596 + 478 + -188 + -424 + -73 + 253 + 168 + -88 + -149 + -12 + 86 + 46 + -31 + -39 + 0 + 20 + 8 + -7 + -6 + 0 + 2 + </filter> + + <adc-profile num=16> + 599 + 357 + 201 + 98 + 1280 + 112 + 1505 + 53 + 1331 + 21 + 820 + 40 + 48 + 40 + 23 + 191 + </adc-profile> + </rx> + + <obs> + <adcDiv=1> + <rxFirDecimation=2> + <rxDec5Decimation=5> + <enHighRejDec5=1> + <rhb1Decimation=1> + <iqRate_kHz=122880> + <rfBandwidth_Hz=80000000> + <rxBbf3dBCorner_kHz=40000> + + <filter FIR gain=0 num=48> + 1 + -1 + -1 + 5 + 1 + -15 + 7 + 40 + -34 + -94 + 102 + 202 + -242 + -400 + 500 + 752 + -943 + -1370 + 1711 + 2555 + -3333 + -6499 + 4207 + 19532 + 19532 + 4207 + -6499 + -3333 + 2555 + 1711 + -1370 + -943 + 752 + 500 + -400 + -242 + 202 + 102 + -94 + -34 + 40 + 7 + -15 + 1 + 5 + -1 + -1 + 1 + </filter> + + <adc-profile num=16> + 563 + 372 + 201 + 98 + 1280 + 328 + 1550 + 171 + 1317 + 66 + 804 + 33 + 48 + 39 + 23 + 189 + </adc-profile> + + <lpbk-adc-profile num=16> + 599 + 357 + 201 + 98 + 1280 + 112 + 1505 + 53 + 1331 + 21 + 820 + 40 + 48 + 40 + 23 + 191 + </lpbk-adc-profile> + </obs> + + <tx> + <dacDiv=2.5> + <txFirInterpolation=1> + <thb1Interpolation=2> + <thb2Interpolation=2> + <txInputHbInterpolation=1> + <iqRate_kHz=122880> + <primarySigBandwidth_Hz=40000000> + <rfBandwidth_Hz=40000000> + <txDac3dBCorner_kHz=92000> + <txBbf3dBCorner_kHz=20000> + + <filter FIR gain=6 num=16> + -5 + 425 + 278 + 34 + -477 + -1123 + -1664 + 21975 + -1664 + -1123 + -477 + 34 + 278 + 425 + -5 + 0 + </filter> + </tx> +</profile> diff --git a/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/profileNR80MHz.txt b/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/profileNR80MHz.txt new file mode 100644 index 0000000000000000000000000000000000000000..3db078ce388942f427cec06018e9bc8969174122 --- /dev/null +++ b/targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/profileNR80MHz.txt @@ -0,0 +1,197 @@ +<profile AD9371 version=0 name=Rx 80, IQrate 122.880> + <clocks> + <deviceClock_kHz=122880> + <clkPllVcoFreq_kHz=9830400> + <clkPllVcoDiv=2> + <clkPllHsDiv=4> + </clocks> + + <rx> + <adcDiv=1> + <rxFirDecimation=2> + <rxDec5Decimation=5> + <enHighRejDec5=1> + <rhb1Decimation=1> + <iqRate_kHz=122880> + <rfBandwidth_Hz=80000000> + <rxBbf3dBCorner_kHz=80000> + + <filter FIR gain=-6 num=48> + 1 + -1 + -1 + 3 + -2 + -11 + 17 + 33 + -64 + -83 + 175 + 193 + -399 + -414 + 801 + 831 + -1477 + -1589 + 2632 + 3042 + -5102 + -7664 + 9765 + 32678 + 32678 + 9765 + -7664 + -5102 + 3042 + 2632 + -1589 + -1477 + 831 + 801 + -414 + -399 + 193 + 175 + -83 + -64 + 33 + 17 + -11 + -2 + 3 + -1 + -1 + 1 + </filter> + + <adc-profile num=16> + 563 + 372 + 201 + 98 + 1280 + 328 + 1550 + 171 + 1317 + 66 + 804 + 33 + 48 + 39 + 23 + 189 + </adc-profile> + </rx> + + <obs> + <adcDiv=1> + <rxFirDecimation=1> + <rxDec5Decimation=5> + <enHighRejDec5=1> + <rhb1Decimation=1> + <iqRate_kHz=245760> + <rfBandwidth_Hz=160000000> + <rxBbf3dBCorner_kHz=80000> + + <filter FIR gain=0 num=24> + -62 + 147 + -188 + 22 + 500 + -1359 + 2233 + -2368 + 656 + 2432 + -9845 + 24506 + 24506 + -9845 + 2432 + 656 + -2368 + 2233 + -1359 + 500 + 22 + -188 + 147 + -62 + </filter> + + <adc-profile num=16> + 491 + 375 + 201 + 98 + 1280 + 514 + 1728 + 570 + 1455 + 443 + 882 + 27 + 48 + 39 + 25 + 205 + </adc-profile> + + <lpbk-adc-profile num=16> + 563 + 372 + 201 + 98 + 1280 + 328 + 1550 + 171 + 1317 + 66 + 804 + 33 + 48 + 39 + 23 + 189 + </lpbk-adc-profile> + </obs> + + <tx> + <dacDiv=2.5> + <txFirInterpolation=1> + <thb1Interpolation=2> + <thb2Interpolation=1> + <txInputHbInterpolation=1> + <iqRate_kHz=245760> + <primarySigBandwidth_Hz=80000000> + <rfBandwidth_Hz=80000000> + <txDac3dBCorner_kHz=92000> + <txBbf3dBCorner_kHz=40000> + + <filter FIR gain=6 num=16> + -9 + 505 + 324 + 24 + -598 + -1381 + -2036 + 23360 + -2036 + -1381 + -598 + 24 + 324 + 505 + -9 + 0 + </filter> + </tx> +</profile> diff --git a/targets/RT/USER/nr-softmodem.c b/targets/RT/USER/nr-softmodem.c index 4c00d9319f610deb36ae442ca1ab017e1b928e70..b6d020500c55ac0f5eaf525daa9e6d44562c7bea 100644 --- a/targets/RT/USER/nr-softmodem.c +++ b/targets/RT/USER/nr-softmodem.c @@ -159,7 +159,7 @@ double bw = 10.0e6; static int tx_max_power[MAX_NUM_CCs]; /* = {0,0}*/; -char rf_config_file[1024]; +char rf_config_file[1024]="./targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/gnb.band7.tm1.PRB100.NR40.adrv9371-zc706_HWgain15dB.ini"; int chain_offset=0; int phy_test = 0;