groupUrl: https://ez.analog.com/dsp/sigmadsp/
Analog.com Analog Dialogue Wiki English
Analog.com Analog Dialogue Wiki 简体中文
EngineerZone
EngineerZone
  • Site
  • User
  • Site
  • Search
  • User
EngineerZone
EngineerZone
  • Log in
  • Site
  • Search
  • Log in
  • Home
  • Blogs ⌵
  • Browse ⌵
    • All Groups
    • All Members
  • Support ⌵
    • 3D ToF Depth Sensing
    • A2B
    • Aerospace and Defense (ADEF)
    • Amplifiers
    • Analog Microcontrollers
    • Analysis Control Evaluation (ACE) Software
    • Audio
    • Clock and Timing
    • Condition-Based Monitoring
    • Data Converters
    • Design Tools and Calculators
    • Direct Digital Synthesis (DDS)
    • Embedded Vision Sensing
    • Energy Monitoring and Metering
    • FPGA Reference Designs
    • Industrial Ethernet
    • Interface and Isolation
    • Low Power RF Transceivers
    • MEMS Inertial Sensors
    • Motor Control Hardware Platforms
    • Optical Sensing
    • Power Management
    • Precision Technology Signal Chains
    • Processors and DSP
    • Reference Circuits
    • RF and Microwave
    • Signal Chain Power (SCP)
    • Switches/Multiplexers
    • Temperature Sensors
    • Video
    • Wide Band RF Transceivers
    • Wireless Sensor Networks Reference Library
  • About EZ
  • More
  • Cancel
  • 主页
  • 浏览 ⌵
    • 收件箱
    • 个人设置
    • 会员
    • 专区列表
  • 论坛专区 ⌵
    • 放大器专区
    • 精密转换器专区
    • 音频专区
    • ADE电能计量专区
    • MEMS和传感器专区
    • 接口和隔离专区
    • Power 中文专区
    • ADUC微处理器专区
    • 锁相环专区
    • 开关和多路复用器专区
    • 温度传感器
    • 基准电压源专区
    • 资源库
    • 论坛使用指南
    • 技术支持参考库
    • 在线研讨会
    • 论坛社群活动
    • 论坛激励活动
  • More
  • Cancel
SigmaDSP Processors and SigmaStudio Development Tool
  • Processors and DSP
SigmaDSP Processors and SigmaStudio Development Tool
Documents FAQ: Can I write C or assembly code for SigmaDSP in SigmaStudio?
  • Q&A
  • Discussions
  • Documents
  • Tags
  • Reports
  • Managers
  • More
  • Cancel
  • New
