Locale Icon
English
  • Forums

    Popular Forums

    • LTspice
    • Video
    • Power Management
    • RF & Microwave
    • Precision ADCs
    • FPGA Reference Designs

    Product Forums

    • Amplifiers
    • Clocks & Timers
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Power Management
    • Processors & DSP
    • Processors & Microcontrollers
    • Switches & Multiplexers
    • Sensors
    • Voltage References
    View All

    Application Forums

    • A2B Audio Bus
    • 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 & Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Power Studio Designer
    • Power Studio Planner
    • Reference Designs
    • Robot Operating System (ROS) SDK
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    Fast-Track Certification: Leveraging IC Safety App Notes for Functional Safety Designs

    Stop guessing, start certifying. Learn how to use IC safety application notes to streamline your FMEDA and meet IEC 61508 and ISO 13849 standards with...

    Places

    • ADI Academy
    • ADI Webinars
    • 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
    • Other Products Library
    • Precision Technology Signal Chains Library
    • Software Modules and SDKs Library
    • Supervisory Circuits Library
    • Wireless Sensor Networks Library

    Latest Webinars

    • Fast-Track Certification: Leveraging IC Safety App Notes for Functional Safety Designs
    • Enabling New Space Missions: Commercial Space Screening Approach for Agile, High-Reliability Payloads
    • Understanding and Selecting RF Low Noise Amplifiers for Instrumentation, Phased Array and General Purpose Applications
    • Design Smarter with Compact, Low-Power Precision Current Source Signal Chains
    • Power Management Fundamentals II Session 6: Key Layout Considerations for Power
    View All Webinars
  • Community Hub

    Challenge Yourself!

      World Engineering Day Quiz!

      A checkerboard made as a 7 x 7 matrix has a green basic cell placed in its middle as shown in the above structure. Questions: How many squares, defined...

    View All

    What's Brewing

      Read a Blog, Take this Quiz for Another Chance to Win a Gift Card!

      Important: Read the blog first . The quiz questions are all based on the content from the blog: ISO 26262 Essentials: Ensuring Confidence in Your Software...

    View All

    Places

    • Community Help
    • Analog Dialogue Quiz
    • 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

    The New Industrial Robotics Era: Why Innovation Is Compounding

    By Tracey Johnson & Margaret Naughton Imagine a robot stepping out of a safety cage, not to perform a single preprogrammed motion, but to work alongside...

     

    Reimagining Power for AI: Shaping the Future of AI Acceleration: Part 3 of 3

    It’s time to look at the next wave: vertical power delivery and the relentless Analog Devices (ADI) innovation that makes it possible. If you’ve joined...

    Latest Blogs

    • Driving Capacitive Loads Like A Pro: Part 3 of 3
    • Community Spotlight: Meet Akila
    • A Systematic Checklist for RF Transceiver Testing
    • Breaking the Link: Smart Feedback Techniques for Isolated SMPS Regulation: Part 4 of 4
    • Good Marketing Buzz, But How Do I Start?
    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
    • 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
    • Sensor Interfaces
    • SmartMesh
EngineerZone
EngineerZone
SigmaDSP Processors & SigmaStudio Dev. Tool
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
SigmaDSP Processors & SigmaStudio Dev. Tool
  • Processors & DSP
SigmaDSP Processors & SigmaStudio Dev. Tool
Documents Monitoring average and instantaneous signal levels
  • Q&A
  • File Uploads
  • Members
  • Tags
  • Cancel
  • Documents
  • SigmaDSP YouTube Channel - Dave Thib
  • +AD193x: FAQ
  • +ADAU1401AEBZ: FAQ
  • +ADAU144x: FAQ
  • +ADAU1452: FAQ
  • +ADAU145x: FAQ
  • +ADAU1701: FAQ
  • +ADAU1701MINIZ- FAQ
  • +ADAU1761: FAQ
  • +ADAU1772: FAQ
  • +ADI: FAQ
  • +AN-951: FAQ
  • +bitwise logic: FAQ
  • +Compressor Table Format: FAQ
  • +Creating a simple balance crossfade control: FAQ
  • +Creating constant-dB envelope decay using an existing linear decay algorithm: FAQ
  • +Crossover with more than 3 bands: FAQ
  • +E2PROM: FAQ
  • +EEPROM: FAQ
  • +EVAL DAU144XEBZ: FAQ
  • +EVAL-ADAU1781Z: FAQ
  • +Excluding Cells from the Exported System Files: FAQ
  • +GPIO button: FAQ
  • +GPIOs or Aux ADCs: FAQ
  • +How do I execute a software safeload write?: FAQ
  • +IIR coefficient filter: FAQ
  • +IIR filter: FAQ
  • +Peak Full Range Compressor: FAQ
  • +Preserving "Ear-candy": FAQ
  • +Push Button Volume: FAQ
  • +self-boot EEPROM image: FAQ
  • +Sigma300 Family Products: FAQ
  • -SigmaDSP: FAQ
    • Booting a SigmaDSP from a microcontroller with no C compiler
    • Calculating Filter Coefficients to Store in a Microcontroller
    • Can I program multiple SigmaDSPs in parallel using one USBi?
    • Can I use SigmaDSP to decode MP3/WAV/AAC?
    • Can I write C or assembly code for SigmaDSP in SigmaStudio?
    • Can SigmaDSP do frequency-domain processing like FFT or pitch shift?
    • Can we bundle SigmaStudio with our product design?
    • Creating a delay after startup
    • Developing custom algorithms and/or using 3rd party algorithms
    • How can I estimate MIPS/Memory resource on SigmaDSP?
    • How do I create the microcontroller code to interface to my SigmaDSP?
    • How do I start a timer after power-on, or when the input signal goes away?
    • How many instructions can be executed per sample in SigmaDSP?
    • Memory requirements for booting a SigmaDSP with a microcontroller
    • Monitoring average and instantaneous signal levels
    • Playing audio samples in SigmaDSP
    • SigmaDSP PCB Layout Best Practices
    • SigmaDSP Products and Evaluation Boards - ROHS and REACH Compliance
    • SigmaStudio 3.4 Released
    • Updating SigmaDSP Parameter with a Microcontroller
    • Using two SigmaDSP evaluation boards simultaneously with one USBi board
    • Welcome to the SIGMADSP Processors and SIGMASTUDIO Development tool community
    • What are the number formats for SigmaDSP?
    • What is the step size for audio delay in a SigmaDSP?
    • What types of capacitors are good to use in the analog audio signal path?
    • Where can I buy a SigmaDSP Evaluation Board or USBi (EVAL-ADUSB2EBZ)?
    • Which SigmaDSP ICs support selfbooting from an EEPROM?
    • Which SPI Mode is used by SigmaDSP Devices?
    • Why isn't a software/documentation CD included with my evaluation board?
  • +SigmaStudio: FAQ
  • +single precision VS double precision: FAQ
  • +Stimulus-Probe Capability and Limitations: FAQ
  • +Stopwatch to Count Successive Samples: FAQ
  • +Toolbox into the schematic tab: FAQ
  • +USB communications between the PC and SigmaDSP: FAQ
  • +Using Hierarchy Boards to create re-usable code: FAQ
  • New SigmaStudio 3.2.0 beta version available
  • SigmaStudio 3.3 Released
  • SigmaStudio 3.9.2 Beta Available for Download
  • SigmaStudio Rev 3.15.2 Bug Report for SPI EEPROM Write Speed

Monitoring average and instantaneous signal levels

Monitoring average and instantaneous signal levels by BrettG

In order to read back the instantaneous value of any signal inside the SigmaDSP core, insert a DSP Readback cell into the signal flow in SigmaStudio.

If, for example, the readback cell is inserted next to channel 0 of the input cell of the ADAU1701, the readback will show the instantaneous value of the ADC input.

In order to implement a readback in a microcontroller in your production system, click the "Read" button on the readback cell in SigmaStudio after compilation. A write/read sequence will be shown in the Capture window. Simply duplicate this write/read sequence in the system microcontroller in order to implement readback in a production system.

