Locale Icon
English
  • Forums

    Popular Forums

    • LTspice
    • RF and Microwave
    • Video
    • Power Management
    • Precision ADCs
    • FPGA Reference Designs
    • Linux Software Drivers

    Product Forums

    • Amplifiers
    • Microcontrollers
    • Clock and Timing
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy Monitoring and Metering
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Power Management
    • Processors and DSP
    • Switches/Multiplexers
    • Temperature Sensors
    • Voltage References
    View All

    Application Forums

    • A2B
    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing Library
    • Motor Control Hardware Platforms
    • Precision Technology Signal Chains Library
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools and Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Reference Designs
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    Simplifying Connectivity - Remote Controlled (RC) Nodes in a Software Defined Vehicle (SDV)

    This webinar will introduce remote-controlled edge nodes and how they promise to simplify the automotive network architecture and expedite the integration...

    Places

    • ADI Education Home
    • ADI Webinars
    • GMSL U
    • StudentZone (Analog Dialogue)
    • Video Annex
    • Virtual Classroom

    Libraries

    • 3D ToF Depth Sensing Library
    • Continuous-Wave CMOS Time of Flight (TOF) Library
    • Embedded Vision Sensing Library
    • Gigabit Multimedia Serial Link (GMSL) Library
    • Optical Sensing Library
    • Precision Technology Signal Chains Library
    • Software Modules and SDKs Library
    • Supervisory Circuits Library
    • Wireless Sensor Networks Library

    Latest Webinars

    • Simplifying Connectivity - Remote Controlled (RC) Nodes in a Software Defined Vehicle (SDV)
    • Upcoming Webinar: Simplify High-Accuracy Instrumentation Design with Latest Precision Data Converters
    • Design High Performance Power Systems with Ultralow Noise Technology
    • µModule Solution for Intelligent Motion Control
    • Accelerating Embedded System Development with CodeFusion Studio™︎
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ286 about Right Labels on the Right Boxes containing colored balls

      1. Quote of the week: "Knowledge is knowing a tomato is a fruit. Wisdom is not putting it in a fruit salad" - unknown Sources: commons.wikimedia...

    View All

    What's Brewing

      Quiz! Why a Hybrid Approach Works Blog and Test Your Knowledge

      Quiz! Understand ISO 26262 Compliance Test your knowledge with our quick quiz , based on the blog " Safety in Layers: Why a Hybrid Approach Works ...

    View All

    Places

    • Community Help
    • Logic Lounge
    • Super User Program

    Resources

    • EZ Code of Conduct
    • EZ How To Help Articles
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • Blogs

    Highlighted Blogs

    IO-Link: Power Dissipation in Practice

    The Limitation of Heat Dissipation IO-Link is used across many branches of factory automation, and in these applications, areas of the factory floor...

     

    GMSL Debugging: Getting a Lock

    Imagine a scenario where you have a brand-new board design or are excited to try out some evaluation kits only to find out that the two devices can’t talk...

    Latest Blogs

    • Exploring DCM and CCM in SMPS: Part 1 of 6
    • Let’s Take a Field-Bus Trip
    • Countable vs Non-countable Faults
    • Power Your Signal: DAS Networks Unleashed: Part 2 of 4
    • Combining Functional Safety and Availability Using Redundancy
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • ContentZone

    Visit ContentZone

    ContentZone

    Technical articles. Blogs. Videos. Your ADI content, all in one place.

    View ContentZone

    Featured Content

    Featured Content Title

    Blurb About Content

    View Content By Industry

    • Aerospace and Defense Systems
    • Automotive Solutions
    • Consumer Technology Solutions
    • Data Center Solutions
    • Energy Solutions
    • Healthcare Solutions
    • Industrial Automation Technology Solutions
    • Instrumentation and Measurement Solutions
    • Intelligent Building Solutions
    • Internet of Things (IoT)
    • Wireless Communication Solutions

    View Content By Technology

    • A2B Audio Bus
    • ADI OtoSense Predictive Maintenance Solutions
    • Dynamic Speaker Management
    • Gallium Nitride (GaN) Technology
    • Gigabit Multimedia Serial Link (GMSL)
    • Industrial Vision
    • Power Solutions
    • Precision Technology
    • RF
    • Security Solutions
    • Sensor Interfaces
    • SmartMesh
  • Partners

    Partner Forums

    • Boston Engineering
    • PalmSens
    • Richardson RFPD
    • Tri-Star Design, Inc.

    Partner Libraries

    • Calian, Advanced Technologies Library
    • Clockworks Signal Processing Library
    • Colorado Engineering Inc. (DBA CAES AT&E) Library
    • Epiq Solutions Library
    • Fidus Library
    • VadaTech Library
    • Vanteon Library
    • X-Microwave Library
