Skip to content

A basic software UART application for TI MSP430x2xx. Using GCC/make/splint. Suitable to use with the Launchpad.

Notifications You must be signed in to change notification settings

LarsH/msp430-uart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MSP430 Software UART

This is a basic software UART application for TI MSP430x2xx. The toolchain uses GCC/make/splint. This project is suitable to use with the Launchpad as a base for other projects.

Quick start

sudo apt-get install make splint gcc-msp430 mspdebug screen git
git clone https://github.com/LarsH/msp430-uart.git
cd msp430-uart
make program
screen /dev/ttyACM0 9600

The screen should not be detached from, but killed, when done with the session. It is killed with the key combination

Ctrl-a k

Choosing the target MCU

The build environment reads the cpu type from the file config.mcu. It is initialized automatically, but be sure to change it if you change MCU! It is enough to just delete config.mcu and let the Makefile recreate it.

Dependencies

The project uses the msp430 port of GCC for compiling, Splint for static code analysis and GNU Make to manage the build environment. To communicate with the serial port a terminal program is needed, the program screen works fine.

Debian / Ubuntu

apt-get install make splint gcc-msp430 mspdebug screen

OS X

Package with gcc-msp430 and mspdebug:

http://code.google.com/p/osx-launchpad/downloads/list

Installing instructions for splint:

http://www.tillett.info/2010/09/21/installing-splint-on-mac-osx/

About

A basic software UART application for TI MSP430x2xx. Using GCC/make/splint. Suitable to use with the Launchpad.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages