MSP430 Microcontroller Basics

2nd Edition

  • Print ISBN 9780080983264

Print book


 Not Yet Available

Expected release date: Sep 1, 2029

Pre Order


The MSP430 is a simple 16-bit microcontroller with a compact and economical CPU containing only 27 instructions and 16 registers. It offers other advantages which make it suitable for low power applications: a rich variety of peripherals for analog input and output; rapid processing wake up time; the treatment of data and address on equal footing. Introduction to the MSP430 combines a tutorial approach with a description of the CPU and main peripherals. The tutorial builds from a basic program for lighting LEDs to the use of a timer. It uses the C programming language from the start but programs are also developed in assembly language to show how a program interacts with the hardware. To demonstrate the special features of the MSP430 full coverage is given to the instruction set, sigma-delta analog-digital converters and timers. Finally, the book gives an introduction to the MSP430 which extends the architecture to address more memory and which provides a bridge to the ARM 7 processor. Contents: 1.Embedded electronic systems and microcontrollers; 2. Texas MSP430; 3. Development; 4. A simple tour of the MSP430; 5. Architecture of the MSP430; 6.Functions, interrupts and low-power modes; 7.Digital input, output and displays; 8. Timers; 9. Mixed-signal systems: Analog input and output; 10. Communication; 11. The future: MSP430X; Appendices.

Key Features

  • The only tutorial book on the MSP430
  • Uses both C and assembly language
  • A CDROM containing a development kit to help the engineer and hobbyist program the MSP430


Professional embedded systems engineers, hobbyists and engineering undergraduates.

Table of Contents

1. Embedded electronic systems and microcontrollers 1.1. What (and where) are embedded systems? 1.2. Facilities needed 1.3. Small microcontrollers 1.4. Anatomy of a typical small microcontroller 1.5. Memory 1.6. Software 1.7. Where does the MSP430 fit? 2. Texas MSP430 2.1. The outside view-pinout 2.2. The inside view-functional block diagram 2.3. Memory 2.4. Central processing unit 2.5. Memory-mapped input and output 2.6. Clock generator 2.7 Exceptions: Interrupts and resets 2.8. Where to find further information 3. Development 3.1. Development environment 3.2. The C programming language 3.3. Assembly language 3.4. Access to microcontroller for programming and debugging 3.5. Demonstration boards 3.6. Hardware 3.7. Equipment 4. A simple tour of the MSP430 4.1. First program on a conventional desktop computer 4.2. Light LEDs in C 4.3. Light LEDs in assembly language 4.4. Read input from a switch 4.5. Automatic control: flashing light by software delay 4.6. Automatic control: Use of subroutines 4.7. Automatic control: Flashing light by polling Timer_A 4.8. Header files and issues that have been brushed under the carpet 5. Architecture of the MSP430 5.1. Central processing unit 5.2. Addressing modes 5.3 Constant generator and emulated instructions 5.4. Instruction set 5.5. Examples 5.6. Reflections on the CPU instruction set 5.7. Reset 5.8. Clock system


© 2017
Print ISBN: