# SDR_Matlab_LTE **Repository Path**: flyingrunsnail/SDR_Matlab_LTE ## Basic Information - **Project Name**: SDR_Matlab_LTE - **Description**: :satellite: Using Software Designed Radio to transmit LTE downlink signals at 2.4 GHz - **Primary Language**: Matlab - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2021-08-03 - **Last Updated**: 2021-08-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SDR_Matlab_LTE This simple OFDM demo is based on LTE downlink format for testing SDR hardware. Using Software Designed Radio (SDR) to transmit OFDM signals at 2.4 GHz. Transmitter and Receiver hardware : Zedboard (Xilinx Zynq®-7000) + AD9361 (Analog Device-FMCOMMS3) ![Program GUI_RX](Readme_image/Hardware.jpg) # Software needed : * Matlab (R2018a version in this example) * [Libiio Library](https://github.com/analogdevicesinc/libiio/releases) * [Zynq Linux Image](https://wiki.analog.com/resources/tools-software/linux-software/zynq_images) (2015_R2-2016_07_26 version in this example) # Code Structure : Please open Matlab windows to run * `Main_self.m` for one transceiver * `Main_TwoBoard.m` for transmitter and receiver # GUI_RX ![Program GUI_RX](Readme_image/GUI_RX.png) Video Demo : https://youtu.be/jywNhMAHi7Y ![Program GUI gif](Readme_image/GUI_gif.gif) ## TX RX Hardware Parameters | Center Frequency | 2.4 GHz | |:--------------------------------:|:--------------------------------:| | Bandwidth | 10 MHz | | Sampling Rate | 15.36 MS/s | | Mapping | 64 QAM | | FFT Size | 1024 | | Cyclic Prefix Length | 512 | | Resource Block | 50 | | Samples Per Frame | 307200 | | PC Host IP address | 192.168.3.1 | | TX IP address | 192.168.3.6 | | RX IP address | 192.168.3.7 | # The way to change Hardware IP / Mac address Edit `/etc/init.d/rc.local` file in Linux OS ``` ## Change MAC address sudo ifconfig eth0 down sudo ifconfig eth0 hw ether 00:0A:35:00:01:23 sudo ifconfig eth0 up ``` Then, use router DHCP hand setting mode to distribute network configuration parameters : ![Router setting](Readme_image/RouterSetting.png) # Hardware shut down process To shut down the hardware properly, execute the commands below. Enter Linux by ssh : ``` ssh analog@192.168.3.X ``` Default password : ``` analog ``` Shutdown command : ``` sudo shutdown -h now ```