SlideShare a Scribd company logo
1 of 10
ARM® Cortex™ M Energy Optimization 
Techniques - Using Instruction Cache 
Raahul Anand Raghavan, Lead Systems Architect, 
Glyton Solutions 
!1
Agenda 
• Before We Proceed! 
• Importance of energy optimization with Cortex M profile in 
context 
• Instruction cache in ARM® Cortex™ M 
• Energy Profiling & Results comparison 
• Turn ON I-CACHE 
• Turn OFF I-CACHE 
• Concludes 
!2
Before We Proceed! 
• In this presentation, we will be investigating role of 
I-CACHE when it comes to energy efficiency optimization 
• Involves Cortex M0+ based EVM and a suitable IDE 
• Official Documentation from ARM®, Silicon Labs will 
override information provided here. Treat official TRM’s as 
complete guides on Subject Matter 
• ARM® Cortex® M trademark - ARM Ltd 
• EFM®32, Silicon Labs SDK etc are registered trademarks 
!3
ARM® Cortex™ M Importance of Energy Optimization (1 / 2) 
• Typical products - Cortex M usage scenarios 
• Perpetually powered sensor products for industrial control 
• Energy harvesting is one key technology used to charge the battery pack when it comes to 
perpetually powered low power consumption sensor products 
• Products powering IOT (Internet of Things) 
• Wearable products catering to 
• Fitness trackers 
• Elderly / Patient assistance 
• …. 
• Whats one critical factor judging better end user / enterprise experience across all the products 
above ? 
• ALWAYS ON functionality 
• How do we achieve ALWAYS ON functionality ? 
• Best in class energy efficiency 
!4
ARM® Cortex™ M Importance of Energy Optimization (2 / 2) 
• What would be one of the best methods for extreme energy efficiency ? 
• Taking advantage of Architectural features 
• We will be discussing how one such architectural feature in ARM® Cortex™ M micro-controllers 
• I CACHE - Instruction Cache 
!5 
ARM® Cortex™ 
Core 
Cache Look-Up 
Logic 
SRAM CACHE 
Implementation 
IDCOD MUX 
CODE 
Memory Space 
(NV-FLASH) 
ICODE! 
AHB-LITE BUS 
ICODE! 
AHB-LITE BUS 
Instruction Cache 
DCODE! 
AHB-LITE BUS 
IDCODE! 
AHB-LITE BUS
ICACHE Implementation - EFM32 MCU’s from Silicon Labs 
• ICACHE 
• Connected directly to Cortex M Core 
• Acts as memory access filter between processor core and memory system 
• Consists 
• Access filter 
• Look-up logic 
• 128x32 SRAM (512 Bytes) 
• How does it work ? 
• Access filter checks if instruction access address falls in code space 
• On match , cache look-up and SRAM is enabled and instruction fetch happens 
• If no match , then ICACHE is bypassed and access is forwarded to memory 
system , then to NV memory such as NAND flash 
!6
How does ICACHE Impact energy efficiency ? 
• In the absence of ICACHE 
• Every instruction in CODE section, gets fetched from 
external FLASH 
• This involves read routines are always costly as it 
involves external peripheral access 
• The read routines to fetch instructions from external NV 
memory such as NAND is always costly (in terms of 
current consumption) compared to on-chip components 
• Another factor is that , there could be a risk of involving 
multiple read cycles for fetching instructions from 
external flash 
!7
Energy Profiling Results (1 / 2) 
• Following data might give an idea with respect to what 
would be the impact of having ICACHE turned ON and OFF 
• ICACHE Turned ON / OFF in EFM32 Zero Gecko 
• API used — MSC_EnableCache(bool ); 
• Does required configuration to turn ON or OFF ICACHE in 
memory system controller 
• Simple application measuring ambient temperature used 
• Simplicity Studio - Energy Profiler from Silicon Labs 
• On Board J-LINK debugger 
!8
Energy Profiling Results (2 / 2) 
Average Current Consumption — 60.45μA 
Average Power — 200.78μA 
Total Energy — 36.50mJ 
Average Current Consumption — 73.03μA 
Average Power — 242.48μA 
Total Energy — 44.28mJ 
!9 
ICACHE ON 
ICACHE OFF
Concludes! 
• Lets ensure to 
• Take advantage of any architectural functionality when 
it comes to achieving high energy efficiency 
• Take advantage of any ARM® Cortex™ M, silicon 
implementer specific functionality when it comes to 
achieving high energy efficiency 
!10

More Related Content

What's hot

ARM AAE - Memory Systems
ARM AAE - Memory SystemsARM AAE - Memory Systems
ARM AAE - Memory SystemsAnh Dung NGUYEN
 
AAME ARM Techcon2013 003v02 Software Development
AAME ARM Techcon2013 003v02  Software DevelopmentAAME ARM Techcon2013 003v02  Software Development
AAME ARM Techcon2013 003v02 Software DevelopmentAnh Dung NGUYEN
 
AAME ARM Techcon2013 002v02 Advanced Features
AAME ARM Techcon2013 002v02 Advanced FeaturesAAME ARM Techcon2013 002v02 Advanced Features
AAME ARM Techcon2013 002v02 Advanced FeaturesAnh Dung NGUYEN
 
AAME ARM Techcon2013 005v02 System Startup
AAME ARM Techcon2013 005v02 System StartupAAME ARM Techcon2013 005v02 System Startup
AAME ARM Techcon2013 005v02 System StartupAnh Dung NGUYEN
 
Advanced debugging on ARM Cortex devices such as STM32, Kinetis, LPC, etc.
Advanced debugging on ARM Cortex devices such as STM32, Kinetis, LPC, etc.Advanced debugging on ARM Cortex devices such as STM32, Kinetis, LPC, etc.
Advanced debugging on ARM Cortex devices such as STM32, Kinetis, LPC, etc.Atollic
 
SOC Peripheral Components & SOC Tools
SOC Peripheral Components & SOC ToolsSOC Peripheral Components & SOC Tools
SOC Peripheral Components & SOC ToolsA B Shinde
 
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 modelAnh Dung NGUYEN
 
02 : ARM Cortex M4 Specs || IEEE SSCS AlexSC
02 : ARM Cortex M4 Specs || IEEE SSCS AlexSC 02 : ARM Cortex M4 Specs || IEEE SSCS AlexSC
02 : ARM Cortex M4 Specs || IEEE SSCS AlexSC IEEE SSCS AlexSC
 
Reliability, Availability and Serviceability on Linux
Reliability, Availability and Serviceability on LinuxReliability, Availability and Serviceability on Linux
Reliability, Availability and Serviceability on LinuxSamsung Open Source Group
 
1: Interfacing using ARM Cortex M4 || IEEE SSCS AlexSC
1: Interfacing using ARM Cortex M4 || IEEE SSCS AlexSC 1: Interfacing using ARM Cortex M4 || IEEE SSCS AlexSC
1: Interfacing using ARM Cortex M4 || IEEE SSCS AlexSC IEEE SSCS AlexSC
 
introduction to embedded systems part 1
introduction to embedded systems part 1introduction to embedded systems part 1
introduction to embedded systems part 1Hatem Abd El-Salam
 
ARM Processor architecture
ARM Processor  architectureARM Processor  architecture
ARM Processor architecturerajkciitr
 
BUD17-209: Reliability, Availability, and Serviceability (RAS) on ARM64
BUD17-209: Reliability, Availability, and Serviceability (RAS) on ARM64 BUD17-209: Reliability, Availability, and Serviceability (RAS) on ARM64
BUD17-209: Reliability, Availability, and Serviceability (RAS) on ARM64 Linaro
 
SOC Interconnects: AMBA & CoreConnect
SOC Interconnects: AMBA  & CoreConnectSOC Interconnects: AMBA  & CoreConnect
SOC Interconnects: AMBA & CoreConnectA B Shinde
 
SOC Application Studies: Image Compression
SOC Application Studies: Image CompressionSOC Application Studies: Image Compression
SOC Application Studies: Image CompressionA B Shinde
 

What's hot (20)

ARM AAE - Architecture
ARM AAE - ArchitectureARM AAE - Architecture
ARM AAE - Architecture
 
ARM AAE - Memory Systems
ARM AAE - Memory SystemsARM AAE - Memory Systems
ARM AAE - Memory Systems
 
AAME ARM Techcon2013 003v02 Software Development
AAME ARM Techcon2013 003v02  Software DevelopmentAAME ARM Techcon2013 003v02  Software Development
AAME ARM Techcon2013 003v02 Software Development
 
AAME ARM Techcon2013 002v02 Advanced Features
AAME ARM Techcon2013 002v02 Advanced FeaturesAAME ARM Techcon2013 002v02 Advanced Features
AAME ARM Techcon2013 002v02 Advanced Features
 
AAME ARM Techcon2013 005v02 System Startup
AAME ARM Techcon2013 005v02 System StartupAAME ARM Techcon2013 005v02 System Startup
AAME ARM Techcon2013 005v02 System Startup
 
Advanced debugging on ARM Cortex devices such as STM32, Kinetis, LPC, etc.
Advanced debugging on ARM Cortex devices such as STM32, Kinetis, LPC, etc.Advanced debugging on ARM Cortex devices such as STM32, Kinetis, LPC, etc.
Advanced debugging on ARM Cortex devices such as STM32, Kinetis, LPC, etc.
 
SOC Peripheral Components & SOC Tools
SOC Peripheral Components & SOC ToolsSOC Peripheral Components & SOC Tools
SOC Peripheral Components & SOC Tools
 
CPU Architecture
CPU ArchitectureCPU Architecture
CPU Architecture
 
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
 
02 : ARM Cortex M4 Specs || IEEE SSCS AlexSC
02 : ARM Cortex M4 Specs || IEEE SSCS AlexSC 02 : ARM Cortex M4 Specs || IEEE SSCS AlexSC
02 : ARM Cortex M4 Specs || IEEE SSCS AlexSC
 
Reliability, Availability and Serviceability on Linux
Reliability, Availability and Serviceability on LinuxReliability, Availability and Serviceability on Linux
Reliability, Availability and Serviceability on Linux
 
Unit vi (1)
Unit vi (1)Unit vi (1)
Unit vi (1)
 
1: Interfacing using ARM Cortex M4 || IEEE SSCS AlexSC
1: Interfacing using ARM Cortex M4 || IEEE SSCS AlexSC 1: Interfacing using ARM Cortex M4 || IEEE SSCS AlexSC
1: Interfacing using ARM Cortex M4 || IEEE SSCS AlexSC
 
introduction to embedded systems part 1
introduction to embedded systems part 1introduction to embedded systems part 1
introduction to embedded systems part 1
 
ARM Processor architecture
ARM Processor  architectureARM Processor  architecture
ARM Processor architecture
 
Processors selection
Processors selectionProcessors selection
Processors selection
 
EC8791 UML-model train controller
EC8791 UML-model train controllerEC8791 UML-model train controller
EC8791 UML-model train controller
 
BUD17-209: Reliability, Availability, and Serviceability (RAS) on ARM64
BUD17-209: Reliability, Availability, and Serviceability (RAS) on ARM64 BUD17-209: Reliability, Availability, and Serviceability (RAS) on ARM64
BUD17-209: Reliability, Availability, and Serviceability (RAS) on ARM64
 
SOC Interconnects: AMBA & CoreConnect
SOC Interconnects: AMBA  & CoreConnectSOC Interconnects: AMBA  & CoreConnect
SOC Interconnects: AMBA & CoreConnect
 
SOC Application Studies: Image Compression
SOC Application Studies: Image CompressionSOC Application Studies: Image Compression
SOC Application Studies: Image Compression
 

Viewers also liked

Презентация времена года
Презентация времена годаПрезентация времена года
Презентация времена годаGbouschool17
 
The sun and its planets g3
The sun and its planets g3The sun and its planets g3
The sun and its planets g3Radwa83
 
продукт тас максимум
продукт тас максимумпродукт тас максимум
продукт тас максимумyanaosadchayaTAS
 
тас захист продукт-май 2014
тас захист продукт-май 2014тас захист продукт-май 2014
тас захист продукт-май 2014yanaosadchayaTAS
 
10th January 2017 - Disciples of Jesus - James the elder
10th January 2017 -  Disciples of Jesus - James the elder10th January 2017 -  Disciples of Jesus - James the elder
10th January 2017 - Disciples of Jesus - James the elderThorn Group Pvt Ltd
 
Дорожная карта
Дорожная картаДорожная карта
Дорожная картаGbouschool17
 
Diploma marketing mix final project
Diploma marketing mix final project Diploma marketing mix final project
Diploma marketing mix final project Kakiaman Tenunteweia
 
Tas family продукт и тех. андерайтинг- июнь 2015
Tas family продукт и тех. андерайтинг- июнь 2015Tas family продукт и тех. андерайтинг- июнь 2015
Tas family продукт и тех. андерайтинг- июнь 2015yanaosadchayaTAS
 
password based door locking system using 8051
password based door locking system using 8051password based door locking system using 8051
password based door locking system using 8051Mangleshwar Prajapati
 
آموزش ترمودینامیک ۲ بخش پنجم
آموزش ترمودینامیک ۲ بخش پنجمآموزش ترمودینامیک ۲ بخش پنجم
آموزش ترمودینامیک ۲ بخش پنجمfaradars
 
Production of Enzymes
Production of Enzymes Production of Enzymes
Production of Enzymes montica sawant
 
Ch.1,l1, how living things are alike
Ch.1,l1, how living things are alikeCh.1,l1, how living things are alike
Ch.1,l1, how living things are alikeRadwa83
 

Viewers also liked (17)

Презентация времена года
Презентация времена годаПрезентация времена года
Презентация времена года
 
The sun and its planets g3
The sun and its planets g3The sun and its planets g3
The sun and its planets g3
 
продукт тас максимум
продукт тас максимумпродукт тас максимум
продукт тас максимум
 
тас захист продукт-май 2014
тас захист продукт-май 2014тас захист продукт-май 2014
тас захист продукт-май 2014
 
Footbal Tactics
Footbal TacticsFootbal Tactics
Footbal Tactics
 
10th January 2017 - Disciples of Jesus - James the elder
10th January 2017 -  Disciples of Jesus - James the elder10th January 2017 -  Disciples of Jesus - James the elder
10th January 2017 - Disciples of Jesus - James the elder
 
Дорожная карта
Дорожная картаДорожная карта
Дорожная карта
 
Diploma marketing mix final project
Diploma marketing mix final project Diploma marketing mix final project
Diploma marketing mix final project
 
هیدرولیک کاربردی
هیدرولیک کاربردیهیدرولیک کاربردی
هیدرولیک کاربردی
 
Tas family продукт и тех. андерайтинг- июнь 2015
Tas family продукт и тех. андерайтинг- июнь 2015Tas family продукт и тех. андерайтинг- июнь 2015
Tas family продукт и тех. андерайтинг- июнь 2015
 
password based door locking system using 8051
password based door locking system using 8051password based door locking system using 8051
password based door locking system using 8051
 
آموزش ترمودینامیک ۲ بخش پنجم
آموزش ترمودینامیک ۲ بخش پنجمآموزش ترمودینامیک ۲ بخش پنجم
آموزش ترمودینامیک ۲ بخش پنجم
 
The Moon
The MoonThe Moon
The Moon
 
Production of Enzymes
Production of Enzymes Production of Enzymes
Production of Enzymes
 
Pumps and types of pumps
Pumps and types of pumpsPumps and types of pumps
Pumps and types of pumps
 
Emergnecy orthopedic
Emergnecy orthopedicEmergnecy orthopedic
Emergnecy orthopedic
 
Ch.1,l1, how living things are alike
Ch.1,l1, how living things are alikeCh.1,l1, how living things are alike
Ch.1,l1, how living things are alike
 

Similar to ARM® Cortex™ M Energy Optimization - Using Instruction Cache

Computer organization & ARM microcontrollers module 3 PPT
Computer organization & ARM microcontrollers module 3 PPTComputer organization & ARM microcontrollers module 3 PPT
Computer organization & ARM microcontrollers module 3 PPTChetanNaikJECE
 
Basics of micro controllers for biginners
Basics of  micro controllers for biginnersBasics of  micro controllers for biginners
Basics of micro controllers for biginnersGerwin Makanyanga
 
Ajal mod 1
Ajal mod 1Ajal mod 1
Ajal mod 1AJAL A J
 
PPT MES class.pptx
PPT MES class.pptxPPT MES class.pptx
PPT MES class.pptxkavithadcs
 
Brain wave controlled robot
Brain wave controlled robotBrain wave controlled robot
Brain wave controlled robotRahul Wagh
 
