Tree [8ec515] bzr/mspgcc-examples /
 History



File Date Author Commit
 bufferedUSART 2006-03-13 cliechti <> [99e68c] doc updates:
 char_lcd 2006-03-13 cliechti <> [99e68c] doc updates:
 cplusplus 2006-03-13 cliechti <> [99e68c] doc updates:
 fet_spi_irq 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 gfx_lcd 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 i2c_spy 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 iostructures 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 leds 2006-11-15 cliechti <> [62ee68] select 1k Flash type so that the example works ...
 libraries 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 pc_keyboard 2006-03-13 cliechti <> [99e68c] doc updates:
 rawsources 2006-03-13 cliechti <> [99e68c] doc updates:
 reed-solomon 2006-03-13 cliechti <> [99e68c] doc updates:
 slaa076a 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 slaa078a 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 slaa108a 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 slaa116 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 slaa119 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 slaa120 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 slaa123 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 slaa125a 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 slaa126a 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 slaa129 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 slaa131 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 slaa133 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 slaa136a 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 slaa138a 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 slaa150 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 slaa151 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 slaa168 2003-12-07 coppice <> [b0e64f] More TI examples converted
 slac010 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 slac011 2003-11-26 cliechti <> [af42af] - added zip archive to the dist target in the t...
 slac012 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 slac013 2003-11-26 cliechti <> [af42af] - added zip archive to the dist target in the t...
 slac014 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 slac015 2003-11-26 cliechti <> [af42af] - added zip archive to the dist target in the t...
 slac016 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 slac017 2003-11-26 cliechti <> [af42af] - added zip archive to the dist target in the t...
 slac018 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 slac019 2003-11-26 cliechti <> [af42af] - added zip archive to the dist target in the t...
 stackcheck 2006-03-13 cliechti <> [99e68c] doc updates:
 tasker 2006-03-13 cliechti <> [99e68c] doc updates:
 tcpip 2006-03-13 cliechti <> [99e68c] doc updates:
 timerA_uart 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 tools 2008-01-01 cliechti <> [f85c06] demo code of a simple BSL downloader in C
 uart_test 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 video 2008-10-09 sb-sf <> [8ec515] * New cpu added:
 LICENSE.txt 2008-01-01 cliechti <> [a4757d] update formating
 README.txt 2006-03-13 cliechti <> [99e68c] doc updates:
 makefile 2008-05-31 cliechti <> [1b5007] fix path handling with msys

Read Me

=================
 MSPGCC Examples
=================

Some of the examples are ported from TIs examples, others are part of MSPGCC.


MSPGCC examples
===============
Most examples are covered by a license_. See also the individual readmes in
the respective folders.

Applications
------------
i2c_spy_
    This program implements a I2C spy in software. The I2C data is logged
    as hex dump over the serial port. No hardware support for the I2C is
    needed, which means this application can run a F123.

Simple
------
leds_
    A very simple example that blinks with LEDs on P1OUT and P2OUT.

U(S)ART/RS232
-------------
bufferedUSART_
    Hardware USART with interrupts, buffering.

timerA_uart_
    Software UART with the help of the Timer_A module.

uart_test_
    Simple Hardware USART test.

LCDs
----
char_lcd_
    Character LCD example.

gfx_lcd_
    Graphics LCD example.

Other
-----
.. pc_keyboard_
..     An unfinished example: connecting a PC PS/2 keyboard to a MSP430.

cplusplus_
    Examples for the C++ compiler.

fet_spi_irq_
    SPI over the shared JTAG/IO Pings on e.g. the F1121 or F123
    (Software implemented slave). And PC software to emulate a SPI
    master over the JTAG interface.

iostructures_
    Demonstration of iostructures.h which enables struct/bitfield access
    to the IO ports.

libraries_
    This folder contains several examples that use the libmspgcc or libspi
    libraries, that are included with MSPGCC.

rawsources_
    A collection of functions.

reed-solomon_
    A implementation of the reed-solomon encoding.

stackcheck_
    This example can be used as base for runtime stack checking.
    It initializes unused memory and places a marker behind the
    variables. A function can be called to check for this marker
    and detect stack overflows.

tasker_
    A cooperative multitasking kernel.

tcpip_
    The easyweb example from slaa137 ported for MSPGCC.

