Designing with Microcontrollers -- THe 68HCS12 has been available to the public since July 2004, and is now in a revised version 7. I've used used this HTML based text and the predecessor for a two term (20 week) Microcontroller Systems course sequence at Oregon Institute of Technology, Portland campus, since 1999. During that time it has had frequent revisions to clarify confusing issues and to cover additional topics students wanted. The resulting text is terse and no-nonsense but covers more material than a typical microcontroller text. While the text is revised for covering the 68HCS12 and to use with the Wytec Dragon12-Plus development board and other MC9S12DP256 family boards, it is useful for other development boards, including MC9S12C family based boards, as well as earlier 68HC12 family members.
You can view an 11 minute HD video on installing the CD, setting up the Dragon12-Plus board and running a simple example program on the board and on the simulator here.
Here's a brief description of what is covered in each of the text sections. The sections on the Parallel I/O Ports can be read on this site to get an idea of the content. The Alarm Clock Example is provided in abridged form here as a project example.
The following sections are provided in the appendix:
There are study questions and/or projects for each of th 31 sections -- a total of 256 questions, 32 with answers provided, and 47 projects.
I teach the sequence as basically four 5-week units. The first unit covers the basics of microcontrollers and programming. This corresponds to sections 1-11 of the text. I've found from earlier experience that it is difficult to have meaningful assignments involving the peripheral modules and interfacing if programming is not understood. The next two units cover the peripheral modules and interfacing (sections 12-18 then 19-22). Particular attention is placed on using interrupts. My approach is that interrupts are nothing to fear, and lead to simpler, more modular designs. The final unit returns to software (sections 23-26 and appendices), covering advanced arithmetic and designing systems for applications. Practical experience is the best way to approach applications, and all students engage in a project of their own choosing using the microcontroller and external hardware.
Particularly important for class use, revisions add topics but never remove them or change their order so there is never a forced revision of lesson plans. On the other hand, by having the text CD-based and printed on-demand, revisions can be made far more frequently than a traditional textbook, so the material can be corrected and kept fresh.
Version 7A, new July 2015, corrects many minor or typographical errors.
Version 7, new July 2011, corrects 4 errors and adds some additional example code.
Version 6, new July 2009, adds coverage for interfacing Harris 1-Wire devices. The appendix on multiple processes is enlarged as well.
Version 5, new August 2008, corrects the errors in the previous version, has a revised and enlarged first chapter, an added integer scaling example, and has been completely revised for the Dragon12-Plus board, eliminating references to the previous board, no obsolete.
Version 4, new June 2007, adds section questions and has a new appendix on the MC9S12C family. The simulator is revised with drag-and-drop assembly and loading, support for MC9S12C microcontrollers, and simulation of an SPI port. There were dozens of smaller changes as well. The text and simulator now assume an 8 MHz crystal.
Version 3, new in the summer of 2006, included a new section with an overview of the BDLC, CAN, and BDM serial interfaces and an alarm clock project example writen in C. The simulator was improved over the initial Version 2 release. The CD has been verified for use on Microsoft Windows 2000 and XP, as well as Mac OS 10.3 or later and Linux systems.
Version 2 additions over Version 1 included a new section on the IIC module, sample C code for I/O and interrupt handling (GNU C compiler) as well as additional C code to illustrate addressing modes. Several new example programs, runnable from the simulator or on the hardware, had been added. Extra narrative and illustrations had been added in places where students have had difficulties with the concepts. There was a much improved installation approach placing everything on the Windows Start menu, although the simulator, text, and examples can still be accessed directly from the CD without installation on the hard drive.
Questions? Contact me at support4@hcs12text.com
Tom Almy webmaster9@almy.us |
Last Modified July 2015 |
Return to the HOME PAGE |
SCROLL BACK TO TOP OF PAGE |