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

ADAU1452 "Single Level Detector w Numeric Display" parameters missing from System Files output

SigmaDSP & SigmaStudio alexsconway Jul 26, 2021 00:00 2 replies Original on forum ↗
Subscribe
alexsconway Question
Jul 26, 2021 00:00

I have a project which uses a "Single Level Detector w Numeric Display" so that an attatched microcontroller can read the level. However, when I look in the exported System Files for the relevant paramenters, there are some missing:

Here is a screenshot of a representative project, showing the parameters I expected to see in the exported System Files:

When I look in RmsLevelBug.xml or RMSLEVELBUG_IC_1_PARAM.h I can find TCONST, hold, decay, X, X_Lo, LinX, LinX_Lo

but rms, held_db, hold_count, x_sq, dbout are all missing.

There is also an additional unnamed parameter with address 0!

I presumed that the "rms" parameter would be the one I need to read (and sqrt), but it is not being emitted.

For this small project I can overcome this manually, but for larger projects I need to have the parameter adresses generated automatically to avoid human error bugs.

I have tried with SigmaStudio V4.5 and V4.6 and the result is the same.

Is this a bug, or should I be using one of the other parameters?

Alex

RmsLevelBug.zip

Edit Notes
added project files

[edited by: alexsconway at 8:46 PM (GMT -4) on 26 Jul 2021]

Audio Signal Processors

adau1452

sigma studio

system files

sigmastudio

SigmaDSP Audio Processors

Show More

pastedimage1627331518148v1.png
pastedimage1627331518148v1.png
alexsconway Reply
Jul 27, 2021 00:00

I have just seen and read https://ez.analog.com/dsp/sigmadsp/f/q-a/546593/single-level-detector-in-adau1452.

The answer there says that I should use the "X" parameter (and X_lo if I want the whole 56bit result).

It would be nice if this information was included in the Wiki.

Alex

DaveThib Reply
Jul 27, 2021 00:00

Hello Alex,

Last night I tried to find some of my old posts but the search engine was not being friendly. It looks like you found one. Here is another:

(+) Reading meters with a controller on the ADAU1452 - Q&A - SigmaDSP Processors and SigmaStudio Development Tool - EngineerZone (analog.com)

Some of the parameters you mentioned in your first post are not used and should either be implemented or deleted. If you refresh the Params display while you have music playing you will see that some are unused.

I agree about the Wiki.

Dave T