0% found this document useful (0 votes)
73 views5 pages

EEN-4143: Microcontroller Based Design: 1. Course Books

This document outlines the plan for an EEN-4143: Microcontroller Based Design course offered in Fall 2021. It covers 14 weeks of topics related to microcontrollers and embedded systems including C programming, GPIO, timers, PWM, software architectures, LCDs, keypads, serial communication protocols, ADCs, exceptions, and interrupts. Assignments and quizzes are given throughout the course to reinforce learning. Required resources include textbooks on STM32 programming and datasheets for the STM32F103 microcontroller.

Uploaded by

jameeshudson
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views5 pages

EEN-4143: Microcontroller Based Design: 1. Course Books

This document outlines the plan for an EEN-4143: Microcontroller Based Design course offered in Fall 2021. It covers 14 weeks of topics related to microcontrollers and embedded systems including C programming, GPIO, timers, PWM, software architectures, LCDs, keypads, serial communication protocols, ADCs, exceptions, and interrupts. Assignments and quizzes are given throughout the course to reinforce learning. Required resources include textbooks on STM32 programming and datasheets for the STM32F103 microcontroller.

Uploaded by

jameeshudson
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

EEN-4143: Microcontroller Based Design

Fall - 2021

1. Course Books:
a) STM32 Arm Programming for Embedded Systems Using C Language with STM32
Nucleo by M.A. Mazidi
o Available at https://studylib.net/doc/25600820/stm32-arm-programming-for-
embedded-systems-by-mazidi--muh...
b) STM32F1xx Data Sheet
c) STM32F1xx Reference Manual

2. Weekly Plan:

Week Activity
Topics Covered Resource
s

1 (Lect Introduction to embedded systems Atmel328p


1,2)  Definition of embedded systems. datasheet
 Embedded systems in our daily lives.
 Differences between embedded systems STM32F103RB
and general purpose computers (PCs / Reference Manual
Smartphones) and Data sheet
 Review of the microprocessor from
hardware interface point of view. Lecture notes
 Introduction to the generic configuration
of microcontrollers
 Differences between microprocessors
and microcontrollers
 Interfacing microcontrollers with real
world; AtoD; DtoA
 Difference between Atmel328p and
Cortex M3
2 (Lect Review of C language: STM32F103RB Assignment 1
3,4)  Function and prototypes Reference Manual Assigned
 Conditional statements and Data sheet
 Loops
 Variables Mazidi Chapter
 Using different number systems 1,2
 Logical operations
 Function
STM32 Block Diagram
GPIO Pin Diagram
General purpose I/O:
 Revisit the GPIO peripheral for
generating outputs.
 Output pin configurations.
 Output data register.
 Bit set reset registers.
 What output can be used.
 Reading inputs
3 (Lect STM32 Clock Tree STM32F103RB Assignment 1
5,6) STM32 Memory Map Reference Manual Due
and Data sheet
Hello world: First embedded program.
 Need for super loop.
 Generating a digital output signal.
 GPIO peripheral.
 LED on the target hardware.

First code
Masking (read-modify-write operations)
4 (Lect Timers: STM32F103RB Quiz 1
7,8)  General intro the peripheral timers and Reference Manual
their features on the STM32F103 and Data sheet Assignment 2
 Time base unit Assigned
 Functioning of the prescaler, counter and Mazidi Chapter 5
auto reload register.
 Preloaded registers

Hardware delays: detailed look.

5 (Lect Detailed revision Assignment 2


9,10) Due

6 (Lect Pulse Width Modulation: STM32F103RB Assignment 3


11,12) Reference Manual Assigned
 PWM and its use to control power / and Data sheet
speed (switching circuits)
 PWM Theory Mazidi Chapter 11
 Calculating Duty Cycle and average
value

 Configuring the output channel to


generate a PWM signal
 Multitasking along with PWM

7 (Lect Software Architectures: Lecture notes Quiz 2


13,14)  Review of the super loop architecture.
 Concept of tasks. Context Switch by Assignment 3
 Task related concepts and definitions David Kalensky Due
 Introduction to the formal architectures:
Cyclic, timed cyclic and multi rate cyclic
architectures,
 Major and minor cycles
 Limitations of cyclic executive
 Multi rate executive for periodic tasks
 Interrupts and buffers
8 (Lect 15,  Preemptive scheduling Practice
16)  Deadline scheduling Questions

Algorithm development for timed and


multi rate cyclic architectures:
 Conventional algorithm development
and its limitations
 Software patterns for writing for
embedded systems using time cyclic and
multi rate cyclic architectures.
o Implementing time triggered and
event triggered actions.
Nested actions and locks.

Revision
9 (Lect LCD Lecture notes
17,18)  Architecture Mazidi Ch 3
 Interface with microcontroller
 Programming
10 (Lect Keypad Lecture notes Assignment 4
19,20)  Architecture Mazidi Ch 3,4 Assigned
 Interface with microcontroller
 Programming STM32F103RB
Reference Manual
Serial Communication
 Serial communication basics and Data sheet

USART
 USART Protocol Basics
 USART Packet Formation
 Features of the STM32F103’s USART
peripheral
 Configuring the baud rate generator
 Pin modes for the USART pins
 Wired UART Connection
 Basics of USART operation
(STM32F103 specific)

11 (Lect SPI Lecture notes Assignment 4


21,22)  SPI Protocol Basics Mazidi Ch 8,9 Due
 Pin modes and connections
 Master slave concept

IIC
 I2C Protocol Basics
 Pin modes and connections
 Master slave concept
 I2C Packet Formation

12 (Lect Keypad and LCD Revision Lecture notes


23,24 Calculator code Mazidi Ch 7

ADC
 How physical quantities interact with
controller
 Basics of Analogue and Digital Signals
 Working of ADC
 Sample and hold Circuit
 Quantizer circuit
 Flash type AtoD Converter
 Counter type AtoD converter

13 (Lect ADC Lecture notes Quiz 3
25,26  Successive Approximation Type Ato D Mazidi Ch 7
Converter
Programming ADC of STM32F103rb STM32F103RB
Reference Manual
and Data sheet

14 Exceptions and interrupts Lecture notes Assignment 5


 What is an exception Mazidi Ch 6 assigned
 What is an interrupt
 Difference between exceptions and STM32F103RB
interrupts Reference Manual
 Polling vs interrupt and Data sheet
 Why we need/avoid them
 How controller handle interrupts
 Interrupts priority
 IRQHandler
 NVIC
15 Interrupt programming STM32F103rb Lecture notes Assignment 5
Tim2 Interrupt Mazidi Ch 6 due
External Interrupt
STM32F103RB
Reference Manual
and Data sheet

16 Revision Quiz 4

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy