chapter 2 - Embedded System Architecture
chapter 2 - Embedded System Architecture
⬢ Harvard Architecture
⬡ The Harvard architecture offers separate storage and
signal buses for instructions and data.
⬡ This architecture has data storage entirely contained
within the CPU, and there is no access to the instruction
storage as data.
⬡ Computers have separate memory areas for program
instructions and data using internal data buses, allowing
simultaneous access to both instructions and data.
Cont ….
⬢ The basic block diagram is given below:
⬡ Programs needed to be loaded by an
operator;
⬡ the processor could not boot itself.
⬡ In a Harvard architecture, there is no need
to make the two memories share
properties.
Classification of Embedded System
Architecture
⬢ RISC and CISC in Computer Organization
⬡ RISC is the way to make hardware simpler whereas CISC is
the single instruction that handles multiple work.
⬡ The RISC and CISC both are part of system architecture and
set of computer instruction.
⬡ The important difference between RISC and CISC is the
number of computing cycles.
⬡ Let’s explore more differences between RISC and CISC.
Cont ….
⬢ What is RISC?
⬡ RISC stands for Reduced Instruction Set Computers.
⬡ RISC is a microprocessor and as the name indicates, it
performs a smaller number of computer instructions.
⬡ Thus, it has a high speed to operate. It works on a fixed
instruction format that keeps less than 100 instructions to
be processed with a register-based instruction used by a
few simple addressing modes.
⬡ The LOAD/STORE is the only instruction used to access the
memory as it is a compiler development mechanism.
Cont ….
⬢ What is CISC?
⬡ Stands for Complex Instruction Set Architecture.
⬡ The main idea is that a single instruction will do all
loading, evaluating, and storing operations.
⬡ CISC is the kind of chip that can be easily
programmed and makes the best and efficient use
of memory.
Difference between RISC and CISC Processor
S.No. RISC CISC
1. RISC is a reduced instruction set. CISC is a complex instruction set.
2. The number of instructions is less as The number of instructions is more as
compared to CISC. compared to RISC.
3. The addressing modes are less. The addressing modes are more.
4. It works in a fixed instruction format. It works in a variable instruction format.
5. The RISC consumes low power. The CISC consumes high power.
6. The RISC processors are highly The CISC processors are less
pipelined. pipelined.
8. Requires more RAM. Requires less RAM.
2.2. ARM Cortex M0+ Hardware Overview
⬢ Applications
⬡ Wearable devices: The Cortex-M0+ is a popular choice for
wearable devices, such as fitness trackers and smartwatches, due
to its low power consumption and small footprint.
⬡ IoT devices: The Cortex-M0+ is also a popular choice for IoT
devices, such as sensors and actuators, due to its low cost and
high performance.
⬡ Battery-powered devices: The Cortex-M0+ is a good choice for
battery-powered devices, such as wireless mice and keyboards,
due to its ultra-low power consumption.
Communication: Parallel, USB/Serial, USART,
2.3.
SPI, TWI, Ethernet, Wireless
⬢ Embedded System Architecture Communication
⬡ Embedded systems communicate with other devices using a variety
of protocols.
⬢ The most common protocols are:
⬡ parallel,
⬡ USB/serial,
⬡ USART,
⬡ SPI,
⬡ TWI,
⬡ Ethernet, and
⬡ wireless
Cont ….