This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Embedded programming tutorials with the MSP430

Other Parts Discussed in Thread: ENERGIA

Hi everyone,

I am starting a series of tutorials on embedded programming based on the MSP430 and the new TI msp430-gcc compiler. The tutorials will be covering the following topics

  • Setting up the development environment: downloading and compiling the toolchain & debugging tools. IDE options.
  • Compiling, downloading and running your first program – the blinking LED
  • Build tools overview: Discuss the different tools in gcc/binutils what they do, what they are used for. In depth on compilation, object files, start-up code automatically inserted by gcc and what it does. Understanding the MSP430 ABI to do advanced debugging.
  • Interrupts: vectors, priorities , NMI vs MI, nested interrupts, ISRs and context switching
  • Memory: types of memory RAM, flash, heap, stack etc... memory map of the device
  • Super-loop vs task based systems: pros and cons. Explanations and examples.
  • Clocking and timers: system clock, clock sources, timers, watchdog
  • UART basics: using the built-in UART to interface with a PC.
  • Buffering/Queuing: types of queues, why we need to queue data (using UART as an example), introduction to critical sections/shared memory
  • Writing a basic command line interface with a few simple commands
  • I2C and SPI peripherals
  • And more…

If you are interested come us out at simplyembedded.org

Thanks,

Chris

  • Hi

    Chris, very nice. I am interested on learning on the side a bit more about the MSP430. I usually only use Energia compiler for it so i don't know much about the MSP430.

    Can i ask why use the virtual box with unbutu? Won't it work on Windows?

  • Hi Luis,

    TI supports both Windows and Linux, but I have chosen to teach the tutorials in Linux because I like using the open source tools - like gcc. In my opinion, Linux tends to be a better OS to develop on because there are tons of easily accessible utilities that are all free. Running some of these tools in Windows is possible using programs like cygwin, but there is no advantage to doing it. Its really just a matter of preference, but learning a new OS like Linux is a valuable skill to have!

**Attention** This is a public forum