SlideShare une entreprise Scribd logo
1  sur  25
EMBEDDED & REAL TIME SYSTEMS
mr.C.KARTHIKEYAN
AP/ECE/RMKCET
UNIT II ARM
PROCESSOR
AND
PERIPHERALS
SYLLABUS
 ARM Architecture Versions
ARM Architecture
Instruction Set
Stacks and Subroutines
Features of the LPC 214X Family
 Peripherals
The Timer Unit
Pulse Width Modulation Unit
UART
Block Diagram of ARM9 and ARM Cortex M3 MCU
3
FUNDAMENTALS
COMPUTER TAXANOMY ARCHITECTURE (Arrangement of MEMORY)
DIFFERENCE BETWEEN COMPUTER & MOBILE PHONE SoC
REAL TIME APPLICATIONS
INTRODUCTION TO ARM PROCESSOR
DATAFLOW
ARM ARCHITECTURE
OPERATION
MODES
4
COMPUTER TAXANOMY ARCHITECTURE
1.VON NEUMANN ARCHITECTURE
Hardware requirements- LESS
Space requirements- LESS SPACE
Controlling-Simple
since either data or instructions
are to be fetched at a time.
Speed of execution- slow
since it cannot fetches the data and instructions
at the same time
5
2.HARVARD ARCHITECTURE (HP)
Hardware requirements- more
Space requirements-more SPACE
Speed of execution- fast
because the processor fetches
data and instructions simultaneously .
Controlling-complex
since data and instructions are
to be fetched simultaneously
6
3.CISC
Flexibility
Performance
Command length varies
More no. of clock cycles even for small code
Emphasis on hardware
More RAM, Less Register
RTA: PC/ LAPTOPS FOR PROCESSING HEAVY GRAPHIC GAMING &
COMPUTING COMPLEX EQUATIONS
7
4.RISC
Rigidity
Performance
Command length equal
Less no. of clock cycles even for long code
Emphasis on software
Less RAM, More Register
RTA: MOBILE PHONES, ANDROIS, IOS, TABLETS FOR HIGHER
RESPONSE
8
APLLICATIONS
SMARTPHONES-Snapdragon Processors or Media Tek Processors
LAPTOP/ DESKTOP-Intel and AMD Processor
⬡ The Snapdragon central processing unit (CPU) uses the ARM RISC
instruction set, and a single SoC may include multiple CPU cores.
⬡ It comes with graphics processing unit (GPU), which provides high-quality
graphics and superior gaming experiences.
9
10
ARM BASED PRODUCTS
“ Introduction to ARM
Processor” - One of the
most licensed and thus
widespread processor cores
in the world
11
Advanced RISC
Machine
NOMENCLATURE
⬡ ARMxyzTDMIEJFS
⬡ – x: series
⬡ – y: MMU
⬡ – z: cache
⬡ – T: Thumb
⬡ – D: debugger
⬡ – M: Multiplier (MAC)
⬡ – I: Embedded ICE (built-in debugger hardware)
⬡ – E: Enhanced instruction
⬡ – J: Jazelle (JVM)
⬡ – F: Floating-point
⬡ – S: Synthesizible version (source code version for EDA Tools)
13
14
1.ARM (32)
2.THUMB (16)
3.JAZELLE
3 STATES OF OPERATION
3 DIFFERNET INSTRUCTION SETS
ARM
FEATURES
15
32 bit MC
32 bit ALU
32 bit Data bus
32 bit data stored in 4
consecutive locations
16
⬡ All instructions are in aligned form
⬡ ARM7- Von Neumann
⬡ ARM9- Harvard
Load/store model
8086(CISC)
ADD CL,BL
ADD CL,[2000]
⬡ ARM (RISC)
⬡ REGISTER BASED
⬡ LOAD THE DATA INTO THE REGISTR
⬡ PERFORM OPERATION
⬡ EXECUTE RESULT STORE IN REGISTER
⬡ RIGID, HP
17
18
3 Stage PIPELINE
ARM DATA FLOW
19
REGISTERS
20
ARM has 37 registers
All registers are of 32 bits
R0-r15 DATA REGISTER (R0-R12 GPR)
r13, r14, and r15 perform special functions
r13: stack pointer – push & pop operation
r14: link register – one fn. to another, to know the return back address
r15: program counter- which instruction to be executed
Two status registers
CPSR: Current Program Status Register (1)
SPSR: Saved Program Status Register (5)
7 MODES OF OPERATION
21
REGISTER SET
22
BINARY EQUIVALENT VALUES FOR DIFFERENT MODES
23
PSR -Program Status Register
24
BITS (0-7 ) C –CONTROL, BITS (8-15) X- EXTENSION , BITS (16-23) S - STATUS, BITS (24-31) F-FLAGS
25
Thanks!
Any questions?

