The document discusses the basics of embedded systems hardware. It describes the major components of a computer including the CPU, memory, and I/O devices. The CPU fetches, decodes, and executes instructions continuously. Embedded systems use microprocessor units that have I/O pins to connect to external peripherals. When power is switched on, the processor must be reset to clear internal registers and ready itself for program execution.
The document discusses the basics of embedded systems hardware. It describes the major components of a computer including the CPU, memory, and I/O devices. The CPU fetches, decodes, and executes instructions continuously. Embedded systems use microprocessor units that have I/O pins to connect to external peripherals. When power is switched on, the processor must be reset to clear internal registers and ready itself for program execution.
The document discusses the basics of embedded systems hardware. It describes the major components of a computer including the CPU, memory, and I/O devices. The CPU fetches, decodes, and executes instructions continuously. Embedded systems use microprocessor units that have I/O pins to connect to external peripherals. When power is switched on, the processor must be reset to clear internal registers and ready itself for program execution.
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.