Professional Documents
Culture Documents
Topic 3
Basic Computer Structure
Prof. Vinod Prasad
Microcontroller Structure
A/D Port
Buffering and
Serial Port Direct Memory Access
CPU
(DMA)
External Memory Port
Memory,
Interfacing to Memory,
External Interrupt Port
Memory Timing
Interrupt and applications
External Timer Port Interfacing LCD
Organization Timer and
Counter Simple I/O Port
Motor Interfacing
In this course, STM32 is used as a driving vehicle for delivering the concepts.
To be covered In progress Done
Little-endian Addressing
(e.g. Intel machine codes)
Alternative: Big-endian
Least significant value in the
Most significant value in sequence is stored first.
the sequence is stored
ELEC 3300 : Fall 2021 first. 8
Cache Memory
ARM architecture
Bytewise
Blockwise
in ns in ms
• Solution: Special
• Memory-mapped I/O Peripheral
interface
I/O Port 0 I/O Dev 1 mouse
I/O Port 1
I/O Port 2
I/O Port 3 I/O Dev 0 keyboard
CPU I/O Port 4
I/O Port 5
I/O Dev 4 LCD
I/O Port 6
Control Signals
Tradeoff?
Special A1, A0 are the selectors for Port A, Port B, Port C and CR.
Peripheral
interface Start
How do you write the driver of 8255A for transferring
data between microcontroller and peripherals? Initialization
P1.4
P1.3
P1.2
P1.1
P1.0
R0 R0 R1
P1 36H 36H 58H
Old value R4 R4
Description
Interval 3 Abstract idea of project
(Define the functionality of the system)
Programming Language
Communication Protocol
Hardware devices
(Microcontroller, Peripherals)
hardware
Interval 5 Interval 6
Lecture 4
Microcontroller Structure
A/D Port
Buffering and
Serial Port Direct Memory Access
CPU
(DMA)
External Memory Port
Memory,
Interfacing to Memory,
External Interrupt Port
Memory Timing
Interrupt and applications
External Timer Port Interfacing LCD
Organization Timer and
Counter Simple I/O Port
Motor Interfacing
In this course, STM32 is used as a driving vehicle for delivering the concepts.
To be covered In progress Done