EngineerZone
EngineerZone
ADSP-CM40x
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
ADSP-CM40x
  • Processors and DSP
  • ADSP-CM4xxx Processors
  • ADSP-CM40x
  • Cancel
ADSP-CM40x
Documents SPI/Cache :: Line-Wrap mode vs. Line-base-first mode. Which one to choose?
  • Forums
  • Docs/FAQs
  • Members
  • Tags
  • More
  • Cancel
  • Documents
  • +AD CM408F: FAQ
  • +ADSP-CM40x: FAQ
  • +Cache with Async memory connected SRAM: FAQ
  • +Clock to the USB controller: FAQ
  • +MEMX and MEMY physical memories: FAQ
  • +SPI Memory Mapped Mode: FAQ
  • -SPI/Cache: FAQ
    • SPI/Cache :: Line-Wrap mode vs. Line-base-first mode. Which one to choose?
  • +What is XiP: FAQ

SPI/Cache :: Line-Wrap mode vs. Line-base-first mode. Which one to choose?

Wrap mode

Wrap mode is a specific feature supported by most flash devices in market. It enables the host processor to ask for the critical word first in a cache line. If enabled, the core is delivered with the critical word it asked for, as soon as possible (for instance, branching address). When using this mode, the Cache Controller, SPI Controller and the Flash device, all three blocks must be pre-programmed to support the same

 

Line-Wrap mode vs. Line-base-first mode

In Line-base-first mode, the line is always fetched starting at offset 0 (line base) while in line-wrap mode, the critical word is returned first; the rest of the line is fetched with wrap-around addressing. In Line-wrap mode, merging is not possible (not linear). Usually, line-base-first will be faster due to merging.

 

How to decide

Decision is application dependent. User has to experiment with his software, before deciding up on the mode. Some application require that critical instruction be executed very fast, so in such cases Wrap mode maybe used. For typical cases where one wants better linear throughput, Line base first mode maybe a better choice.

  • Share
  • History
  • More
  • Cancel
 
Related Content
  • SPI/Cache :: Line-Wrap mode vs. Line-base-first mode. Which one to choose?
    Sara Collins
    Q SPI/Cache :: Line-Wrap mode vs. Line-base-first mode. Which one to choose? A Wrap mode Wrap mode is a specific feature supported by most flash devices in market. It enables the host processor...
  • SPI/Cache :: Line-Wrap mode vs. Line-base-first mode. Which one to choose?
    MSDAPI
    Question SPI/Cache :: Line-Wrap mode vs. Line-base-first mode. Which one to choose? Answer Wrap mode Wrap mode is a specific feature supported by most flash devices in market. It enables the host processor...
  • RE: ADIN1300 transformerless/capacitive coupling
    EricTP
    Hi Mark, thank you for the feedback. It seems that the key differentiator is current-mode vs. voltage-mode line drivers. Would it be the case that any voltage-mode line driver will tend not have issues...
 
Related Content
  • SPI/Cache :: Line-Wrap mode vs. Line-base-first mode. Which one to choose?
    Sara Collins
    Q SPI/Cache :: Line-Wrap mode vs. Line-base-first mode. Which one to choose? A Wrap mode Wrap mode is a specific feature supported by most flash devices in market. It enables the host processor...
  • SPI/Cache :: Line-Wrap mode vs. Line-base-first mode. Which one to choose?
    MSDAPI
    Question SPI/Cache :: Line-Wrap mode vs. Line-base-first mode. Which one to choose? Answer Wrap mode Wrap mode is a specific feature supported by most flash devices in market. It enables the host processor...
  • RE: ADIN1300 transformerless/capacitive coupling
    EricTP
    Hi Mark, thank you for the feedback. It seems that the key differentiator is current-mode vs. voltage-mode line drivers. Would it be the case that any voltage-mode line driver will tend not have issues...
analog-devices logo

About Analog Devices

  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue

Get the Latest News

Stay up to date with our latest news and articles about Analog Devices' products, design tools, trainings, and events.

Sign Up Now
  • Instagram page
  • Twitter page
  • Linkedin page
  • Youtube page
  • Facebook
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings
沪ICP备09046653号-1

©2025 Analog Devices, Inc. All Rights Reserved

analog-devices

About Analog Devices

Down Up
  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

Down Up
  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue

Get the Latest News

Stay up to date with our latest news and articles about Analog Devices' products, design tools, trainings, and events.

Instagram page Facebook Twitter page Linkedin page Youtube page
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings
沪ICP备09046653号-1

©2025 Analog Devices, Inc. All Rights Reserved