Analog.com Analog Dialogue Wiki English 简体中文 日本語
EngineerZone
EngineerZone
  • Log In
  • Site
  • Search
  • User
  • Forums

    Popular Forums

    • RF and Microwave
    • Power Management
    • Video
    • FPGA Reference Designs
    • Precision ADCs
    • Linux Software Drivers
    • SigmaDSP Processors & SigmaStudio Dev. Tool

    Product Forums

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

    Application Forums

    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing Library
    • Motor Control Hardware Platforms
    • Optical Sensing
    • 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

    Maximize the Benefits of High Bandwidth Current Sense Amplifiers for Space Constrained Applications

    Recent Discussions

    • Pluto is not receiving data
    • ADALM-pluto sampling frequency
    • ADALM PLUTO SDR
    • Bad FIT image format and MSD mounting errors in firmware built for Sidekiq Z2
    • set the sample rate to 30MHz or the maximum that usb2.0 allows

    Places

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

    Latest Webinars

    • Maximize the Benefits of High Bandwidth Current Sense Amplifiers for Space Constrained Applications
    • Design Efficient Power Solutions for Battery-powered Applications
    • Shunt-based Energy Metering in High-Power Applications
    • Isolating GigaSpeed: Unlocking Data Integrity for USB and HDMI Communication
    • Extend Battery Life and Maximize Performance - Let Supervisors Do The Work
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ244 about Wafer Processing Yield puzzle
    View All

    Places

    • Community Help
    • Logic Lounge
    • The Weekly Brew

    Resources

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

    Highlighted Blogs

    Join the Analog Devices IEEE Radar Challenge

     

    Seeing is Believing but Smart Surveillance Cameras Let You Speak and Listen Too!

    Latest Blogs

    • We are Celebrating a Milestone on EngineerZone: Meet Our 100K Member!
    • How to Raise the Resolution of an Optical Motor Encoder without Changing the Disk
    • The Changing Nature of Logistics and Retail Automation
    • Variable Speed Drive 101
    • How to Optimize Voltage Regulators for Powering an Audio Amplifier
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • Partners

    Electronic Design Services - PartnerZone

    • Boston Engineering
    • Calian, Advanced Technologies
    • Colorado Engineering Inc. (DBA CAES AT&E)
    • Clockworks Signal Processing
    • Epiq Solutions
    • Fidus
    • PalmSens
    • Richardson RFPD
    • Tri-Star Design, Inc.
    • VadaTech
    • Vanteon
    • X-Microwave
    View All
Processors and DSP
Processors and DSP
Documents DMA error conditions
  • Forums
  • FAQs/Docs
  • Members
  • Tags
  • More
  • Cancel
  • +Documents
  • +ADAU 1701: FAQ
  • +ADSP-21160M: FAQ
  • +ADSP-21363: FAQ
  • +ADSP-21368: FAQ
  • +ADSP-21369: FAQ
  • +ADSP-21469: FAQ
  • +ADSP-21489: FAQ
  • +ADSP-2160: FAQ
  • -ADSP-BF522: FAQ
    • Changing IP address at run time
    • DMA error conditions
    • How do I connect the Real Time Clock (RTC) pins on Blackfin?
    • USB Voltage at the ADSF-BF53x USB
  • +ADSP-BF531: FAQ
  • +ADSP-BF532: FAQ
  • +adsp-bf533: FAQ
  • +ADSP-BF534: FAQ
  • +ADSP-BF535: FAQ
  • +ADSP-BF536: FAQ
  • +ADSP-BF537: FAQ
  • +ADSP-BF538F: FAQ
  • +ADSP-BF539: FAQ
  • +ADSP-BF542: FAQ
  • +ADSP-BF544: FAQ
  • +ADSP-BF561: FAQ
  • +adsp-bf561: FAQS
  • +adsp-bf609: FAQS
  • +ADSP-BF60x: FAQ
  • +ADSP-BF70x: FAQ
  • +ADSP-CM408F: FAQ
  • +ADSP-SC58x: FAQ
  • +ADSP-TS001: FAQ
  • +ADSP-TS101S: FAQ
  • +ADSP-TS201S: FAQ
  • +CCES: FAQ
  • +cm40x: FAQ
  • +Command-line device programmer (cldp): FAQS
  • +Compiler: FAQ
  • +Connected Devices Virtual Conference: FAQS
  • +Disassembly Window: FAQ
  • +Enabling Product-Specific Push Notifications: FAQS
  • +ICE-1000: FAQ
  • +JEDEC J-STD-020: FAQ
  • +Misra rule checking: FAQ
  • +Nesting Interrupt: FAQ
  • +Power Domains: FAQ
  • +PROCESSORS AND DSP SUPPORT COMMUNITY: FAQS
  • +Questions 536 / VDK: FAQS
  • +RoHS-Compliant: FAQ
  • +Updating ICE-1000/2000 firmware with OpenOCD: FAQ
  • +VDSP-BLKFN-PC-FULL: FAQ
  • +VDSP-TS-PC-FULL: FAQ
  • +VDSP: FAQ
  • +VISUALAUDIO: FAQ

DMA error conditions

Q 

I am using a peripheral DMA channel and I am observing a DMA error after I run
my application for sometime. The DMA_ERR bit in the DMAx_IRQ_STATUS register is
set to 1.

What could be the possibilities for the the above error?

 

A 

There could be several reasons to get a DMA error. A brief
description of the error conditions is provided in the Hardware Reference
Manual for each processor family in the DMA chapter.

Here is a breif description from the Hardware Reference Manual:

The following error conditions are detected by the DMA hardware.
- A disallowed register write occurred while the channel was running.
Only the DMA_CONFIG and IRQ_STATUS registers can be written
when DMA_RUN = 1.

- An address alignment error occurred during any memory access.
For example, DMA_CONFIG register WDSIZE = 1 (16 bit) but address
LSB is not equal to 0, or WDSIZE = 2 (32 bit) but two address LSBs
are not equal to 00.

- A memory space transition was attempted (internal to external or
vice versa). For example, the current DMA address (CURR_ADDR)
crossed the 0xF000_0000 boundary, or the current descriptor
pointer (CURR_DESC_PTR) crossed the 0xF000_0000 boundary.

- A memory access error occurred. Either an access attempt was
made to an internal address not populated or defined as cache, or
an external access caused an error (signalled by the external memory
interface).


Also note that some prohibited situations are not detected by the DMA hardware.
No
DMA abort is signalled for the following situations.
- DMA_CONFIG direction bit (WNR) does not agree with the direction of
the mapped peripheral.
- DMA_CONFIG direction bit does not agree with the direction of the
MDMA channel.
- DMA_CONFIG word size (WDSIZE) is not supported by the mapped
peripheral.
- DMA_CONFIG word size in source and destination of the MDMA
stream are not equal.

- Descriptor chain indicates data buffers that are not in the same
internal/external memory space.
- In 2D DMA, X_COUNT = 1.

For more details on the DMA errors and howto handle error conditions refer to
the Hardware Refernce Manual.

  • adsp-bf522
  • Share
  • History
  • More
  • Cancel
Related
Recommended
Social
Quick Links
  • About ADI
  • ADI Signals+
  • Analog Dialogue
  • Careers
  • Contact us
  • Investor Relations
  • News Room
  • Quality & Reliability
  • Sales & Distribution
  • Incubators
Languages
  • English
  • 简体中文
  • 日本語
myAnalog

Interested in the latest news and articles about ADI products, design tools, training and events?

Go to myAnalog
Analog Logo
©1995 - 2023 Analog Devices, Inc. All Rights Reserved
沪ICP备09046653号-1
  • Sitemap
  • Legal
  • Privacy & Security
  • Privacy Settings
  • Cookie Settings