Arm Study Notes Chapter 1: ARM Embedded Systems

Source: Internet
Author: User

Application of arm cpu:

Arm cores are widely used in most of portable consumer devices. such as mobile phone.

 

 

What is arm:

The ARM core is not a single core, but a whole family of designs sharing similar design principles and a common instruction set.

 

 

The most classic arm is ARM7TDMI.

Balanced CED Instruction Set Computer)

 

There are a number of physical features that have driven the ARM processor design

1. First, portable embedded systems require some form of battery power. The ARM processor has been specifically designed to be small to reduce power consumption and extend battery operation.

2. High code density is another major requirement since embedded systems have limited
Memory due to cost and/or physical size restrictions.

3. Another important requirement is to reduce the area of the die taken up by the embedded processor.

 

The difference between ARM Instruction Set and pure RICS makes arm suitable for Embedded Application:

1. variable cycle execution for certain instructions.

2. inline Barrel Shifter leading to more complex instructions

3. Thumb 16-bit Instruction Set

4. Conditional execution

5. Enhanced instructions on the aspect of DSP.

 

A typical embedded device can be seperated into four main hardware components:

1. ARM processor

2. controllers-commonly are interrupt and memory controllers.

3. Peripherals

4. Bus

 

Bus has two architecture levels:

1. Physical level that covers the electrical characteristics and bus width (16, 32and64bits)

2. protocal-the logical rules that govern the communication between the CPU and peripherals

 

AMBA: advanced microcontroller Bus Architecture

It was first introduced by arm company as ASB (ARM system bus) and APB (arm Peripheral Bus). Later Arm introduced anther bus design called AHB (arm High Performance Bus ).

 

The advantages of using AMBA:

Using AMBA, the peripheral designers can reuse the same design on multiple projects. Because extends peripherals were developed with AMBA interface, hardware designers have a wide choice of these peripherals for use in a device.

 

Advantages of AHB:

AHB provides higher data throughput than ASB because it uses centralized multiplexed bus scheme rather than the ASB bidirectional bus design. This allows the AHB Bus to run at higher clock speeds.

 

Specific Memory Characteristics shoshould be considered:

1. hierarchy: cache, main memory or secondary storage.

2. Width: Using 32bit instruction set but 16bit memory, the processor need two memory fetches per instruction. But if we use 32bit memory, it needs only once, but 32bit is more expensive.

3. Type: Rom or RAM (DRAM, SRAM ).

 

Four typical embedded system softwares:

1. Initialization code: It takes the processor from the reset state to a state where the OS can run. It configures the memory controller and processor caches and initializes some devices.

2. Device Driver: provides a standard interface to peripherals.

3. Operating System: organizes the system resources: Peripheral, memory and processing time.

4. Application Software: performs the task-specific duties.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.