Portland, Oregon
June 12, 2005
June 12, 2005
June 15, 2005
2153-5965
12
10.863.1 - 10.863.12
10.18260/1-2--14191
https://peer.asee.org/14191
1450
Laboratory for Microcontroller Applications
Janos L. Grantner, Ramakrishna Gottipati, Paolo A. Tamayo, and David Florida
Department of Electrical and Computer Engineering Western Michigan University Kalamazoo MI 49008-5329, USA janos.grantner@wmich.edu, r.gottipati@wmich.edu, p3tamayo@wmich.edu, david.florida@wmich.edu
Abstract The course ECE 451 Microcontroller Applications [4] is offered by the Department of Electrical and Computer Engineering of Western Michigan University and it is a required course for students majoring in Computer Engineering. In order to pass the course students need to pass the embedded lab as well. This course is also offered as an elective to graduate students under ECE 595. The graduate section of the class has an extra project assignment. The objective of the course is that students will develop skills in the areas of embedded systems design, microcontroller systems interfacing, hardware/software integration, and debugging while working with a contemporary microcontroller platform and using C as their programming language.
The Motorola/Freescale MC9S12DP256 Microcontroller EVB kit by Technological Arts [5] along with the ICC12 IDE software by ImageCraft [6] has been used in the lab for about two years. The rationale for this decision is based upon the fact that this chip is a powerful member of the HS12 Family of microcontrollers that have been a dominant choice for automotive embedded systems. In addition, the HS08 Family that has a quite similar architecture has been used in household appliances made by Whirlpool. Active industrial and academic Web sites along with a user group mostly from industry provide strong support.
Debugging the programs is done by using the MicroBDM12SX Module by Technological Arts along with the NOICE12 debug software by NoICEDebugger [7]. Students develop C programs for almost all lab experiments. Initially, the programs are loaded into the on- chip RAM memory to facilitate debugging. The finalized code is programmed in the on-chip FLASH area and is demonstrated again. The laboratory experiments include interfacing to parallel I/O ports, non-TTL interface, external interrupts, Main Timer overflow interrupts, Input Capture, Output Compare, pulse width modulation (PWM), analog I/O interface, asynchronous serial communications interface, SPI (Serial Peripheral Interface) interface, and CAN (Controller Area Network) interface.
In addition to the lab experiments, both ECE 451 and ECE 595 students are required to complete a lab project, which relies on using quite a few of those programmable modules of the
“Proceedings of the 2005 American Society for Engineering Education Annual Conference and Exposition Copyright © 2005, American Society for Engineering Education”
Tamayo, P., & Florida, D., & Gottipati, R., & Grantner, J. (2005, June), Laboratory For Microcontroller Applications Paper presented at 2005 Annual Conference, Portland, Oregon. 10.18260/1-2--14191
ASEE holds the copyright on this document. It may be read by the public free of charge. Authors may archive their work on personal websites or in institutional repositories with the following citation: © 2005 American Society for Engineering Education. Other scholars may excerpt or quote from these materials with the same citation. When excerpting or quoting from Conference Proceedings, authors should, in addition to noting the ASEE copyright, list all the original authors and their institutions and name the host city of the conference. - Last updated April 1, 2015