9/30/2024
Lecture 0: Course Overview
Seyed-Hosein Attarzadeh-Niaki
Microprocessors and Interface Circuits 1
Teacher
• Seyed-Hosein Attarzadeh-Niaki
– PhD in Electronic and Computer
Systems (KTH, 2014)
• Research interests
– System-Level Modeling and
Design of Intelligent Embedded
and Cyber-Physical Systems
– Design-Space Exploration
Problems
• Contact
– Course-related: Courseware
– Other stuff:
h_attarzadeh@sbu.ac.ir
Microprocessors and Interface Circuits 2
1
9/30/2024
Positioning
• Logic Circuits
– Number representation &
coding
– Logical Gates Logic Circuits
– Combinational circuits
– Synchronous & asynchronous Computer
Architecture
circuits
– State machines
Microprocessors Operating Digital Systems
• Computer Architecture
HW/SW Codesign
& Interface Circ. Systems Design
– Computer Organization
–
Embedded
Arithmetic and control units Realtime Systems
– Memory hierarchy
– Instruction set
Microprocessors and Interface Circuits 3
Course Requirements
• Pass the exams
• Complete the labs in time
– Analytical
– Computer-based
– Usually one week after they are announced
• Perform and present the course project
• Active participation in lectures and tutorials
– Quizzes and online questions
– Tutorial attendance
Microprocessors and Interface Circuits 4
2
9/30/2024
Exams and Grading
• The mid-term exam
– Exact time will be announced
– Topics: Introduction, the x86 microprocessor
– ≈ 4 points
• The final exam
– Topics: The ARM microcontroller
– ≈ 7 points
• Labs
– ≈ 7 points
• Course Project
– 2 points (Bonus points possible)
• Active participation
– ±2 points
Microprocessors and Interface Circuits 5
Course Material
• No single official course book
• x86
– Mazidi, Muhammad Ali, and Janice Mazidi. 80x86 IBM PC and Compatible
Computers: Assembly Language, Design and Interfacing, 4/E. Prentice Hall
PTR, 2003.
– Brey, Barry B. "Intel Microprocessors: Architecture, Programming, and
Interfacing, 8/E." (2009).
• ARM
– Yiu, Joseph. The Definitive Guide to ARM® Cortex®-M3 and Cortex®-M4
Processors. Newnes, 2013.
– Mazidi, Muhammad Ali, Shujen Chen, and Eshragh Ghaemi. STM32 Arm
Programming for Embedded Systems (1st Ed.). MicroDigitalEd.com, 2019.
• Interfacing
– Wolf, Marilyn. Embedded System Interfacing: Design for the Internet-of-Things
(IoT) and Cyber-Physical Systems (CPS). Morgan Kaufmann, 2019.
Microprocessors and Interface Circuits 6
3
9/30/2024
Covered Topics
Introduction to microprocessor systems
• History
• Micro-computer systems
The x86 microprocessor family
• Architecture and Instruction-set
• Assembly programming
• Memory and IO interfacing
• DMA and co-processors
• Recent advances in x8-based microprocessors
The ARM Cortex-M microcontroller family
• Architecture, instruction-set and assembly programming
• Programming microcontrollers with C
• IO Programming
• Serial communication
• Timers
• Interrupt and exceptions
• Analog-to-digital and digital-to-analog converters
• Complementary topics (SPI and I2C protocols, PWM, DMA, etc.)
Microprocessors and Interface Circuits 7
How Do We Conduct The Course?
• It is a course with heavy practical aspects
• Only key concepts are discussed in the
lectures
• Some lecturing activities are performed with
the help of (randomly-chosen) students
– Looking up information in the documents
– Developing small sample applications
• Lab exercises and project will (hopefully) help
to deepen your understanding of the subject
Microprocessors and Interface Circuits 8
4
9/30/2024
Two Options For Taking The Course
Plan A Plan B
• Take the lab together with • Take the lab later
the course • Like a classic 3 credit course
• All exercises are synced with • However you will have to do
the labs the same lab activities as
• It is like taking a single course exercises
course with 4 credits • Not recommended
– Pass (or fail) both courses
with the same mark
We encourage you to also take the lab course
if you have not done it so far
Microprocessors and Interface Circuits 9
Tools Used In The Course
Keil µVision Proteus MASM/DOSBox
Visual Studio
Microprocessors and Interface Circuits 10
5
9/30/2024
Who Does What?
Teacher does the TEACHING! Students do the LEARNING!
Read the material, do not
record/listen to lecturer’s voice!
Microprocessors and Interface Circuits 11