ΣSigmaStudio Ask AI Русский Log in

[ADAU1446] Software safeload/compressor limiter

SigmaDSP & SigmaStudio Ramon Nov 22, 2013 00:00 3 replies Original on forum ↗
Thread Summary

Thread Summary

The user inquired about using the software safeload function for dynamically adjustable biquads and a compressor limiter in a DSP design connected via SPI. The solution involves writing the number of parameters to be uploaded to the target size address (0x0007) to trigger the safeload mechanism. For compressors, SigmaStudio downloads 5 parameters at a time, and normal time constants and moderate gain changes typically do not cause audio discontinuities.
AI Generated Content
Subscribe
Ramon Question
Nov 22, 2013 00:00

Dear Guru's,

Currently I'm using biquads in my design which are dynamically adjustable using the microcontroller, which is connected to the dsp using an SPI. As the adjustments taking place with speakers attached, I would like to use the software safeload function to prevent clipping/distortion. The datasheet has 5 parameters reserved for this, Address 0x0001 to Address 0x0005, and 0x0006 is the target address, while 0x7 being the target size.

My questions are:

How can I actually use the safeload, after putting the appropriate data to these adresses?

Is there any difference doing so in between using a I2C or SPI interface?

What about the compressor limiter; The module I use needs 33 times 4 bytes, in sigma studio a safeload is used. If I send regularly the data is modified in the dsp when I try to receive it again.

Audio Signal Processors

compressor

i2c

adau1446

microcontroller

i2s

SigmaDSP Audio Processors

limiter

safeload

Show More

ADIApproved Reply
Nov 22, 2013 00:00

Hi Ramon:

After writing the data into these addresses, simply writing the number of parameters to be uploaded will trigger the mechanism. In other words, there is no separate trigger, the framework uses the existance of a number different than zero in the size location to trigger the safe writes.

SigmaStudio downloads 5 parameters at a time for compressors. When selecting normal time constants on compressors, (and changing compressor gains moderately) do not cause discontinuities in the audio based on my experience.

Let us know if this solves your problems or send me a private message if you like more detail.

Miguel

Ramon Reply
Nov 24, 2013 00:00

Hi Miguel,

Thanks for this info.

Sounds easy; i'll let our SW engineer know.

Kind regards,

Ramon Zwaga

Op 22 nov. 2013 om 18:45 heeft "MigCha" <analogvm-admin@analog-vm.hosted.jivesoftware.com<mailto:analogvm-admin@analog-vm.hosted.jivesoftware.com>> het volgende geschreven:

EngineerZone<http://ez.analog.com/index.jspa>;

Re: Software safeload/compressor limiter

created by MigCha<http://ez.analog.com/people/MigCha>; in SigmaDSP Processors and SigmaStudio Development Tool - View the full discussion<http://ez.analog.com/message/124455#124455>;

EZAdministrator Reply
Aug 2, 2018 00:00

This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

Thank you,
EZ Admin