Giter VIP home page Giter VIP logo

tnc1101's Introduction

tnc1101

Semi-virtual TNC using MSP430 + CC1101 RF module to send data blocks over the air and a host client application to handle AX.25/KISS protocol

#Introduction

It assumes the following architecture is in place:


+--------------------------------------+
| Host         Rasp-Pi, whatever...    |
|                                      |
|         TCP/IP                       |
|           |                          |
|  +-----------------------+           |
|  | ax0 network interface |           |
|  +-----------------------+           |
|           ^                          |
|           | AX.25/KISS               |
|           V                          |
|     /var/ax25/axp1                   |
|           |                          |
|           | Virtual serial cable     | 
|           |                          |
|     /var/ax25/axp2                   |
|           ^                          |
|           |                          |
|           V                          |
|   +--------------------+             |
|   | tnc1101 vitual TNC |<- User parameters
|   +--------------------+             |
|           ^                          |
+-----------|--------------------------+
            | Serial over USB
+-----------|--------------------------+
| MCU       |             MSP430F5529  |
|           v             Launchpad    |
|   +------------------------+         |
|   | CC1101 control program |         |
|   +------------------------+         |
|           ^                          |
+-----------|--------------------------+
            | SPI
            |                   \\|/
            V                    |
    +-----------------+          |
    | CC1101 module   |----------+
    +-----------------+

The application has two main components

  • The MCU (MSP430F5529 Launchpad board) interface with the CC1101 RF module in msp430 folder. It comprises the follwing functions:
    • Initialize the CC1101 chip with parameters specified by the host client application
    • Handle the CC1101 Rx and Tx 64 bytes FIFOs to handle data blocks up to 255 bytes called "radio blocks"
  • The client application on the host that communicate with the MCU over USB. Located in tnc1101 folder it does the following:
    • Instructs the MCU to initialize the CC1101 module with the desired parameters
    • Interface with the TNC end of the virtual serial link cable. See "AX.25/KISS operation" chapter about details on this virtual "cable".
    • Handle KISS blocks and split them over radio blocks of up to 255 bytes
    • Move radio blocks back and forth to the MCU via USB
    • Provides diagnostics

Additional folders:

  • The USB stack and interface to other functionnalities of the MSP430F5529 Launchpad board (SPI, ...) from TI are located in MSP430_USB_API folder.
  • The interface with the CC1101 module is located in MSP430_cc1101
  • Common files interfacing host and MCU software are located in the common folder
  • The scripts directory contains convenience shell scripts to set-up and bring down AX25/KISS or SLIP interfaces

tnc1101's People

Contributors

f4exb 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.