You are on page 1of 10

Lecture 4 : Embedded Systems : Hardware

04/01/2022

DR. ASWATHI R NAIR


Basics of computer architecture
Computers – consists of hardware and software
Major hardware components: CPU, memory, I/O devices
CPU/Microprocessor: carries out instructions, consists of ALU, control unit, registers
System Bus: Interconnects the various components inside a computer
◦ Data bus, address bus, control bus

Microprocessor performs three actions continuously: Fetch, decode and execute!!!


https://www.youtube.com/watch?v=AkFi90lZmXA
https://www.youtube.com/watch?v=p3q5zWCw8J4
System Clock?

EC3061D-EMBEDDED SYSTEMS-WINTER 2021-NITC 2


RISC and CISC architectures
RISC- Reduced Instruction Set Computers
CISC- Complex Instruction Set Computers

EC3061D-EMBEDDED SYSTEMS-WINTER 2021-NITC 3


Harvard Architecture
Data and Instructions/program are stored in separate memory space, and accessed by
separate buses. Typically, instruction will be stored in flash ROM and data in RAM

EC3061D-EMBEDDED SYSTEMS-WINTER 2021-NITC 4


Embedded Hardware – where
to start?
Choose an MCU appropriate for the application
All the controllers for the peripherals should be available inside the chip
Sufficient no of I/O pins
Clock frequency should be high enough, but not excessively high

EC3061D-EMBEDDED SYSTEMS-WINTER 2021-NITC 5


The internal structure of an MCU

EC3061D-EMBEDDED SYSTEMS-WINTER 2021-NITC 6


I/O devices connected to the GPIO pins

A set of pins on which external peripherals are connected and can be programmed as input
or output
Each pin may have more than one function, depending on the choice of the MCU

EC3061D-EMBEDDED SYSTEMS-WINTER 2021-NITC 7


When the power is switched on, the processor should be reset.
Internal registers will be cleared and processor gets ready to execute.
Program counter is also cleared.

EC3061D-EMBEDDED SYSTEMS-WINTER 2021-NITC 8


EC3061D-EMBEDDED SYSTEMS-WINTER 2021-NITC 9
EC3061D-EMBEDDED SYSTEMS-WINTER 2021-NITC 10

You might also like