Embedded Systems Design using the TI MSP430 Series

Купить бумажную книгу и читать

Купить бумажную книгу

По кнопке выше можно купить бумажные варианты этой книги и похожих книг на сайте интернет-магазина "Лабиринт".

Using the button above you can buy paper versions of this book and similar books on the website of the "Labyrinth" online store.

Реклама. ООО "ЛАБИРИНТ.РУ", ИНН: 7728644571, erid: LatgCADz8.

Название: Embedded Systems Design using the TI MSP430 Series

Автор:

Издательство: Newnes

Год: 2003

Страниц: 291

ISBN: 0-7506-7623-X

Формат: PDF

Размер: 9 Mб

Язык: английский

Learn about designing, programming, and developing with the popular new Texas Instruments family of microcontrollers, the MSP430 series with this new book from Chris Nagy. This product line is experiencing explosive growth due to its low-power consumption and powerful features, but very little design and application information is available other than what is offered by the manufacturer. The book fills a gap in the technical literature for embedded systems engineers by offering a more complete combination of technical data, example code, and descriptive prose than is available from the manufacturer reference information, and is useful to both professionals and hobbyists.

Intended for embedded engineers who are new to the embedded field, or for the thousands of engineers who have experience with other microcontrollers (such as PICs, 8051s, or Motorola HC0x devices) but are new to the MSP430 line, Chris Nagy offers a thorough and practical description of the device features, gives development guidelines, and provides design examples. Code examples are used in virtually every chapter and area also included on the companion CD-ROM, and/or online. The book is divided into three sections: the first section provides detailed descriptions of the devices themselves; the second describes hardware/firmware development for the devices; the third is designed to incorporate information from the first two, and provide guidelines and examples of designs.

Contents

 

About the Author ..................................................................................ix

What’s on the CD-ROM........................................................................xi

Chapter 1: Introduction ......................................................................... 1

About this book................................................................................ 2

The MSP430 Family .......................................................................... 3

Part Numbering Convention .............................................................. 4

Writing Code .................................................................................... 5

Chapter 2: Architecture: CPU and Memory .......................................... 11

CPU Features .................................................................................. 12

Memory Structure ........................................................................... 19

Chapter 3: Reset and Interrupts .......................................................... 25

Reset Sources ................................................................................. 25

Reset Condition .............................................................................. 26

Interrupts ....................................................................................... 27

Use of Interrupts ............................................................................. 30

Guidelines for Interrupt Service Routines .......................................... 35

Common Sources of Error ............................................................... 36

Interrupts vs. Polling ....................................................................... 37

Chapter 4: Clocks and Timers.............................................................. 39

Clock Sources ................................................................................. 39

Clock Controls ................................................................................ 46

Clock Uses ...................................................................................... 54

Debugging Clock Difficulties ........................................................... 63

Chapter 5: Input and Output............................................................... 69

Chapter 6: On-Chip Peripherals ........................................................... 75

Hardware Multiplier........................................................................ 75

Analog-to-Digital Converters ........................................................... 82

An ADC Example ............................................................................ 89

LCD Driver ..................................................................................... 91

Chapter 7: Hardware Considerations ................................................... 95

The Datasheet ................................................................................ 96

Configuration ................................................................................. 97

Performance Issues ......................................................................... 99

Debugging Tools ........................................................................... 100

Chapter 8: Addressing Modes............................................................ 103

Register Mode .............................................................................. 104

Immediate Mode .......................................................................... 106

Symbolic Mode/Absolute Mode .................................................... 109

Indirect Mode/Indirect Autoincrement Mode ................................. 111

Chapter 9: Instruction Set ................................................................. 115

Core Instructions .......................................................................... 120

Emulated Instructions ................................................................... 147

Chapter 10: Flash Memory ................................................................ 157

Flash Memory Structure ................................................................ 157

Flash Memory Control Registers .................................................... 158

Using Flash Memory...................................................................... 162

Embedded Systems Design using the TI MSP430 Series

Security Fuse ................................................................................. 164

Information Memory .................................................................... 165

Flash Memory Code Examples ....................................................... 166

Bootstrap Loader.......................................................................... 169

Chapter 11: Developer’s Toolbox ...................................................... 173

Real-Time Clocks .......................................................................... 173

D/A Conversion: Pulse Width Modulation ..................................... 184

Sliding Correlators ........................................................................ 186

Chapter 12: Low-power Design ......................................................... 189

MSP430 Power Consumption Characteristics ................................. 189

MSP430 Low-power Modes........................................................... 190

Periodic Interrupts and Low-Power Design ..................................... 192

Low-power Design ........................................................................ 194

Chapter 13: A Sample Application ..................................................... 197

Main Loop ................................................................................... 202

Interrupt Service Routines ............................................................. 203

Putting It All Together ................................................................... 208

Appendix A: Other Sources ............................................................... 221

Texas Instruments ......................................................................... 221

Other Embedded Resources .......................................................... 222

Appendix B: TI FET Tool ................................................................... 223

Kit Contents ................................................................................. 223

Setting Up .................................................................................... 224

Using Kickstart and the FET .......................................................... 224

Appendix C: Useful Acronyms............................................................ 227

Appendix D: A Sample Datasheet ...................................................... 229

Index ................................................................................................. 277

Дата создания страницы: