Giter VIP home page Giter VIP logo

msp430softserial's Introduction

/**
 * Launchpad compatible full-duplex software UART example program.
 * 
 * This example program implements an async serial echo program.
 * To test it, use a terminal program such as putty or
 * hyperterminal, connect to the COM port associated with your
 * launchpad device, and type away. Whatever you type will be
 * echoed back to you. The default settings are 9600-8-N-1
 * as defined in the config.h file.
 * 
 * The code illustrates how to utilize the full-duplex interrupt
 * driven software UART routines from softserial.c
 *  
 * CPU speed and baud rate are set in config.h. The software
 * might drive the TX and RX signals up to 230400 baud
 * depending on the accuracy of your SMCLK. To get a baud rate
 * greater than 9600 you will have to use something like
 * an FT232RL device and a fast CPU speed. Using the integrated
 * COM port of the launchpad, the baud rate is limited to 9600
 * as stated in the launchpad user guide.
 * 
 * This software monopolizes the TIMERA0_VECTOR and TIMERA1_VECTOR
 * interrupts. This code assumes you are using a TI Launchpad
 * with an msp430g2231 in the socket, and the external watch
 * crystal soldered on the board. However it should work with
 * any mps430 device you can put in the launchpad socket. It
 * uses about 800bytes of flash.
 * 
 * This software is s mismash of various chunks of code 
 * available on the net, with my own special seasoning. Mostly
 * inspired by Appnote sla307a, the arduino HardwareSerial.cpp
 * source, and various postings on the TI e2e forum.
 * 
 * License: Do with this code what you want. However, don't blame
 * me if you connect it to a heart pump and it stops.  This source
 * is provided as is with no warranties. It probably has bugs!!
 * You have been warned!
 * 
 * Author: Rick Kimball
 * email: [email protected]
 * Version: 1.0 Initial version 04-20-2011
 * 
 */

msp430softserial's People

Contributors

rickkimball avatar

Watchers

 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.