Electrical and Computer Engineering
MICROPROCESSORS AND MICROCONTROLLERS
Description
Theory
2
Laboratory
3
Instructors
Lino Figueiredo
Contents
(CP1) 1. Computers Base Architecture
1.1. CPU
1.2. Memory
1.3. Input/Output
1.4. Microprocessors and Microcontrollers
(CP2) 2. AVR Microcontrollers - ATmega128
2.1. Base architecture - Harvard Architecture
2.2. Memory system
2.2.1. Program memory
2.2.2. Data memory (internal / external)
2.2.3. E2PROM data memory
2.3. IO Ports
2.3.1. IO ports hardware
2.3.2. Registers and programming
2.4. Interrupt system
2.5. Timers / Counters
2.5.1. Hardware
2.5.2. Operation modes (Normal, CTC, PWM)
2.6. A/D conversion
2.6.1. Hardware
2.6.2. Operation and programming
(CP3) 3. Asynchronous Data Communication
3.1. RS232 / RS485 protocols
3.2. ATmega128 USART
(CP4) 4. Synchronous Data Communication
4.1. SPI protocol - ATmega128 implementation
4.2. I2C protocol - ATmega128 implementation
Learning Outcomes
This course will provide the tools for designing and implementing microcontroller-based digital systems (OB1). At the end of the semester, students will have acquired skills in AVR microcontroller architecture (OB2), programming microcontrollers in Assembly and C languages (OB3), and using different low-level protocols for data communication (OB4).