For some processors, such as the ADAU1701, the readback functionality is hardware-based. Hardware-based readback requires a write followed by a read.

ADAU1701 Readback:

For other processors, such as the ADAU1781, the readback frunctionality is software-based. Software-based readback requires a read only.

ADAU1781 Readback:


The DSP Readback cell shows the signal's instantaneous value. This is not very useful for audio signals, which are constantly fluctuating around zero. For audio signals, more useful information is the average level of a signal. To read back the level of a signal, an Envelope algorithm can be used.

Envelope Implementations:

Envelope Peak : Outputs the peak level of a signal

Signal Envelope : Outputs the mean-squared level of a signal

Running Average : Outputs the average level of a signal (similar to RMS)

Simplified peak envelope (Uses fewer instructions - Absolute value followed by a lowpass filter)

Example application - Input monitor

This example project monitors the input level and compares it to a reference threshold value. If the input signal exceeds the threshold, the GPIO output (and DSP readback cell) will display "1". This essentially informs the user if an input is "active" or "inactive."

Basic Level Detectors for Debugging Purposes:

 

SigmaStudio also contains a level detector algorithm folder for simple debugging purposes.

These algorithms can be inserted into the signal flow and they will read back the signal level without affecting the signal in any way.

Level Detectors Integrated into Existing Cells:

 

Some cells contain level detectors built into their control GUIs.

For example, the Standard RMS and Standard Peak compressors contain level meters.

Here is their location in the library:

By clicking on the blue icon in the center of the cell, the GUI can be displayed.

After compiling and downloading the project, the level meters will display on the right side of the GUI when the Level Indicators button is activated.

Message was edited by: BrettG - 120719 Added description of level detector cells, added compressor level indicators description

Message was edited by: BrettG - 100301 Clarified DSP readback initiation in SigmaStudio

InputSignalDetection.dspproj.zip
  • Share
  • History
  • More
  • Cancel
 
Related Content
  • RE: ADAU1761 LEVEL DETECTOR
    ADIApproved
    Hi Stefano, There are a few disadvantages to using the level detector cell when compared to the relative advantages of the DSP readback cell. (1) The level detector cell is very resource-intensive...
  • About  "DSP ReadBack" in sigmaStudio for sharc  firmware
    ymwlike
    hi, DSP ReadBack in sigmastudio use,I use an external chip control ADSP21489, 1. The detection method: Input1-> Envelope Peak-> DSP ReadBack->Output1. Input2-> Envelope Peak-> DSP ReadBack->Output2...
  • RE: Different between peak and RMS envelope in readback
    ADIApproved
    Philip, which envelope are you using? There are several implementations in SigmaStudio, which you can see in this thread: http://ez.analog.com/message/7669#7669 Envelope Implementations: Envelope...
 
Related Content
  • RE: ADAU1761 LEVEL DETECTOR
    ADIApproved
    Hi Stefano, There are a few disadvantages to using the level detector cell when compared to the relative advantages of the DSP readback cell. (1) The level detector cell is very resource-intensive...
  • About  "DSP ReadBack" in sigmaStudio for sharc  firmware
    ymwlike
    hi, DSP ReadBack in sigmastudio use,I use an external chip control ADSP21489, 1. The detection method: Input1-> Envelope Peak-> DSP ReadBack->Output1. Input2-> Envelope Peak-> DSP ReadBack->Output2...
  • RE: Different between peak and RMS envelope in readback
    ADIApproved
    Philip, which envelope are you using? There are several implementations in SigmaStudio, which you can see in this thread: http://ez.analog.com/message/7669#7669 Envelope Implementations: Envelope...
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
  • ADI Developer PortalExternalLink

myAnalog

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

Go to myAnalog
  • Instagram page
  • Twitter page
  • Linkedin page
  • Youtube page
  • Facebook
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings

©2026 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
  • ADI Developer PortalExternalLink

myAnalog

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

Go to myAnalog
Instagram page Facebook Twitter page Linkedin page Youtube page
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings

©2026 Analog Devices, Inc. All Rights Reserved