8051 microcontroller
8051 microcontroller8051 microcontroller
8051 microcontrollersnehapvs
 
Challenges in Embedded Computing
Challenges in Embedded ComputingChallenges in Embedded Computing
Challenges in Embedded ComputingPradeep Kumar TS
 
참여기관_발표자료-국민대학교 201301 정기회의
참여기관_발표자료-국민대학교 201301 정기회의참여기관_발표자료-국민대학교 201301 정기회의
참여기관_발표자료-국민대학교 201301 정기회의DzH QWuynh
 
Introduction to embedded System.pptx
Introduction to embedded System.pptxIntroduction to embedded System.pptx
Introduction to embedded System.pptxPratik Gohel
 
SOC Processors Used in SOC
SOC Processors Used in SOCSOC Processors Used in SOC
SOC Processors Used in SOCA B Shinde
 
Apollo ultra low power MCU from Ambiq Micro
Apollo ultra low power MCU from Ambiq MicroApollo ultra low power MCU from Ambiq Micro
Apollo ultra low power MCU from Ambiq MicroAmbiq Micro
 
Embedded Systems (18EC62) – Embedded System Components (Module 3)
Embedded Systems (18EC62) – Embedded System Components (Module 3)Embedded Systems (18EC62) – Embedded System Components (Module 3)
Embedded Systems (18EC62) – Embedded System Components (Module 3)Shrishail Bhat
 
Design of a low power processor for Embedded system applications
Design of a low power processor for Embedded system applicationsDesign of a low power processor for Embedded system applications
Design of a low power processor for Embedded system applicationsROHIT89352
 

Similar to ARM® Cortex™ M Energy Optimization - Using Instruction Cache (20)

Computer organization & ARM microcontrollers module 3 PPT
Computer organization & ARM microcontrollers module 3 PPTComputer organization & ARM microcontrollers module 3 PPT
Computer organization & ARM microcontrollers module 3 PPT
 
esunit1.pptx
esunit1.pptxesunit1.pptx
esunit1.pptx
 
Basics of micro controllers for biginners
Basics of  micro controllers for biginnersBasics of  micro controllers for biginners
Basics of micro controllers for biginners
 
Ajal mod 1
Ajal mod 1Ajal mod 1
Ajal mod 1
 
Hard ips pdf
Hard ips pdfHard ips pdf
Hard ips pdf
 
PPT MES class.pptx
PPT MES class.pptxPPT MES class.pptx
PPT MES class.pptx
 
MES PPT.pptx
MES PPT.pptxMES PPT.pptx
MES PPT.pptx
 
Brain wave controlled robot
Brain wave controlled robotBrain wave controlled robot
Brain wave controlled robot
 
8051 microcontroller
8051 microcontroller8051 microcontroller
8051 microcontroller
 
On chip cache
On chip cacheOn chip cache
On chip cache
 
Challenges in Embedded Computing
Challenges in Embedded ComputingChallenges in Embedded Computing
Challenges in Embedded Computing
 
참여기관_발표자료-국민대학교 201301 정기회의
참여기관_발표자료-국민대학교 201301 정기회의참여기관_발표자료-국민대학교 201301 정기회의
참여기관_발표자료-국민대학교 201301 정기회의
 
Introduction to embedded System.pptx
Introduction to embedded System.pptxIntroduction to embedded System.pptx
Introduction to embedded System.pptx
 
SOC Processors Used in SOC
SOC Processors Used in SOCSOC Processors Used in SOC
SOC Processors Used in SOC
 
Apollo ultra low power MCU from Ambiq Micro
Apollo ultra low power MCU from Ambiq MicroApollo ultra low power MCU from Ambiq Micro
Apollo ultra low power MCU from Ambiq Micro
 
Unit I_MT2301.pdf
Unit I_MT2301.pdfUnit I_MT2301.pdf
Unit I_MT2301.pdf
 
Lecture1
Lecture1Lecture1
Lecture1
 
Embedded Systems (18EC62) – Embedded System Components (Module 3)
Embedded Systems (18EC62) – Embedded System Components (Module 3)Embedded Systems (18EC62) – Embedded System Components (Module 3)
Embedded Systems (18EC62) – Embedded System Components (Module 3)
 
Cache
CacheCache
Cache
 