video_
    Video games using a F1121, 2 resitors, a crystal, and a joystick.


.. _i2c_spy: i2c_spy/README.html
.. _leds: leds/README.html
.. _bufferedUSART: bufferedUSART/README.html
.. _timerA_uart: timerA_uart/README.html
.. _uart_test: uart_test/README.html
.. _char_lcd: char_lcd/README.html
.. _gfx_lcd: gfx_lcd/README.html
.. _pc_keyboard: pc_keyboard/README.html
.. _cplusplus: cplusplus/README.html
.. _fet_spi_irq: fet_spi_irq/README.html
.. _iostructures: iostructures/README.html
.. _libraries: libraries/README.html
.. _rawsources: rawsources/README.html
.. _reed-solomon: reed-solomon/README.html
.. _stackcheck: stackcheck/README.html
.. _tasker: tasker/README.html
.. _tcpip: tcpip/README.html
.. _video: video/README.html
.. _license: LICENSE.html


TI's application notes
======================

The examples in the directories beginning with ``slac`` are the examples from
the similarly named packages of examples available at the Texas Instruments
web site. These copies have been adapted for the MSPGCC compiler. This means:

- The interrupt routines are defined slightly differently, to suit the
  syntax of GCC,
- The main routines are now defined as ``int main(void)``
- The headers ``io.h`` and ``signal.h`` are included, instead of the device
  specific headers used in the original packages.
- Make files have been added. The original Texas Instruments example packages
  do not include make files.

The ported sources for the following application notes are available:

- slaa076a_     *Implementing a Real-Time Clock on the MSP430 (Rev. A)*
- slaa078a_     *Implementing a UART Function with Timer_A3 (Rev. A)*
- slaa108a_     *SPI-Based Data Acquisition/Monitor Using the TLC2551 Serial ADC ...*
- slaa116_      *Using PWM Timer_B as a DAC*
- slaa119_      *UltraLow Power RC Timer Implementation Using MSP430*
- slaa120_      *PWM DC Motor Control Using Timer A of the MSP430*
- slaa123_      *Solid State Voice Recorder Using Flash MSP430*
- slaa125a_     *Implementing a Direct Thermocouple Interface With MSP430x4xx and ADS1240*
- slaa126a_     *Interfacing the TLC3544/48 ADC to the MSP430F149 (Rev. A)*
- slaa129_      *Digital Fan Control with Tachometer using MSP430*
- slaa131_      *A Low-Cost 12-bits Speech CODEC Using the MSP430F13x*
- slaa133_
- slaa136a_     *Ultrasonic Distance Measurement with the MSP430 (Rev. A)*
- slaa138a_     *An Electronic Water Meter Design Using MSP430F41x (Rev. A)*
- slaa150_      *Interfacing the ADS8364 ADC to the MSP430F149*
- slaa151_      *Interfacing the MSP430 and TMP100 I2C Temperature Sensor*
- slaa168_      *Interfacing the TLC2552 and TLV2542 to the MSP430F149*
- slac010_      *FET110*
- slac011_      *FET110*
- slac012_      *FET120*
- slac013_      *FET120*
- slac014_      *FET140*
- slac015_      *FET140*
- slac016_      *FET410*
- slac017_      *FET410*
- slac018_      *FET440*
- slac019_      *FET440*


.. _slaa076a: slaa076a
.. _slaa078a: slaa078a
.. _slaa108a: slaa108a
.. _slaa116:  slaa116
.. _slaa119:  slaa119
.. _slaa120:  slaa120
.. _slaa123:  slaa123
.. _slaa125a: slaa125a
.. _slaa126a: slaa126a
.. _slaa129:  slaa129
.. _slaa131:  slaa131
.. _slaa133:  slaa133
.. _slaa136a: slaa136a
.. _slaa138a: slaa138a
.. _slaa150:  slaa150
.. _slaa151:  slaa151
.. _slaa168:  slaa168
.. _slac010:  slac010
.. _slac011:  slac011
.. _slac012:  slac012
.. _slac013:  slac013
.. _slac014:  slac014
.. _slac015:  slac015
.. _slac016:  slac016
.. _slac017:  slac017
.. _slac018:  slac018
.. _slac019:  slac019

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks