Microprocessors and Embedded Systems
|Hour/sem||Lectures||Sem. Exercises||Lab. exercises||Comp. exercises||Other|
|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|
Šimek Václav, Ing., DCSY
|Faculty:||Faculty of Information Technology BUT|
|Department:||Department of Computer Systems FIT BUT|
| || ||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.|
| || ||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:|
- Introduction into Embedded systems.
- HC08/HCS08 on-chip CPU and peripherals.
- Event detection by interrupts polling loops.
- SCI, SPI, IIC interfaces.
- USB interface.
- TPM timer. System clock, RTC and COP modules.
- A/D sampling, button service using KBI.
- Programming embedded applications in C.
- Embedded systems for critical applications control.
- Design for low power.
- Embedded case studies.
- Microcontroller application in fuzzy systems.
|Syllabus of laboratory exercises:|
- Communication via the SCI interface
- Button service by means of the KBI module
- PWM signal generator based on the TPM module
- AD converter and its application
|Syllabus of computer exercises:|
- HCS08 instruction set.
- Basic assembly programming.
- Advanced assembly programming.
- Peripheral simulator.
- Development support for time-critical applications.
- Embedded case-study applications.
|Syllabus - others, projects and individual work of students:|
- Individual twelve-hour project.
- S08JM: 8-bit USB Cost-Effective JM MCUs. On-line [cit. April 30, 2013]. Accessible from
- 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
- Lecture slides and supplementary materials .
- Schwarz, J., Růžička, R., Strnadel, J.: Study support for IMP - selected chapters. FIT BUT, 2006.
| || ||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.|
| || |
- 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: 7 points for solution functionality, 4 points for solution quality, 3 points for solution start-up/defense quality)
| || ||No conditions are applied.|