Contenu connexe

Tendances

8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
Tech_MX
 

Tendances (20)

Arm processors' architecture
Arm processors'   architectureArm processors'   architecture
Arm processors' architecture
 
Lect 2 ARM processor architecture
Lect 2 ARM processor architectureLect 2 ARM processor architecture
Lect 2 ARM processor architecture
 
LECT 1: ARM PROCESSORS
LECT 1: ARM PROCESSORSLECT 1: ARM PROCESSORS
LECT 1: ARM PROCESSORS
 
Superscalar Processor
Superscalar ProcessorSuperscalar Processor
Superscalar Processor
 
Embedded C - Optimization techniques
Embedded C - Optimization techniquesEmbedded C - Optimization techniques
Embedded C - Optimization techniques
 
Arm instruction set
Arm instruction setArm instruction set
Arm instruction set
 
Memory Organisation in embedded systems
Memory Organisation in embedded systemsMemory Organisation in embedded systems
Memory Organisation in embedded systems
 
Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)
 
Unit 2 mpmc
Unit 2 mpmcUnit 2 mpmc
Unit 2 mpmc
 
ARM Micro-controller
ARM Micro-controllerARM Micro-controller
ARM Micro-controller
 
ARM - Advance RISC Machine
ARM - Advance RISC MachineARM - Advance RISC Machine
ARM - Advance RISC Machine
 
Communication protocols - Embedded Systems
Communication protocols - Embedded SystemsCommunication protocols - Embedded Systems
Communication protocols - Embedded Systems
 
Presentation on risc pipeline
Presentation on risc pipelinePresentation on risc pipeline
Presentation on risc pipeline
 
Ec8791 lpc2148
Ec8791 lpc2148Ec8791 lpc2148
Ec8791 lpc2148
 
EC8791 UML-model train controller
EC8791 UML-model train controllerEC8791 UML-model train controller
EC8791 UML-model train controller
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
 
Bidirectional Bus Modelling
Bidirectional Bus ModellingBidirectional Bus Modelling
Bidirectional Bus Modelling
 
RTOS Basic Concepts
RTOS Basic ConceptsRTOS Basic Concepts
RTOS Basic Concepts
 
Microprogrammed Control Unit
Microprogrammed Control UnitMicroprogrammed Control Unit
Microprogrammed Control Unit
 
Embedded System Programming on ARM Cortex M3 and M4 Course
Embedded System Programming on ARM Cortex M3 and M4 CourseEmbedded System Programming on ARM Cortex M3 and M4 Course
Embedded System Programming on ARM Cortex M3 and M4 Course
 

Similaire à Unit2 arm

18CS44-MODULE1-PPT.pptx
18CS44-MODULE1-PPT.pptx18CS44-MODULE1-PPT.pptx
18CS44-MODULE1-PPT.pptx
KokilaK25
 
Arm cortex-m3 by-joe_bungo_arm
Arm cortex-m3 by-joe_bungo_armArm cortex-m3 by-joe_bungo_arm
Arm cortex-m3 by-joe_bungo_arm
Prashant Ahire
 

Similaire à Unit2 arm (20)

unit 1ARM INTRODUCTION.pptx
unit 1ARM INTRODUCTION.pptxunit 1ARM INTRODUCTION.pptx
unit 1ARM INTRODUCTION.pptx
 
ARM Versions, architecture
ARM Versions, architectureARM Versions, architecture
ARM Versions, architecture
 
18CS44-MODULE1-PPT.pdf
18CS44-MODULE1-PPT.pdf18CS44-MODULE1-PPT.pdf
18CS44-MODULE1-PPT.pdf
 
AAME ARM Techcon2013 001v02 Architecture and Programmer's model
AAME ARM Techcon2013 001v02 Architecture and Programmer's modelAAME ARM Techcon2013 001v02 Architecture and Programmer's model
AAME ARM Techcon2013 001v02 Architecture and Programmer's model
 
Arm Processors Architectures
Arm Processors ArchitecturesArm Processors Architectures
Arm Processors Architectures
 
Module-2 Instruction Set Cpus.pdf
Module-2 Instruction Set Cpus.pdfModule-2 Instruction Set Cpus.pdf
Module-2 Instruction Set Cpus.pdf
 
18CS44-MODULE1-PPT.pptx
18CS44-MODULE1-PPT.pptx18CS44-MODULE1-PPT.pptx
18CS44-MODULE1-PPT.pptx
 
Embedded systems-unit-1
Embedded systems-unit-1Embedded systems-unit-1
Embedded systems-unit-1
 
Microcontroller(18CS44) module 1
Microcontroller(18CS44)  module 1Microcontroller(18CS44)  module 1
Microcontroller(18CS44) module 1
 
Arm Processor
Arm ProcessorArm Processor
Arm Processor
 
Arm cortex-m3 by-joe_bungo_arm
Arm cortex-m3 by-joe_bungo_armArm cortex-m3 by-joe_bungo_arm
Arm cortex-m3 by-joe_bungo_arm
 
arm
armarm
arm
 
ARM Architecture
ARM ArchitectureARM Architecture
ARM Architecture
 
Arm
ArmArm
Arm
 
Unit 4 _ ARM Processors .pptx
Unit 4 _ ARM Processors .pptxUnit 4 _ ARM Processors .pptx
Unit 4 _ ARM Processors .pptx
 
ARM stacks, subroutines, Cortex M3, LPC 214X
ARM  stacks, subroutines, Cortex M3, LPC 214XARM  stacks, subroutines, Cortex M3, LPC 214X
ARM stacks, subroutines, Cortex M3, LPC 214X
 
arm 7 microprocessor architecture ans pin diagram.ppt
arm 7 microprocessor architecture ans pin diagram.pptarm 7 microprocessor architecture ans pin diagram.ppt
arm 7 microprocessor architecture ans pin diagram.ppt
 
Arm corrected ppt
Arm corrected pptArm corrected ppt
Arm corrected ppt
 
Arm processor
Arm processorArm processor
Arm processor
 
A-LOOP: AMP system: 2-cores ARM Cortex A9/Linux OS and 4-cores Leon3/Linux OS...
A-LOOP: AMP system: 2-cores ARM Cortex A9/Linux OS and 4-cores Leon3/Linux OS...A-LOOP: AMP system: 2-cores ARM Cortex A9/Linux OS and 4-cores Leon3/Linux OS...
A-LOOP: AMP system: 2-cores ARM Cortex A9/Linux OS and 4-cores Leon3/Linux OS...
 

Plus de Karthik Vivek

Plus de Karthik Vivek (20)

Peak detector, instrumentation amp
Peak detector, instrumentation ampPeak detector, instrumentation amp
Peak detector, instrumentation amp
 
U3 op amp applications
U3 op amp applicationsU3 op amp applications
U3 op amp applications
 
Unit 1 ic fab
Unit 1 ic fabUnit 1 ic fab
Unit 1 ic fab
 
Fabrication of diodes, resistors, capacitors, fe ts
Fabrication of diodes, resistors, capacitors, fe tsFabrication of diodes, resistors, capacitors, fe ts
Fabrication of diodes, resistors, capacitors, fe ts
 
Unit 3 part2
Unit 3 part2Unit 3 part2
Unit 3 part2
 
Unit 3 part2
Unit 3 part2Unit 3 part2
Unit 3 part2
 
Unit 3 part2
Unit 3 part2Unit 3 part2
Unit 3 part2
 
Compiler optimization
Compiler optimizationCompiler optimization
Compiler optimization
 
Embedded programming u3 part 1
Embedded programming u3 part 1Embedded programming u3 part 1
Embedded programming u3 part 1
 
ARM inst set part 2
ARM inst set part 2ARM inst set part 2
ARM inst set part 2
 
ARM instruction set
ARM instruction  setARM instruction  set
ARM instruction set
 
ARM instruction set
ARM instruction  setARM instruction  set
ARM instruction set
 
Unit 1a train
Unit 1a trainUnit 1a train
Unit 1a train
 
Unit 1c
Unit 1cUnit 1c
Unit 1c
 
Unit 1b
Unit 1bUnit 1b
Unit 1b
 
Unit 1a train
Unit 1a trainUnit 1a train
Unit 1a train
 
Introduction
IntroductionIntroduction
Introduction
 
unit 2- OP AMP APPLICATIONS
unit 2- OP AMP APPLICATIONSunit 2- OP AMP APPLICATIONS
unit 2- OP AMP APPLICATIONS
 
VLSI DESIGN- MOS TRANSISTOR
VLSI DESIGN- MOS TRANSISTORVLSI DESIGN- MOS TRANSISTOR
VLSI DESIGN- MOS TRANSISTOR
 
Power Dissipation
Power DissipationPower Dissipation
Power Dissipation
 

Dernier

