Course detail
Microprocessors
FEKT-KMICAcad. year: 2018/2019
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
Number of ECTS credits
Mode of study
Guarantor
Learning outcomes of the course unit
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
Co-requisites
Planned learning activities and teaching methods
Assesment methods and criteria linked to learning outcomes
40 % home works.
60 % written final exam.
Only students with submitted and evaluated homework are allowed to proceed to the final exam.
Course curriculum
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
Aims
Specification of controlled education, way of implementation and compensation for absences
Recommended optional programme components
Prerequisites and corequisites
Basic literature
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
Classification of course in study plans
Type of course unit
Lecture
Teacher / Lecturer
Syllabus
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
Teacher / Lecturer
Syllabus
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.