course aims in Estonian
Peamine sihtrühm on üliõpilased, kellel ei ole üldse kogemusi C keeles´programmeerimise ja mikrokontrollerite osas. Saadaval on 24 kohta; eelistus antakse peamisele sihtrühmale.
Üldine eesmärk on varustada üliõpilased vajalike teadmiste, meetodite ja tehnikatega sardmikrokontrollerite programmeerimiseks C keeles. Kursus viiakse läbi loengute ja laboratoorsete tööde kombinatsioonina, mille eesmärgid on järgmised:
• Anda ülevaade mikrokontrolleri arhitektuurist
• Anda ülevaade C programmeerimiskeelest
• Anda ülevaade arendusvahenditest
• Tutvustada valitud sardmikrokontrollerite programmeerimismeetodeid ja -tehnikaid C keeles
• Selleks, et rakendada eespool nimetatut ülesannete ja probleemide lahendamise juures, et saada praktilisi kogemusi.
Täiendavad eesmärgid:
• Rakendada teaduslike ja insenerlike meetodite elemente;
• Rakendada ja tugevdada eksperimentide tegemise oskust ja analüütilist mõtlemist;
• Rakendada ja tugevdada kirjalikku eneseväljendusoskust (raportite kirjutamine);
• Rakendada ja tugevdada probleemilahendusoskust;
• Tugevdada iseseisva töö oskust.
Nõutavad eelteadmised: teadmised Boole'i algebrast, järjestikusest -ja kombinatsioonloogikast, numbrite esitusviisidest, oskus lugeda ja mõista andmelehti (nn. datasheets), kirjutada raporteid. Need eeltingimused peavad olema olemas ja/või värskendatud enne kursuse algust.
course aims in English
The target audience is those students who have no experience with C programming and microcontrollers. There are 24 places available; priority will be given to the target audience.
The overall purpose of the course is to equip the students with the necessary knowledge, methods and techniques for programming embedded microcontrollers using the C language. The course is conducted as a combination of lectures and laboratory classes with the following aims:
• To give an overview of microcontroller architectures;
• To give an overview the C programming language;
• To give an overview of the development tool-chain;
• To present methods and techniques for programming the selected embedded microcontroller in C;
• To apply the above for solving tasks and problems in order to gain practical experience.
Other aims of the course:
• To apply elements of the scientific and engineering methods;
• To apply and strengthen experimental and analytical skills;
• To apply and strengthen written reporting skills;
• To apply and strengthen problem-solving skills;
• To strengthen independent working skills.
Prerequisites: Boolean algebra, sequential and combinational logic, number representation, reading and understanding datasheets, writing reports. These prerequisites must be acquired and/or brushed-up prior to starting the course.
learning outcomes in the course in Est.
Õppeaine läbinud tudeng:
- Teab sardmikrokontrolleri arhitektuuri üldiselt;
- Tunneb antud kursuse jaoks valitud mikrokontrolleri arhitektuuri;
- Tunneb C-programmeerimiskeele üldisi aluseid;
- Omab teadmisi ja oskusi valitud arhitektuuri programmeerimise kohta C-keeles;
- Oskab programmeerida C keeles sardmikrokontrollerit kohaldades eespool nimetatud teadmisi ja oskusi, et lahendada iseseisvalt tegelikke probleeme ja dokumenteerida tööd.
learning outcomes in the course in Eng.
Student who has completed the course:
- Knows about embedded microcontroller architecture in general;
- Is familiar with the particular microcontroller architecture selected for the course;
- Has knowledge of and skills in C-programming in general;
- Has knowledge of and skills in C-programming for the selected architecture;
- Can program embedded microcontroller in C-language applying the above listed knowledge and skills for independently solving real-life problems and documenting the work.
brief description of the course in Estonian
Üldine mikroprotsessori arhitektuur. Üldine programmeerimise voog. C põhialused (andmetüübid, arvesitused, muutujad, käsuvoog jne). Ülevaade valitud platvormist (arhitektuur sh välisseadmed ja konkreetsed tööriistad). Bitimanipulatsioonid C keeles. Funktsioonid. Ponterid. Massiivid. Sisendid, väljundid. Pollimised vs katkestused. Taimerid. Side (UART). ADC.
brief description of the course in English
Generic microprocessor architecture. Generic programming flow. C fundamentals (data types, numeric representation, variables, control-flow, etc.). Overview of the selected platform (architecture, including peripherals and specific toolchain). Bit manipulation in C. Functions. Pointers. Structures. I/Os. Polling vs. interrupts. Timer. Communications (UART). ADCs.
type of assessment in Estonian
Hindamine koosneb kas laboriülesannete seeriast või miniprojektist. Mõlemal juhul peavad õpilased 1) kavandama, rakendama ja testima sardmikrokontrolleri baasil loodud varjatud süsteemi osi ja 2) dokumenteerima kogu protsessi.
type of assessment in English
The assessment consists of either a series of lab assignments or a miniproject. In both cases the students have to 1) design, implement, and test parts of a microcontroller-based embedded system and 2) document the entire process.
independent study in Estonian
-
independent study in English
-
study literature
„MSP430 Microcontroller Basics“ by John H. Davies. ISBN-10: 0750682760 | ISBN-13: 978-0750682763.
Optional: „C Programming Language (2nd Edition)“ by Brian W. Kernighan and Dennis M. Ritchi. ISBN-10: 0131103628 | ISBN-13: 978-0131103627.
study forms and load
daytime study: weekly hours
4.0
session-based study work load (in a semester):