Higher Education

The HCS12 / 9S12: An Introduction to Software and Hardware Interfacing, 2nd Edition

  • includes CD-ROM
  • Han-Way Huang Minnesota State University, Mankota
  • ISBN-10: 1435427424  |  ISBN-13: 9781435427426
  • 928 Pages
  • Previous Editions: 2006
  • © 2010 | Published
  • College Bookstore Wholesale Price = $148.50
  *Why an online review copy?
  • It's the greener, leaner way to review! An online copy cuts down on paper and on time. Reduce the wait (and the weight) of printed texts. Your online copy arrives instantly, and you can review it anytime from your computer or favorite mobile device.

If you prefer a print copy to review, please contact your representative.



This new book provides a total solution for learning and teaching embedded system design based on the Freescale HCS12/9S12 microcontroller. Readers will learn step-by-step how to program the HCS12 using both assembly and C languages, as well as how to use such development tools as CodeWarrior, ImageCraft ICC12, MiniIDE, GNU C, and EGNU IDE. Supportive examples clearly illustrate all applications of the HCS12 peripheral functions, including parallel port, timer functions, PWM, UART port, SPI, I2C, CAN, on-chip flash and EEPROM programming, external memory expansion, and more. New sections on C programming style, software development methodology, and software reuse have been added in theis revision. A back-of-book CD contains the source code for all examples in the book, several groups of reusable utility functions, and complimentary freeware development tools for improved learning.

Features and Benefits

  • comprehensive information on the HCS12 microcontroller, coupled with numerous exercises and lab assignments in each chapter, promote mastery of beginning to advanced concepts of interface programming
  • helpful tips on debugging programs, provided for both assembly and C languages, apply to a wide variety of problems making programming easier for beginner and advanced users
  • straightforward tutorials on the use of key development tools strengthen readers understanding of HCS12 architecture

Table of Contents

Chapter 1 Introduction to the HCS12 Microcontroller.
Chapter 2 HCS12 Assembly Programming.
Chapter 3 Hardware and Software Development Tools for the HCS12.
Chapter 4 Advanced Assembly Programming.
Chapter 5 C Language Programming.
Chapter 6 Interrupts, Clock Generation, Resets, and Operation Modes.
Chapter 7 Parallel Ports.
Chapter 8 Timer Functions.
Chapter 9 Serial Communication Interface (SCI).
Chapter 10 Serial Peripheral Interface (SPI).
Chapter 11 Inter-Integrated Circuit (I2C) Interface.
Chapter 12 Analog-to-Digital Converter.
Chapter 13 Controller Area Network (CAN).
Chapter 14 Internal Memory Configuration and External Memory Expansion.
A. Instruction Set Reference.
B. Summary Features of HCS12 Devices.
C. Tutorial for Using the AsmIDE.
D. MC9S12DP256 Registers.
E. Music Note Frequencies.


All supplements have been updated in coordination with the main title. Select the main title's "About" tab, then select "What's New" for updates specific to title's edition.

For more information about these supplements, or to obtain them, contact your Learning Consultant.

Instructor Supplements

Instructor's Resource  (ISBN-10: 1435427432 | ISBN-13: 9781435427433)

Student Supplements

Student CD  (ISBN-10: 1111536724 | ISBN-13: 9781111536725)

List Price = $158.95  | CengageBrain Price = $158.95  | College Bookstore Wholesale Price = $118.00

Meet the Author

Author Bio

Han-Way Huang

Han-Way Huang is a Professor in the Department of Electrical and Computer Engineering and Technology at Minnesota State University, Mankato. A member of both IEEE and ASEE, he has 25 years of teaching experience in microprocessors and microcontrollers. A well-respected author, he has also written THE HCS12/9S12: AN INTRODUCTION TO HARDWARE AND SOFTWARE (Delmar Learning), EMBEDDED SYSTEM DESIGN WITH M8051 (Cengage Engineering), THE PIC MICROCONTROLLER: AN INTRODUCTION TO SOFTWARE AND INTERFACING (Delmar Learning), THE HC12 MICROCONTROLLER: AN INTRODUCTION (Delmar Learning), and THE HC11 MICROCONTROLLER: AN INTRODUCTION (Delmar Learning). Dr. Huang earned an MS and Ph.D. in Computer Engineering from Iowa State University and the BSEE degree from National Taiwan University.