EmbeddedRelated.com
Books
Jacob Beningo
Live online course · Jacob Beningo
AI for Embedded Developers
$100 off for EmbeddedRelated readers until Dec 6 · 5 live sessions, Dec 7-11
Discount ends in
28days 15hrs 07min 05sec
Learn More →

Software and Hardware Engineering: Motorola M68HC12

Cady, Fredrick M., Sibigtroth, James ● 2000

Ideal for use in microprocessor courses in engineering or computer science, Software and Hardware Engineering: Motorola M68HC12 provides an in-depth, hands-on introduction to the architecture and design of hardware and software for the Motorola M68HC12.
· Gives students the tools to use the Motorola M68HC12 in real-world applications
· Covers the hardware features of two versions of the M68HC12--the M68HC812A4 and the M68HC912B32
· Compares features common with the Motorola M68HC12's predecessor, the M68HC11
· Incorporates over 100 extensive programming examples
· Features chapters on fuzzy logic, programming a fuzzy inference engine, and the Background Debug Module
· Includes a detailed appendix covering the design of software for a debugging pod
This text can be used with its companion volume, Microcontrollers and Microcomputers: Principles of Software and Hardware Engineering (OUP, 1998), or with any other book that examines the general principles of microcomputer technology. It can also stand alone in a course devoted to the M68HC12. A world wide web site provides additional information including source files for all chapter examples: http://www.coe.montana.edu/ee/cady/books/m68hc12.htm.


Why Read This Book

You should read this book if you need a practical, example-rich introduction to the M68HC12 family and how to design both hardware and firmware around it. You will get detailed coverage of the M68HC12 architecture, programming in assembly/C, peripheral interfacing, and hands-on debugging using the Background Debug Module — plus an uncommon chapter showing how to implement fuzzy-logic routines on a microcontroller.

Who Will Benefit

Engineers or students who work with legacy Motorola/Freescale 68HC12 MCUs or who want a thorough case study in low-level microcontroller hardware/software co-design.

Level: Intermediate — Prerequisites: Basic digital logic and microcontroller concepts, familiarity with C and basic assembly language programming.

Get This Book

Key Takeaways

  • Understand the M68HC12 core architecture, memory map, and interrupt model.
  • Write and debug HC12 assembly and C code, using the Background Debug Module.
  • Interface and control on-chip peripherals (timers, ADC, serial, I/O) in real-world examples.
  • Design firmware that integrates hardware constraints and debugging strategies.
  • Implement a simple fuzzy-logic inference engine and apply it in embedded contexts.
  • Translate concepts and code patterns from the M68HC11 to the M68HC12 family.

Topics Covered

  1. Introduction to the M68HC12 Family and Development Environment
  2. M68HC12 Architecture and System Overview
  3. Instruction Set, Addressing Modes, and Assembly Language
  4. C Programming for the M68HC12 and Mixed-Language Development
  5. Memory Organization and Boot/Reset Behavior
  6. Interrupts, Exceptions, and Real-Time Considerations
  7. On-Chip Peripherals: Timers, ADC, Serial I/O, and Watchdog
  8. Hardware Interface Design and Peripheral Wiring
  9. Background Debug Module (BDM) and In-Circuit Debugging Techniques
  10. Software Engineering for Embedded Systems (design, testing, reliability)
  11. Fuzzy Logic and Implementing a Fuzzy Inference Engine
  12. Extensive Programming Examples and Case Studies
  13. Appendices: Development Tools, Debugging Tips, and Software Design Notes

Languages, Platforms & Tools

Assembly (M68HC12)CMotorola/Freescale/NXP M68HC12 (M68HC812A4, M68HC912B32)Background Debug Module (BDM)In-circuit emulators/debuggersCross-assemblersC compilers/IDE (e.g., CodeWarrior-era toolchains)

How It Compares

Covers much the same practical ground as HC11/HC12 university texts (e.g., common HC11/HC12 academic guides) but places greater emphasis on hands-on examples and BDM debug techniques and adds a distinctive chapter on fuzzy logic.

Related Books