Microcontrollers


Unit code: COMP22712
Credit Rating: 10
Unit level: Level 2
Teaching period(s): Semester 2
Offered by School of Computer Science
Available as a free choice unit?: Y

Requisites

Prerequisite

Additional Requirements

Students who are not from the School of Computer Science must have permission from both Computer Science and their home School to enrol.

Aims

This course aims to familiarise students with the use of microprocessors/microcontrollers for simple control and interfacing applications. The course aims to develop the understanding of the programming and operation of the ARM processor introduced in COMP15111 to include modular program construction, separation of user and operating system tasks and interfacing techniques at the hardware and software levels.

This course builds upon the understanding of processor operation and assembler programming introduced in COMP15111 and upon the logic design in introduced in COMP12111 to show how hardware and software interact in the solution of interfacing problems.

This module currently runs as a first year CSE course or a second year CS course. There is some variation towards the end of the module to accommodate different backgrounds.

Overview

The module is a strong practical reinforcement of the software/hardware interface. It provides experience in hardware/software codesign as well as dealing with interfacing techniques, from 'bit fiddling' to interrupt routines. There is also an underpinning of operating systems and their implications in machine architecture. The module uses custom designed hardware and software tools developed locally for this specific purpose.

Teaching and learning methods

Lectures

No formal lectures

Laboratories

44 hours in total, 22 2-hour sessions

Learning outcomes

Learning outcomes are detailed on the COMP22712 course unit syllabus page on the School of Computer Science's website for current students.

Employability skills

  • Analytical skills
  • Innovation/creativity
  • Problem solving
  • Other

Assessment methods

  • Practical skills assessment - 100%

Syllabus

  • Basic Interfacing [1]
  • Parallel I/O [2]
  • Procedure calls, Nesting & Stacking [2]
  • System calls, Privilege levels, Initialisation [2]
  • Timers [3]
  • Interrupts [2]
  • Real-time operation, User interaction [2]
  • Introduction to Verilog [3]/System design [3]
  • System design [3]/Project [3]

Recommended reading

COMP22712 reading list can be found on the School of Computer Science website for current students.

Feedback methods

Direct verbal feedback and advice in scheduled laboratory sessions.

'Automatic' feedback from tools seeing exercises work/fail.

Written feedback by annotating listings from submitted exercises.

Study hours

  • Practical classes & workshops - 24 hours
  • Independent study hours - 76 hours

Teaching staff

James Garside - Unit coordinator

▲ Up to the top