SigmaDSP Processors and SigmaStudio Development Tool requires membership for participation - click to join
  • Documents
  • 96 kHz operation for ADAU1452 serial ports
  • ADAU1701 Input and Output Signal Routing
  • ADAU1701: ADC resistor values for higher sample rates
  • Booting a SigmaDSP from a microcontroller with no C compiler
  • Calculating Filter Coefficients to Store in a Microcontroller
  • Can ADI provide or support the USB interface firmware code for my self-assembled PCB or end product?
  • Can ADI provide or support the USB interface firmware code for my self-assembled PCB or end product? - 2
  • Can I program multiple SigmaDSPs in parallel using one USBi?
  • Can I use SigmaDSP to decode MP3/WAV/AAC?
  • Can SigmaDSP do frequency-domain processing like FFT or pitch shift?
  • Can the ADAU1772 be used with a TDM output stream that has an odd number of channels?
  • Compressor Table Format - Changing compressors at run-time
  • Creating a delay after startup
  • Creating a simple balance crossfade control
  • E2PROM Selfboot problem
  • Empty Cells
  • EVAL-ADAU144XEBZ Evaluation Board Schematics
  • EVAL-ADAU1781Z GPIO Mapping in SigmaStudio
  • EVAL-ADAU1781Z GPIO Mapping in SigmaStudio - 2
  • Example Project: Using the Stopwatch to Count Successive Samples over a Threshold
  • Excluding Cells from the Exported System Files
  • FAQ: After downloading self-boot code to my target EEPROM, my USBi isn't recognized anymore by my computer. What's wrong and how do I fix it?
  • FAQ: Can I write C or assembly code for SigmaDSP in SigmaStudio?
  • FAQ: Can we bundle SigmaStudio with our product design?
  • FAQ: Developing custom algorithms and/or using 3rd party algorithms
  • FAQ: How can I change parameters on-the-fly in an application without SigmaStudio?
  • FAQ: How can I estimate MIPS/Memory resource on SigmaDSP?
  • FAQ: How do I change the sample rate of my SigmaStudio system?
  • FAQ: What operating systems are supported to run SigmaStudio?
  • FAQ: What types of capacitors are good to use in the analog audio signal path?
  • FAQ: Where can I send my questions I don't want to post in a public forum?
  • FAQ: Why can't I control any of the knobs or sliders in my SigmaStudio project?
  • FAQ:  Can I have multiple versions of SigmaStudio installed simultaneously?
  • FAQ:  Where can I download SigmaStudio?
  • FAQ:  Where can I find a description of the changes made in the latest version of SigmaStudio?
  • FAQ:  Which SigmaDSP ICs support selfbooting from an EEPROM?
  • FAQ:  Why isn't a software/documentation CD included with my evaluation board?
  • How are the audio inputs routed in SigmaStudio's Input cell?
  • How do I create the microcontroller code to interface to my SigmaDSP?
  • How do I execute a software safeload write?
  • How do I implement external volume control using GPIOs or Aux ADCs?
  • How do I report a SigmaStudio bug?
  • How do I start a timer after power-on, or when the input signal goes away?
  • How do I use a GPIO button to select different audio processing paths?
  • How many instructions can be executed per sample in SigmaDSP?
  • How to avoid distortion or clipping on the ADC inputs for the ADAU144x evaluation board
  • How to avoid distortion or clipping on the ADC inputs for the ADAU144x evaluation board - 2
  • How to calculate index table values in 28.0 format
  • How to create a crossover with more than 3 bands
  • How to self-boot the EVAL-ADAU1401AEBZ (evaluation board for ADAU1701, ADAU1702, and ADAU1401A)
  • How to self-boot the EVAL-ADAU1701MINIZ (evaluation board for ADAU1701, ADAU1702, and ADAU1401A)
  • Implementing Safeload Writes on the ADAU1701
  • Memory requirements for booting a SigmaDSP with a microcontroller
  • Monitoring average and instantaneous signal levels
  • My 2IN4OUT Proto with SPDIF based on ADAU1701
  • My IIR filter is outputting a value, even when the input goes to zero. Is this a bug?
  • New Sigma300 Family Products:  ADAU1451 & ADAU1450
  • New SigmaStudio 3.3 Beta Version Available
  • New SigmaStudio Download Site
  • Peak Full Range Compressor
  • Playing audio samples in SigmaDSP
  • Preserving "Ear-candy" in a mono mix
  • Problems with Push Button Volume w/Mute module
  • Setting the PLL mode for the ADAU1701 at different sample rates
  • Sigma 300 (ADAU145x) Exponential Slewing
  • SigmaDSP PCB Layout Best Practices
  • SigmaDSP Products and Evaluation Boards - ROHS and REACH Compliance
  • SigmaStudio 3.4 Released
  • SigmaStudio consulting services...
  • Slow rate random number generator
  • Stimulus-Probe Capability and Limitations
  • Testing USB communications between the PC and SigmaDSP
  • The ADAU1372 is not on the list of compatible processors or under Processors/DSPs on Sigmastudio 3.11.1 or 3.11. Can you please tell me how I can use the EVAL board with ADAU1372?
  • Third Party Algorithm Plugins in SigmaStudio
  • Thoughts on using index selectable filters...
  • True peak-to-peak detection in SigmaStudio
  • Truncating bits using bitwise logic
  • Updated self-boot EEPROM image generation / download
  • Updating SigmaDSP Parameter with a Microcontroller
  • Using compressors to avoid output clipping
  • Using hardware data capture (trap) registers with the DSP Readback cell (AD1940, ADAU1701)
  • Using stopwatch with feedback loop to create periodic test signal
  • Using the ADAU145x's Slew Ext Volume Block
  • Using the DSP Control mode of the ADAU1761 PGA / ALC
  • Using two SigmaDSP evaluation boards simultaneously with one USBi board
  • Welcome to the SIGMADSP Processors and SIGMASTUDIO Development tool community
  • What are the mute ramp times in the AD193x codecs?
  • What are the number formats for SigmaDSP?
  • What is the step size for audio delay in a SigmaDSP?
  • When should I use single precision or double precision filters?
  • Where can I buy a SigmaDSP Evaluation Board or USBi (EVAL-ADUSB2EBZ)?
  • Which SPI Mode is used by SigmaDSP Devices?
  • Workaround: Creating constant-dB envelope decay using an existing linear decay algorithm
  • [bug report] False frequency response displayed in a parametric equalizer window for an IIR coefficient filter
  • [Tutorial] Using Hierarchy Boards to create re-usable code

FAQ: Can I write C or assembly code for SigmaDSP in SigmaStudio?

