Microcontroller Programming
Syllabus, Master's level, 1TE723
- Code
- 1TE723
- Education cycle
- Second cycle
- Main field(s) of study and in-depth level
- Computer Science A1N, Embedded Systems A1N, Technology A1N
- Grading system
- Pass with distinction (5), Pass with credit (4), Pass (3), Fail (U)
- Finalised by
- The Faculty Board of Science and Technology, 17 October 2025
- Responsible department
- Department of Materials Science and Engineering
Entry requirements
120 credits in science/engineering, including one of the following options: (option 1): Computer Programming I and Electronics I, (option 2): Computer Programming I and Basics of Electrical Engineering II and Digital Electronics, (option 3): Program Design and Data Structures as well as Digital Technology and Electronics, (option 4): 30 credits in computer science, including courses in programming and computer architecture. Proficiency in English equivalent to the Swedish upper secondary course English 6.
Learning outcomes
On completion of the course, the student should be able to:
- program a microcontroller in C, including the hardware configuration and interrupt routines,
- manage parallel processes with different priorities without the help of an operating system,
- explain the choice of data types and algorithms in view of limited resources,
- provide a description of the constraints of the selected system design,
- debug a microcontroller application by various means.
Content
Structure of microcontrollers and internal peripherals, memory types. Connecting analog and digital signals, including the basics of electronics.
Serial communication. Hardware programming in C, device drivers, interrupt handling. Handling of parallel processes when an operating system is missing, process priority, time analysis, finite state machines. Instruction and register set for a given microcontroller family.
Efficiency aspects of different data types and program structures in C. Development tools and debugging.
Instruction
Lectures and laboratory work.
Assessment
Written examination (4 credits). On-site examination of laboratory work (1 credit).
If there are special reasons for doing so, an examiner may make an exception from the method of assessment indicated and allow a student to be assessed by another method. An example of special reasons might be a certificate regarding special pedagogical support from the disability coordinator of the university.
Other regulations
The course may not be included in a degree together with 1TE663.