Skip to Content

Future Students - Courses

click here for a printable version of this page  

Embedded Microcontrollers

Unit Code: HET232




Duration

Contact Hours

Campus

Prerequisite

Corequisite

1 Semester

61 hours

Hawthorn, Sarawak

HET210 Electronics or HET202 Digital Electronics Design and HIT2080 Introduction to Programming or HES1300 Robotics and Mechatronics Project 1 and HES1305 Robotics and Mechatronics Project 2

nil

Credit Points: 12.5 Credit Points


Related Course/s:

A unit of study in the Bachelor of Engineering (Electrical and Electronic Engineering), Bachelor of Engineering (Electrical and Electronic Engineering) / Bachelor of Commerce, Bachelor of Engineering (Telecommunication and Network Engineering), Bachelor of Engineering (Telecommunication and Network Engineering) / Bachelor of Science (Computer Science and Software Engineering), Bachelor of Engineering (Biomedical Engineering), Bachelor of Engineering (Electronics and Computer Systems) / Bachelor of Science (Biomedical Sciences), Bachelor of Engineering (Electronics and Computer Systems)Bachelor of Engineering (Electronics and Computer Systems)/Bachelor of Commerce, Bachelor of Engineering (Electronics and Computer Systems) / Bachelor of Science (Computer Science and Software Engineering), Bachelor of Engineering (Robotics and Mechatronics), Bachelor of Engineering (Robotics and Mechatronics)/Bachelor of Science (Computer Science and Software Engineering),  and Bachelor of Engineering (Robotics and Mechatronics) / Bachelor of Commerce.

Aims & Objectives:

This unit aims to familiarise the student with the basic architecture of microcontrollers and their application in embedded systems.  Students will gain practical experience with interfacing between a computer and external world including the use of simple transducers (eg. A to D).
 
Students will gain an understanding of programming at the assembly code level as a foundation for their understanding of higher-level languages.  The use of high-level languages in embedded systems will be examined.
 
The course will be structured around the Motorola 68HC12 microcontroller.
 
The gaining of investigative, design and problem-solving skills will be emphasised.

Teaching Methods:

Lectures (36 hours), Laboratory Work (14 hours) and Tutorials (11 hours)
 

Assessment:

Assignments/Pracs (30%), Examination (70%)

Generic Skills Outcomes:

Students are expected to enhance several of their graduate attributes during this subject and should consult with your lecturer if not clear as to how this subject achieves this.  The graduate attributes which relate to the subject ensure:
  • Graduates are capable in their chosen professional areas
  • Graduates have an appreciation of areas of uncertainty within a body of knowledge
  • Graduates can engage in informed critical enquiry
  • Graduates have pertinent skills and abilities
  • Graduates display attitudes appropriate to the professional area
In addition to the Swinburne generic attributes, this subject is also expected to enhance skills recognised by the Institution of Engineers (Australia), specifically:
  • Ability to apply knowledge of basic science and engineering fundamentals
  • In-depth technical competence in at least one engineering discipline
  • Ability to undertake problem identification, formulation and solution
  • Ability to utilise a systems approach to design and operational performance

Content:

Computer architecture overview
  • Division into units: CPU, Memory, I/O
  • Bus Structure
  • Memory organization & addressing
  • Number systems and arithmetic (review): Binary, 2's complement, add, sub, divide & multiplication
  • Machine model (M68HC12)
Assembly language programming
  • Addressing modes: Access to data, Data sizes, Indirection, Implementation of stacks
  • Register Set & properties
  • Instruction Set
  • Introduction to assembly/linking/simulation process
  • Modular programming: Use of subroutines - hardware stack, storage allocation
  • Simple program examples: Searching, sorting and arithmetic operations
On-chip Peripherals
  • I/O Ports
  • Programmable Timer
  • Interrupts
  • Serial Peripheral Interfaces
  • A/D Conversion
  • Design and interface examples
C Programming for Embedded Systems
  • C Compilation & Linking
  • Program & data organization
  • Parameter Passing & stack frames
  • Using C to access hardware
  • Software building blocks - queues, tables, strings, state machines etc
Expansion Methods
  • Memory interfacing and timing diagrams
  • Memory decoding & buffering

Textbooks:

Pack, DJ & Barrett, SF, 68HC12 Microcontroller Theory & Applications, Prentice-Hall 2002. ISBN 0-13-033776-5

References:

Kelley, A & Pohl, I, A Book on C: Programming in C, 4th edn, Addison-Wesley Publishing Company, 1998.