There is not a C compiler for SigmaDSP, and we do not support custom assembly coding in SigmaStudio. The built-in library includes many different signal processing blocks. Low-level blocks, such as multipliers and delays, can be wired together in SigmaStudio to create a custom algorithm if the included libraries do not have the functions you want. If there are processing blocks that you'd like to see included in future versions of the tool, feel free to let us know what you're looking for in the EngineerZone forum.

If you are looking to implement a specific algorithm, please provide the details so we can determine if it could be implemented using existing blocks in the current library. If it is not supported by the current library, we can identify what additional functionality is required, and our software team could potentially implement that function in a future SigmaStudio update.

This FAQ was generated from the following discussion: Upsample / downsample in SigmaStudio (or custom blocks)

  • programming
  • assembly
  • sigmastudio
  • sigmadsp
  • Share
  • History
  • More
  • Cancel
Comments
Anonymous
  • Yosen
    Yosen over 3 years ago

         Hi,

         If customers request to use assembly code to develop their own algorithm module, could ADI open the program interface or tools to them?

    B.R.

    Yosen

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • More
    • Cancel
  • BenKB
    BenKB over 5 years ago

    Writing C for SigmaDSP is almost impossible, because of the extremely specific architecture of these DSP. For example, they don't have any stack, so a call to a function is almost impossible to implement (or the compiler would need to "inline" them, which would be extremely heavy in terms of program memory consumption)

    Now, about assembly code... In fact, that's exactly what SigmaStudio does

    The name used by ADI within Sigma Studio is "compilation", but in fact, SigmaStudio only generates assembly code for each module you have inserted in your program, and the assembly process replaces all labels with absolute address (this is nothing else than macro assembling)

    Now, you have to know that assembly code within SigmaDSP is quite far away from what you could expect especially if you take micro controllers as a reference. The SigmaDSPs do not have any jump/call concept. They use a concept called sometimes "streaming processing", in which all instructions are parsed during a sample period. In other terms, on a ADAU1701 for example, the 1024 instructions are ALWAYS executed each time a new sample period is started.

    The key is that every instruction in SigmaDSP has a condition field which says if the instruction shall be executed or not (you can read that as "do that if this condition is true). So, you have basically a condition for each of the 1024 instructions... When the condition is not met, the instruction is executed but the result is ignored (in other terms, it's like if the instruction is replaced dynamically by a NOP)

    That makes assembly programming of the SigmaDSP quite strange at first sight and is not such straightforward process from pseudo-code or flow chart, if you compare it with what can be done with micro-controllers for example

    Now, the problem is that ADI does not publish the assembly code specification of Sigma DSP chips (which does not mean that you can't find it...). That means that if you want to write assembly code for these chips, you will need to create also your own compilation chain (since you can't do it from SigmaStudio)

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • More
    • Cancel
Related
 
社交网络
快速链接
  • 关于ADI
  • Partners
  • 模拟对话
  • 职业
  • 联系我们
  • 投资信息
  • 新闻中心
  • 质量和可靠性
  • 办事处与代理商
  • Analog Garage
语言
  • English
  • 简体中文
  • 日本語
  • Руccкий
电子快讯

欲获得最新ADI产品、设计工具、培训与活动的相关新闻与文章,请从我们的在线快讯中选出您感兴趣的产品类别,每月或每季度都会发送至您的收件箱。

订阅
Switch to mobile view
Analog Logo
© 1995 - 2022 Analog Devices, Inc. All Rights Reserved 沪ICP备09046653号-1
  • ©
  • 1995 - 2022 Analog Devices, Inc. All Rights Reserved
  • 沪ICP备09046653号-1
  • 网站地图
  • 隐私和保密政策
  • 隐私设置
  • 使用条款
 
Social
Quick Links
  • About ADI
  • Partners
  • Analog Dialogue
  • Careers
  • Contact us
  • Investor Relations
  • News Room
  • Quality & Reliability
  • Sales & Distribution
  • Analog Garage
Languages
  • English
  • 简体中文
  • 日本語
  • Руccкий
Newsletters

Interested in the latest news and articles about ADI products, design tools, training and events? Choose from one of our 12 newsletters that match your product area of interest, delivered monthly or quarterly to your inbox.

Sign Up
Switch to mobile view
Analog Logo
© 1995 - 2022 Analog Devices, Inc. All Rights Reserved 沪ICP备09046653号-1
  • ©
  • 1995 - 2022 Analog Devices, Inc. All Rights Reserved
  • 沪ICP备09046653号-1
  • Sitemap
  • Privacy & Security
  • Privacy Settings
  • Terms of use
EngineerZone Uses cookies to ensure you get the best experience in our community. For more information on cookies, please read our Privacy & Security Statement.