MSP430 Microcontroller Basics - 1st Edition - ISBN: 9780750682763, 9780080951577

MSP430 Microcontroller Basics

1st Edition

Authors: John Davies John Davies
eBook ISBN: 9780080951577
eBook ISBN: 9780080558554
Paperback ISBN: 9780750682763
Imprint: Newnes
Published Date: 21st August 2008
Page Count: 688
Tax/VAT will be calculated at check-out
15% off
15% off
15% off
15% off
File Compatibility per Device

PDF, EPUB, VSB (Vital Source):
PC, Apple Mac, iPhone, iPad, Android mobile devices.

Amazon Kindle eReader.

Institutional Access


The MSP430 microcontroller family offers ultra-low power mixed signal, 16-bit architecture that is perfect for wireless low-power industrial and portable medical applications. This book begins with an overview of embedded systems and microcontrollers followed by a comprehensive in-depth look at the MSP430. The coverage included a tour of the microcontroller's architecture and functionality along with a review of the development environment. Start using the MSP430 armed with a complete understanding of the microcontroller and what you need to get the microcontroller up and running!

1.Embedded Electronic Systems and Microcontrollers; 2. The Texas Instruments MSP430; 3. Development; 4. A Simple Tour of the MSP430; 5. Architecture of the MSP430 Processor; 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

Details C and assembly language for the MSP430
Companion Web site contains a development kit
*Full coverage is given to the MSP430 instruction set, and sigma-delta analog-digital converters and timers


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

  6. Functions, interrupts and low-power modes 6.1. Functions and subroutines 6.2. What happens when a subroutine is called? 6.3. Storage for local variables 6.4. Passing parameters to a subroutine and returning a result 6.5. Mixing C and assembly language 6.6. Interrupts 6.7. What happens when an interrupt is requested? 6.8. Interrupt service routines 6.9. Issues associated with interrupts 6.10. Low-power modes of operation

  7. Digital input, output and displays 7.1. Digital input and output: parallel ports 7.2. Digital inputs 7.3. Switch debounce 7.4. Digital outputs 7.5. Interface between 3 V and 5 V systems 7.6. Driving heavier loads 7.7. Liquid crystal displays 7.8. Driving an LCD from a MSP430x4xx 7.9. Simple applications of the LCD

  8. Timers 8.1. Watchdog timer 8.2. Basic timer1 8.3. Timer_A 8.4. Measurement in Capture mode 8.5. Output in Continuous mode 8.6. Output in Up mode: Edge-aligned pulse-width modulation 8.7. Output in Up/Down mode: Centered pulse-width modulation 8.8. Operation of Timer_A in Sampling mode 8.9. Timer_B 8.10. What timer where? 8.11. Setting the real-time clock: State machines

  9. Mixed-signal systems: Analog input and output 9.1. Comparator_A 9.2. Analog-to-digital conversion: general issues 9.3. Analog-to-digital conversion: successive approximation 9.4. The ADC10 successive-approximiation ADC 9.5. Basic operation of the ADC10 9.6. More advanced operation of the ADC10 9.7. The ADC12 successive-approximation ADC 9.8. Analog-to-digital conversion: sigma-delta 9.9. The SD16_A sigma-delta ADC 9.10. Operation of SD16_A 9.11. Signal conditioning and operational amplifiers 9.12. Digital-to-analog conversion

  10. Communication 10.1. Communication peripherals in the MSP430 10.2. Serial peripheral interface (SPI) 10.3. SPI with the USI 10.4. SPI with the USCI 10.5. A thermometer using SPI in mode 3 with the F2013 as master 10.6. A thermometer using SPI in mode 0 with the FG4618 as master 10.7. Inter-integrated circuit (I2C) bus 10.8. A simple I2C master with the USCI_B0 on a FG4618 10.9. A simple I2c slave with the USI on a F2013 10.10. State machines for I2C communication 10.11. A thermometer using I2C with the F2013 as master 10.12. Asynchronous serial communication 10.13. Asynchronous communication with the USCI_A 10.14. A software UART using Timer_A 10.15. Other types of communication

  11. The future: MSP430X 11.1. Architecture of the MSP430X 11.2. Instruction set of the MSP430X 11.3. Where next? 11.4. Conclusion

A. Kickstarting the MSP430 A.1. Introduction to EW430 A.2. Developing a project in C A.3. Debugging with the simulator A.4. Debugging with the emulator A.5. Developing a project in assembly language A.6. Tips for using EW430 A.7. Tips for specific development kits


No. of pages:
© Newnes 2008
eBook ISBN:
eBook ISBN:
Paperback ISBN:

About the Author

John Davies

Affiliations and Expertise

Glasgow University, UK

John Davies

Affiliations and Expertise

Glasgow University, UK