Course detail

Microprocessors

FEKT-KMICAcad. year: 2016/2017

This module provides an introduction to the microcontroller systems. Module introduces students with the fundamental concept of Boolean algebra, creation, description, minimization and implementation of logic functions and sequential systems. Module also introduces students with the most common architectures, instructions sets, memory management and virtualization used in the modern microcontrollers. A demonstration microcontroller HCS12 is used for explanation of its operation, programming model and embedded peripheries, machine code and assembler.

Language of instruction

Czech

Number of ECTS credits

6

Mode of study

Not applicable.

Learning outcomes of the course unit

By the end of the module, the student will be able to:
Perform conversion between different numeral systems, perform operations with the second complement, generate and operate with the real numbers according to standard IEEE754.
Perform logic operations with Boolean expressions. Create, minimize and implement logic functions and logic combination circuits.
Analyse and realise logic sequential systems. Describe and analyse sequential system by a state diagram of the Mealy and Moore type.
Describe basic architectures of computer systems; describe activity of the processor during interrupt, procedure and system call.
Describe basic principles and parameters of memories used in modern microprocessor systems.
Create an algorithm for a specific task and to implement it into the machine code and assembler.

Prerequisites

Student should have sufficient competences from logic circuits and mathematical analysis.

Co-requisites

Not applicable.

Planned learning activities and teaching methods

The module will be regularly lectured with individual consultations and home works according to the paragraph 7 of BUT Rules for Studies and Examinations.

Assesment methods and criteria linked to learning outcomes

In accordance with the paragraph 13 BUT Rules for Studies and Examinations, the percentage gain from different activities in this module is as follow:
40 % home works.
60 % written final exam.
Only students with submitted and evaluated homework are allowed to proceed to the final exam.

Course curriculum

1. Numeral systems.
2. Boolean algebra logic functions.
3. Sequential systems.
4. Microcontroller’s architecture.
5. Machine code and Assembler.
6. Higher programming languages.
7. Microcontroller HCS12.

Work placements

Not applicable.

Aims

In this module students will learn basics of microcontroller systems.

Specification of controlled education, way of implementation and compensation for absences

Controlled tuition in this module is determined by the paragraph 7.5 of BUT Rules for Studies and Examinations and it is performed by a lecturer in accordance with the common sense in the academic sphere.

Recommended optional programme components

Not applicable.

Prerequisites and corequisites

Not applicable.

Basic literature

Diviš, Z., Chmelíková, Z., Petříková, I.: Logické obvody pro kombinované a distanční studium. Ostrava: VŠB-TUO, 2003. (CS)
Diviš, Z., Chmelíková, Z., Zdrálek, J.: Logické obvody. 1. vyd. Ostrava: VŠB - TUO, 2005. ISBN 80-248-0829-3. (CS)
Macho, T.: Mikroprocesory, elektronický text VUT v Brně 2006. (CS)
Webové stránky kurzu přístupné online: http://www.taceo.eu/kmic. (CS)

Recommended reading

Not applicable.

Classification of course in study plans

  • Programme EECC Bc. Bachelor's

    branch BK-AMT , 2 year of study, summer semester, compulsory

  • Programme EEKR-CZV lifelong learning

    branch EE-FLE , 1 year of study, summer semester, compulsory

Type of course unit

 

Lecture

26 hod., optionally

Teacher / Lecturer

Syllabus

Von Neuman and harward architecture of computer. Microprocessor, microcomputer, calculator, microcontroller, DSP.Principle of microprocessor.
Clock cycle, phase, machine cycle,instruction cycle. Overlapping.Pipelining.
Microcontrolers HCS12 family: Programmer model, ALU. Addressing modes. Instruction set.
HCS12: Operating modes. Ports. Key Wake up function. Memory map. A/D convertor.
HCS12: Timer subsystem: Imput capture function. Output compare function. Counter/timer. RTI.
HCS12: Serial Comunication Interface (SCI). Serial Peripheral Interface (SPI). Interrupt system. Watchdog COP. Low power modes WAIT and STOP.
HCS12: Connectios microprocessor with external components as memoris, A/D and D/A convertors, keyboard, display.
Intel I386 (IA32) architecture: Programmer model. Addressing modes. Memory addressing and I/O addressing.
Intel Pentium: Privilegy levels. Local and global address space. GDI and LDI tables. Logical address, linear address. Segment descriptors. Data segment Acces.
Intel Pentium: Calling instruction segment. Gates. Task switching. I/O operations in Protected mode.
Paging unit.
Intel pentium P6 architecture. Embedded systems.

Exercise in computer lab

39 hod., compulsory

Teacher / Lecturer

Syllabus

Organization problems.
Decimal, hexadecimal and binary numbers. Fractional representation. Addition, substraction binary numbers. First complemment.
Miltiplication and division binary numbers. Floating point numbers, IEEE-754 standard.
Assembler HCS12. Prougrams for addition and substraction 16 bit and 32 bit numbers.
Assembler programme for multiplication two 16 bit numbers with using shift instructions.
Assembler programme for multiplication two 16 bit numbers with using MUL instructions.
Assembler programme - demonstration use of A/D convertor.
C language and microcontrollers. C programme for A/D (transfer from assembler).
C programme - Use of output compare functions for generating 1 s width pulses.
C programme - Use of input capture functions for puls width measurement.
C programme - Use of RTI function.
C programme - Use of SCI, communitation microcontroller with PC.
Ending.