|
Week
|
Topics to be covered:
|
Lab exercises:
|
|
1 |
Microprocessors and Microcontrollers
Text: Chapter 1, Sections 2.1-2.9
- Basic components
- Microprocessors, Microcomputers, Microcontrollers
- Applications
- The 8051 family of microcontrollers
- Block diagram, memory
- Internal registers
- Parallel I/O ports
- System clock
- Serial port
- Timers
- Interrupts
The 8051 Assembly Language
Text: Section 2.10-2.15
- Data transfer instructions
- Address modes
|
Hardware/Software Introduction
- Learn the components of the development board setup
- Learn the project manager and debug windows of the IDE
- Create a project, add a file, configure IDE, compile, build,
download, run.
- Intermediate files: List file, object code file
- Using the debug tools.
- Registers and memory.
- Assembler directives -
cseg, rseg, equ, end
Miscellaneous
Assembly Language Programming
|
|
2
|
- Data processing instructions
- Program flow instructions
- Subroutines
- Interrupts
|
|
|
3
|
Overview of the Cygnal C8051F020 MCU
C8051F020 MCU Data Sheet
Text: 2.6, 2.7, 2.9, 3.12
- System clock
- Pipelined CPU
- Software delays
- Timers
- On-chip "External" RAM
- Digital to Analog Conversion
|
Configuring Special Function Registers
|
|
4
|
- Analog to Digital Conversion
- Temperature Sensor
- Additional Timer functions
- Programmable Counter Array
|
|
|
|
Midterm Exam - Thursday, April 27 (see
Blackboard for Old Exam) |
|
5
|
C Language Programming
Text: Chapter 4
- C for microcontrollers
- Review of C basics
- Compilation process for Cygnal
- C Extensions
- In-line assembly
- Interfacing with C
|
Programming and Interfacing with C
|
|
6
|
- C examples
- Pointers and Arrays
- Revisit I/O ports
- Functions
|
|
| 7
|
- Header files
- Multitasking and multiprogramming
Embedded Microcontroller Systems
- Synchronization methods
- Performance metrics
- Hardware interface issues
- Control block diagrams
- Actuators, plant, sensors
Other C8051F020 Subsystems
- Serial Transmission, UARTs
- System Management Bus
|
Hardware Interfacing Issues
|
| 8
|
- Serial Peripheral Interface Bus
- UART - Asynchronous modes
- Review PCA, output compare
- Review PCA PWM
(continued from "Embedded Microcontroller Systems")
- Open loop, closed loop control
- Bang-bang and incremental controllers
- PID controllers
|
Embedded System Examples
Project |
|
9
|
(continued from "Other C8051F020 Subsystems")
- Review PCA input capture
- Comparators
|
|
| 10
|
Guest Lecture - Example Embedded Systems
Project Presentations and Demos
Masters Project Presentation
|
- Digital Position Controller Multidisciplinary Laboratory (report)
- Project work
Project Demos and
Report
Final Exam Topic Outline
|