Mikroprosessorien ohjelmointiLaajuus (3 op)
Opintojakson tunnus: TI00AA39
Opintojakson perustiedot
- Laajuus
- 3 op
Osaamistavoitteet
Students understand the structure and operating principles of a conventional microcontroller. They can write simple programs in assembly language.
Sisältö
· Operation principles of digital computers
· Structure and operation of microprocessors and microcontrollers
· Programming model of Atmel AVR: registers, ALU, external interface, memory, instruction set, addressing modes, interrupts, timers
· Structure and operation of microprocessor systems, parallel and serial I/O interface circuits, memory interface
· Assembly language programming: program structures, programming
· Testing programs using a simulator and a processor board
Arviointikriteerit, tyydyttävä (1)
Student is able to write simple assembly language program and is able to explain operation of simple assembly language program. He or she understands basic operation of microprocessor and understands difference between program and data memory. He or she understands how conditional branches work and how to call subroutines.
Arviointikriteerit, hyvä (3)
Student is able to write simple assembly language program and is able to explain operation of simple assembly language program. He or she understands basic operation of microprocessor and understands difference between program and data memory. He or she understands how conditional branches work and how to call subroutines. He or she understands how to use different addressing modes and is able to select suitable addressing modes for his or hers programs. He or she understands operation of stack memory and knows how stack is used to store return addresses. He or she is able to write subroutines that use registers for parameter passing.
Arviointikriteerit, kiitettävä (5)
Student is able to write simple assembly language program and is able to explain operation of simple assembly language program. He or she understands basic operation of microprocessor and understands difference between program and data memory. He or she understands how conditional branches work and how to call subroutines. He or she understands how to use different addressing modes and is able to select suitable addressing modes for his or hers programs. He or she understands operation of stack memory and knows how stack is used to store return addresses. He or she is able to write subroutines that use registers or stack memory for parameter passing. He or she is able to write interrupt based programs.