Title:

Microprocessors and Embedded Systems

Code:IMPe
Ac.Year:2017/2018
Term:Summer
Curriculums:
ProgrammeBranchYearDuty
IT-BC-1HBCH-Recommended
Language:English
News:
* This course is prepared for incoming Erasmus+ students only, and it is instructed in English.
* This course will be open if a certain/sure minimum of enrolled students is at least five students.

Private info:http://www.fit.vutbr.cz/study/courses/IMPe/private/
Credits:6
Completion:examination (written)
Type of
instruction:
Hour/semLecturesSem. ExercisesLab. exercisesComp. exercisesOther
Hours:2668012
 ExaminationTestsExercisesLaboratoriesOther
Points:551501614
Guarantee:Růžička Richard, doc. Ing., Ph.D., MBA, DCSY
Lecturer:Strnadel Josef, Ing., Ph.D., DCSY
Instructor:Strnadel Josef, Ing., Ph.D., DCSY
Faculty:Faculty of Information Technology BUT
Department:Department of Computer Systems FIT BUT
Follow-ups:
Peripheral Devices (IPZe), DCSY
 
Learning objectives:
  To give the students the knowledge microcontroller architectures. To acquaint them with operational principles and configuring/programming of individual subsystems namely CPU programming model, memory, interrupt subsystem, common and watchdog timers, real-time module RTC, low-power modes, SCI, SPI, IIC, USB interfaces, KBI module, AD converter. To learn the instruction set architecture and principles of programming and debugging of basic assembly applications. Make students familiar with basic rules and programming techniques in a high-level C language as well as with embedded system design.
Description:
  Embedded systems, introduction, applications. Microcontroller architecture. Memory subsystem. Programmers model, programming in assembly language. Instruction  and directivies. Stack utilization. Interrupt subsystem and its programming. Polling loop versus interrupts. On chip peripheral devices and their programming: system clock generator, timer, SCI, IIC, SPI, USB interfaces, KBI module, AD converter, RTC - real-time clock module, low-power modes. Programming techniques for embedded systems in C language.
Knowledge and skills required for the course:
  To be familiar with the architecture and structure of scalar CPU, computer and with programming in assembly language. The basic knowledge of programming in the C language.
Learning outcomes and competences:
  
  • Students are familiar with general structure of microcontroller and with the techniques of embedded systems design.
  • Students are capable to design and debug the routines and initialization routines for typical on-chip peripherals.
  • They are able to design and implement the control part of a simple embedded application according to various constraints such as performance, power, number of pins etc.
  • They are skilled in utilizing of basic debugging techniques for the application programs written in assembly language or C language.
Syllabus of lectures:
 
  1. Introduction into Embedded systems.
  2. HC08/HCS08 on-chip CPU and peripherals.
  3. Event detection by interrupts polling loops.
  4. SCI, SPI, IIC interfaces.
  5. USB interface.
  6. TPM timer. System clock, RTC and COP modules.
  7. A/D sampling, button service using KBI.
  8. Programming embedded applications in C.
  9. Embedded systems for critical applications control.
  10. Design for low power. 
  11. Embedded case studies.
  12. Microcontroller application in fuzzy systems.
Syllabus of laboratory exercises:
 
  1. Communication via the SCI interface
  2. Button service by means of the KBI module
  3. PWM signal generator based on the TPM module
  4. AD converter and its application
Syllabus of computer exercises:
 
  1. HCS08 instruction set.
  2. Basic assembly programming.
  3. Advanced assembly programming.
  4. Peripheral simulator.
  5. Development support for time-critical applications.
  6. Embedded case-study applications.
Syllabus - others, projects and individual work of students:
 
  1. Individual twelve-hour project.
Fundamental literature:
 
  • S08JM: 8-bit USB Cost-Effective JM MCUs. On-line [cit. April 30, 2013]. Accessible from 
    http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=S08JM&tid=TdemojmTSP
  • MC9S08JM60 Data Sheet. On-line [cit. April 30, 2013]. Accessible from http://cache.freescale.com/files/microcontrollers/doc/data_sheet/MC9S08JM60.pdf?fr=g
  • Douglas Summerville: Embedded Systems Interfacing for Engineers using the Freescale HCS08 Microcontroller I: Assembly Language Programming (Synthesis Lectures on Digital Circuits & Systems), Morgan and Claypool Publishers, 152 p., 2009. ISBN 978-1608450053
  • Douglas Summerville: Embedded Systems Interfacing for Engineers using the Freescale HCS08 Microcontroller II: Digital and Analog Hardware Interfacing (Synthesis Lectures on Digital Circuits and Systems), Morgan and Claypool Publishers, 140 p., 2009. ISBN 978-1608450084
Study literature:
 
  • Lecture slides and supplementary materials .
  • Schwarz, J., Růžička, R., Strnadel, J.: Study support for IMP - selected chapters. FIT BUT, 2006.
Controlled instruction:
  Following activities are monitored: attendance and activity during lectures, exercises, laboratories and project-related works. All works have to be submitted before the deadlines; late submissions will be evaluated by 0 points.
Progress assessment:
  
  • 4 laboratory assignments with the defense, with due-date submission to IS  (16 points max, out of that: 8 points for solution functionality, 4 points for solution quality, 4 points for solution defense quality)
  • 1 mid-term written test (15 points max)
  • 1 project with defense and due-date submission to IS (14 points max, out of that: out of that: 7 points for solution functionality, 4 points for solution quality, 3 points for solution defense quality)
Exam prerequisites:
  No conditions are applied.