Design of a low power processor for Embedded system applications
Design of a low power processor for Embedded system applicationsDesign of a low power processor for Embedded system applications
Design of a low power processor for Embedded system applications
 

Recently uploaded

CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceanilsa9823
 

Recently uploaded (20)

CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 

ARM® Cortex™ M Energy Optimization - Using Instruction Cache

  • 1. ARM® Cortex™ M Energy Optimization Techniques - Using Instruction Cache Raahul Anand Raghavan, Lead Systems Architect, Glyton Solutions !1
  • 2. Agenda • Before We Proceed! • Importance of energy optimization with Cortex M profile in context • Instruction cache in ARM® Cortex™ M • Energy Profiling & Results comparison • Turn ON I-CACHE • Turn OFF I-CACHE • Concludes !2
  • 3. Before We Proceed! • In this presentation, we will be investigating role of I-CACHE when it comes to energy efficiency optimization • Involves Cortex M0+ based EVM and a suitable IDE • Official Documentation from ARM®, Silicon Labs will override information provided here. Treat official TRM’s as complete guides on Subject Matter • ARM® Cortex® M trademark - ARM Ltd • EFM®32, Silicon Labs SDK etc are registered trademarks !3
  • 4. ARM® Cortex™ M Importance of Energy Optimization (1 / 2) • Typical products - Cortex M usage scenarios • Perpetually powered sensor products for industrial control • Energy harvesting is one key technology used to charge the battery pack when it comes to perpetually powered low power consumption sensor products • Products powering IOT (Internet of Things) • Wearable products catering to • Fitness trackers • Elderly / Patient assistance • …. • Whats one critical factor judging better end user / enterprise experience across all the products above ? • ALWAYS ON functionality • How do we achieve ALWAYS ON functionality ? • Best in class energy efficiency !4
  • 5. ARM® Cortex™ M Importance of Energy Optimization (2 / 2) • What would be one of the best methods for extreme energy efficiency ? • Taking advantage of Architectural features • We will be discussing how one such architectural feature in ARM® Cortex™ M micro-controllers • I CACHE - Instruction Cache !5 ARM® Cortex™ Core Cache Look-Up Logic SRAM CACHE Implementation IDCOD MUX CODE Memory Space (NV-FLASH) ICODE! AHB-LITE BUS ICODE! AHB-LITE BUS Instruction Cache DCODE! AHB-LITE BUS IDCODE! AHB-LITE BUS
  • 6. ICACHE Implementation - EFM32 MCU’s from Silicon Labs • ICACHE • Connected directly to Cortex M Core • Acts as memory access filter between processor core and memory system • Consists • Access filter • Look-up logic • 128x32 SRAM (512 Bytes) • How does it work ? • Access filter checks if instruction access address falls in code space • On match , cache look-up and SRAM is enabled and instruction fetch happens • If no match , then ICACHE is bypassed and access is forwarded to memory system , then to NV memory such as NAND flash !6
  • 7. How does ICACHE Impact energy efficiency ? • In the absence of ICACHE • Every instruction in CODE section, gets fetched from external FLASH • This involves read routines are always costly as it involves external peripheral access • The read routines to fetch instructions from external NV memory such as NAND is always costly (in terms of current consumption) compared to on-chip components • Another factor is that , there could be a risk of involving multiple read cycles for fetching instructions from external flash !7
  • 8. Energy Profiling Results (1 / 2) • Following data might give an idea with respect to what would be the impact of having ICACHE turned ON and OFF • ICACHE Turned ON / OFF in EFM32 Zero Gecko • API used — MSC_EnableCache(bool ); • Does required configuration to turn ON or OFF ICACHE in memory system controller • Simple application measuring ambient temperature used • Simplicity Studio - Energy Profiler from Silicon Labs • On Board J-LINK debugger !8
  • 9. Energy Profiling Results (2 / 2) Average Current Consumption — 60.45μA Average Power — 200.78μA Total Energy — 36.50mJ Average Current Consumption — 73.03μA Average Power — 242.48μA Total Energy — 44.28mJ !9 ICACHE ON ICACHE OFF
  • 10. Concludes! • Lets ensure to • Take advantage of any architectural functionality when it comes to achieving high energy efficiency • Take advantage of any ARM® Cortex™ M, silicon implementer specific functionality when it comes to achieving high energy efficiency !10