Skip to content

VNDJ/gr-cdma

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gr-cdma

This is the gr-cdma out-of-tree package. To use the cdma blocks, the Python namespaces is in 'cdma', which is imported as:

import cdma

See the Doxygen documentation for details about the blocks available in this package. A quick listing of the details can be found in Python after importing by using:

help(cdma)

For the impatient:

  1. Download gr-cdma from github

git clone https://github.com/anastas/gr-cdma.git

  1. Edit the file gr-cdma/python/cdma_parameters.py (line 97) and set the prefix variable with your gr-cdma trunk directory.

prefix="YOUR_PREFIX_HERE/gr-cdma" # put the prefix of your gr-cdma trunk

  1. Build the package

mkdir build_cdma

cd build_cdma

cmake -DENABLE_DOXYGEN=ON ../gr-cdma

make

sudo make install

sudo ldconfig

  1. compile hierarchical blocks and play with built in app

cd gr-cdma/apps

gnuradio-companion &

In the gnuradio-companion environment

-- Load the hier blocks (compile one at a time and reload each time)

"amp_var_est_hier.grc",

"cdma_tx_hier.grc",

"chopper_correlator.grc",

"cdma_rx_hier.grc",

"cdma_tx_hier1.grc",

"cdma_rx_hier1.grc"

and compile them

-- Reload all blocks in grc

-- Load the application "cdma_txrx.grc" or "cdma_txrx1.grc" and have fun

Experiment with manual acq/tra, auto acq/tra, changing freq and timing offset, SNR, modulation/coding type, etc

-- If you have 2 USRPs load the cdma_tx.grc and cdma_rx.grc and enjoy real-time CDMA transmission. You can also use the cdma_tx.grc and cdma_rx.grc by writting and reading to a fifo (first do > mkfifo /tmp/cdma.fifo)

This module has been tested with gnuradio 3.6.7 but the "cdma_txrx1.grc" application requires some additional functionality that is currently under review (October 2014) and will soon be incorporated in the master branch.

About

a cdma physical layer for Gnuradio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CMake 39.7%
  • C++ 34.8%
  • Python 24.8%
  • C 0.7%