Giter Site home page Giter Site logo

tsfreesync's Introduction

#####################################################################
Timestamp Free Synchronization

Written by:

M.Overdick, J.E.Canfield, A.G.Klein
#####################################################################

This is a simple instruction file on how to build this project.

1) First make sure you have CMake, the oecore cross compiler, and the UHD API installed on your
machine.

2) For ./masternode, ./slavenode, ./rxnode, and ./txnode folder you need to create a build folder for each program you want to build.

3) Inside each build folder, call the following commands:

    source /usr/local/oecore-x86_64/environment-setup-armv7ahf-vfp-neon-oe-linux-gnueabi

    cmake .. -DCMAKE_TOOLCHAIN_FILE=$OECORE_NATIVE_SYSROOT/usr/share/cmake/OEToolchainConfig.cmake

This configures the build environment for cross compiling.

4) In each build directory you can now call "make" to build the MasterNode, SlaveNode, RXNode, and TXNode

##################################
A little about each program
##################################

MasterNode:
    The masternode is a simple program that listens on one channel for a "ping" from the slave node. When it detecs one, it returns a time reversed response of the "ping" signal it received back to the slave at known delay.
    
SlaveNode:
    The slavenode sends "pings" to the masternode constantly, it uses the time between transmitting and receiving a "ping" to determine the phase of the clock on the masternode, and then adjusts its own clock accordingly.
    
RXNode:
    RXNode is for recording two channels for a configurable amount of time. After the recording is completed, the files are saved to a *.dat file for analysis in applications such as Octave and MATLAB.
    
TXNode:
    TXNode is for transmitting pulses on two channels indefinitely. This program is intended for diagnostics of the USRP hardware to test the phase difference between TX channels on the device and RX channels on a recording device such as the RXNode. 

tsfreesync's People

Contributors

mwsoverdick avatar aspectlab avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.