"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
mphochane1998
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
AldoGarca30
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
Kamal Acharya
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Dernier (20)

Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 

Unit2 arm

  • 1. EMBEDDED & REAL TIME SYSTEMS mr.C.KARTHIKEYAN AP/ECE/RMKCET
  • 3. SYLLABUS  ARM Architecture Versions ARM Architecture Instruction Set Stacks and Subroutines Features of the LPC 214X Family  Peripherals The Timer Unit Pulse Width Modulation Unit UART Block Diagram of ARM9 and ARM Cortex M3 MCU 3
  • 4. FUNDAMENTALS COMPUTER TAXANOMY ARCHITECTURE (Arrangement of MEMORY) DIFFERENCE BETWEEN COMPUTER & MOBILE PHONE SoC REAL TIME APPLICATIONS INTRODUCTION TO ARM PROCESSOR DATAFLOW ARM ARCHITECTURE OPERATION MODES 4
  • 5. COMPUTER TAXANOMY ARCHITECTURE 1.VON NEUMANN ARCHITECTURE Hardware requirements- LESS Space requirements- LESS SPACE Controlling-Simple since either data or instructions are to be fetched at a time. Speed of execution- slow since it cannot fetches the data and instructions at the same time 5
  • 6. 2.HARVARD ARCHITECTURE (HP) Hardware requirements- more Space requirements-more SPACE Speed of execution- fast because the processor fetches data and instructions simultaneously . Controlling-complex since data and instructions are to be fetched simultaneously 6
  • 7. 3.CISC Flexibility Performance Command length varies More no. of clock cycles even for small code Emphasis on hardware More RAM, Less Register RTA: PC/ LAPTOPS FOR PROCESSING HEAVY GRAPHIC GAMING & COMPUTING COMPLEX EQUATIONS 7
  • 8. 4.RISC Rigidity Performance Command length equal Less no. of clock cycles even for long code Emphasis on software Less RAM, More Register RTA: MOBILE PHONES, ANDROIS, IOS, TABLETS FOR HIGHER RESPONSE 8
  • 9. APLLICATIONS SMARTPHONES-Snapdragon Processors or Media Tek Processors LAPTOP/ DESKTOP-Intel and AMD Processor ⬡ The Snapdragon central processing unit (CPU) uses the ARM RISC instruction set, and a single SoC may include multiple CPU cores. ⬡ It comes with graphics processing unit (GPU), which provides high-quality graphics and superior gaming experiences. 9
  • 11. “ Introduction to ARM Processor” - One of the most licensed and thus widespread processor cores in the world 11
  • 13. NOMENCLATURE ⬡ ARMxyzTDMIEJFS ⬡ – x: series ⬡ – y: MMU ⬡ – z: cache ⬡ – T: Thumb ⬡ – D: debugger ⬡ – M: Multiplier (MAC) ⬡ – I: Embedded ICE (built-in debugger hardware) ⬡ – E: Enhanced instruction ⬡ – J: Jazelle (JVM) ⬡ – F: Floating-point ⬡ – S: Synthesizible version (source code version for EDA Tools) 13
  • 14. 14 1.ARM (32) 2.THUMB (16) 3.JAZELLE 3 STATES OF OPERATION 3 DIFFERNET INSTRUCTION SETS
  • 16. 32 bit MC 32 bit ALU 32 bit Data bus 32 bit data stored in 4 consecutive locations 16 ⬡ All instructions are in aligned form ⬡ ARM7- Von Neumann ⬡ ARM9- Harvard
  • 17. Load/store model 8086(CISC) ADD CL,BL ADD CL,[2000] ⬡ ARM (RISC) ⬡ REGISTER BASED ⬡ LOAD THE DATA INTO THE REGISTR ⬡ PERFORM OPERATION ⬡ EXECUTE RESULT STORE IN REGISTER ⬡ RIGID, HP 17
  • 20. REGISTERS 20 ARM has 37 registers All registers are of 32 bits R0-r15 DATA REGISTER (R0-R12 GPR) r13, r14, and r15 perform special functions r13: stack pointer – push & pop operation r14: link register – one fn. to another, to know the return back address r15: program counter- which instruction to be executed Two status registers CPSR: Current Program Status Register (1) SPSR: Saved Program Status Register (5)
  • 21. 7 MODES OF OPERATION 21
  • 23. BINARY EQUIVALENT VALUES FOR DIFFERENT MODES 23
  • 24. PSR -Program Status Register 24 BITS (0-7 ) C –CONTROL, BITS (8-15) X- EXTENSION , BITS (16-23) S - STATUS, BITS (24-31) F-FLAGS