Cover image for Microcontroller technology : the 68HC11
Title:
Microcontroller technology : the 68HC11
Personal Author:
Publication Information:
Englewood Cliffs, NJ : Regents/Prentice Hall, 1993
ISBN:
9780135835685

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000001475361 TJ223.M53 S63 1993 Closed Access Book 1:BOOK_ARC
Searching...

On Order

Summary

Summary

This updated edition continues to provide readers with the background needed to understand and use any 8-bit microcontrollers, specifically the very popular Motorola 68HC11 and 68HC12. Covering a wide range of topics, at a wide range of levels, it serves as a guide to real-time control software and interfacing, and concentrates on applications throughout-- encouraging hands-on practice using computer simulation or an evaluation board. It starts at an introductory level, explaining the applications and origins of microcontrollers; then develops a programmer's view of the machine; and finally covers machine hardware and how to connect it to the outside world. An excellent collection of appendices provides easy reference. This book is an excellent guide and reference for interested amateurs and experienced users of microcontrollers.


Table of Contents

Part 1 Introducing Microcontroller Technologyp. 1
1 Microcontroller Conceptsp. 1
1.1 What Is a Microcontroller? and What Is It Used For?p. 1
1.2 Historyp. 5
1.3 Top-Down View of Microcontroller Systemsp. 8
1.4 Memory Conceptsp. 13
1.5 Microcontroller Memory Mapp. 16
Part 2 Softwarep. 18
2 Programmingp. 18
2.1 Assembly and Other Programming Languagesp. 19
2.2 Source Code, Object Code, and the Assemblerp. 21
2.3 Using High-Level Languagesp. 28
2.4 Fetch/Execute Operation of the Central Processing Unit (CPU)p. 31
2.5 The Instruction Set and Addressing Modesp. 36
2.6 Basic Operationsp. 65
2.7 Microcontroller Arithmetic and the Condition Code Registerp. 74
2.8 Program Flow Control Using Looping and Branchingp. 90
2.9 Summaryp. 104
Exercisesp. 104
3 The Stack, Subroutines, Interrupts, and Resetsp. 112
3.1 Introducing the Stackp. 112
3.2 Using the Stack to Store Datap. 114
3.3 Using Subroutinesp. 117
3.4 Modular Programming Using Subroutinesp. 124
3.5 Subroutine Operationp. 132
3.6 Concept of Interruptsp. 137
3.7 Interrupt Vectorsp. 141
3.8 Interrupt Operationp. 144
3.9 Hardware Interrupts and Resetsp. 146
3.10 Software and CPU Control Interruptsp. 155
3.11 The Kiss of Death: Stack Overflowp. 156
3.12 Summaryp. 157
Exercisesp. 158
4 Cross Assembly and Program Developmentp. 162
4.1 Introduction to Program Developmentp. 162
4.2 Format of the Source Codep. 163
4.3 Code and Data Segmentsp. 167
4.4 Pseudo-Operationsp. 168
4.5 The Assembly Two-Pass Processp. 177
4.6 Assembler Options and Preprocessor Directivesp. 180
4.7 Hex and Binary Filesp. 185
4.8 Documentation Filesp. 188
4.9 Simulationp. 191
4.10 Evaluation Boards and Emulationp. 191
4.11 Summaryp. 194
Exercisesp. 194
Part 3 Hardwarep. 197
5 Bus Concepts and Modes of Operationp. 197
5.1 Introductionp. 197
5.2 The Busp. 198
5.3 Tristatep. 200
5.4 Address Decodingp. 203
5.5 Modes of Operationp. 207
5.6 Single-Chip Operating Modep. 207
5.7 Expanded Multiplexed Operating Modep. 208
5.8 Special Bootstrap Modep. 209
5.9 Special Test Operating Modep. 211
5.10 System Circuitp. 211
5.11 Summaryp. 213
Exercisesp. 214
6 Microcontroller Hardwarep. 216
6.1 Semiconductor Technologyp. 216
6.2 Chip Specificationsp. 223
6.3 Memory Technologyp. 228
6.4 Erasable Programmable Read-Only Memory (EPROM)p. 230
6.5 Flash Memoryp. 233
6.6 Electrically Erasable Programmable Read-Only Memory (EEPROM)p. 233
6.7 Configuration Control Register (CONFIG)p. 239
6.8 RAM and I/O Mapping Register (INIT)p. 240
6.9 Summaryp. 240
Exercisesp. 241
7 Clocked Operationp. 243
7.1 Timing Diagramsp. 243
7.2 System Clockp. 245
7.3 Bus Operationsp. 247
7.4 Cycle-by-Cycle Operationp. 253
7.5 Oscilloscope Test Loopsp. 255
7.6 Logic Analyzerp. 257
7.7 Transmission Line Effectsp. 260
7.8 Summaryp. 263
Exercisesp. 264
Part 4 Interfacingp. 266
8 Interfacing Conceptsp. 266
8.1 Introductionp. 267
8.2 Input/Output Subsystems and Registersp. 268
8.3 Memory or Input/Output Mappingp. 271
8.4 Interfacing Using Polling or Interruptsp. 274
8.5 The Parallel I/O Subsystemp. 276
8.6 Serial Systemsp. 277
8.7 Programmable Timer I/O Subsystemp. 280
8.8 Analog/Digital I/O Subsystemp. 282
8.9 The I/O Subsystem Registersp. 284
8.10 Interface Standardsp. 289
8.11 Summaryp. 290
Exercisesp. 291
9 Parallel Input/Outputp. 293
9.1 Introduction to the Subsystemp. 294
9.2 Seven-Segment (LED) Display Outputp. 297
9.3 Liquid-Crystal Displays (LCDs)p. 304
9.4 Keyboard Interfacingp. 311
9.5 Other User Input/Outputp. 324
9.6 Strobed Input/Outputp. 324
9.7 Full Handshake Input/Outputp. 330
9.8 Parallel Interface Standardsp. 338
9.9 Summaryp. 352
Exercisesp. 355
10 The Serial Subsystemsp. 358
10.1 Asynchronous Communications Systemsp. 359
10.2 The Serial Communications Interface (SCI)p. 370
10.3 SCI Registersp. 380
10.4 Synchronous Serial Input/Outputp. 391
10.5 The Serial Peripheral Interface (SPI)p. 393
10.6 SPI Topologies and Applicationsp. 393
10.7 SPI Softwarep. 399
10.8 SPI Error Handlingp. 408
10.9 Network Communicationsp. 409
10.10 Summaryp. 412
Exercisesp. 413
11 Programmable Timer Operationsp. 417
11.1 Overviewp. 417
11.2 Output Comparep. 423
11.3 Input Capturep. 440
11.4 Pulse Accumulatorp. 451
11.5 Real-Time Interruptp. 459
11.6 Summaryp. 462
Exercisesp. 463
12 The Analog Converter Subsystemp. 465
12.1 Concepts and Terminologyp. 466
12.2 Transducersp. 470
12.3 Digital-to-Analog Convertersp. 478
12.4 Analog-to-Digital Convertersp. 484
12.5 The Built-in A/D Subsystemp. 488
12.6 Summaryp. 494
Exercisesp. 495
Part 5 The Microcontroller Worldp. 497
13 Application Control Softwarep. 497
13.1 Boolean Logic Controlp. 498
13.2 Sequencersp. 500
13.3 Sequential Machinesp. 503
13.4 Feedback Control of the Analog Worldp. 511
13.5 Digital Signal Processorsp. 517
13.6 Using the C Languagep. 524
13.7 Multitaskingp. 547
13.8 Fuzzy Logicp. 554
13.9 Summaryp. 571
Exercisesp. 572
14 Applicationsp. 575
14.1 Automotive-Engine Controlp. 575
14.2 Consumer Electronics: Automatic Camerap. 582
14.3 Computer Peripherals: Dot Matrix Printerp. 590
14.4 Society and Microcontroller Technologyp. 601
15 Eight-Bit Microcontroller Familiesp. 602
15.1 Microcontrollers and the Semiconductor Industryp. 603
15.2 Motorola Familiesp. 604
15.3 The Intel 8051 Corep. 615
15.4 Survey of Other Familiesp. 624
15.5 Choosing a Microcontrollerp. 624
15.6 Summaryp. 628
Appendicesp. 630
A Instruction Set Summaryp. 630
B Quick Referencep. 638
MC68HC11E9 Block Diagramp. 639
Data Book and Programming Reference Guide Tables and Figuresp. 641
Cross-References to Other Datap. 646
C Further Informationp. 647
Referencesp. 647
Some Trade Magazinesp. 648
Manualsp. 649
Sourcesp. 649
D Conventionsp. 651
C Conventionsp. 651
Logic Levels for Digital Signalsp. 652
Numbering Systemsp. 652
Memoryp. 653
Cross Assemblyp. 654
Data Manipulationp. 656
Measurement Quantitiesp. 656
E Header and Library File Source Listingsp. 658
HC11REG.Hp. 658
HC11VEC.Hp. 659
F Digital Logic and Binary Codesp. 662
A Digital Logic Primerp. 662
Number Systemsp. 666
Number Conversionsp. 668
Binary Rangesp. 670
Other Codesp. 676
G Basic Waveformsp. 677
H Internet and Disk Resourcesp. 679
Internetp. 679
Disk Resourcesp. 679
Glossaryp. 687
Abbreviationsp. 695
Indexp. 699