AnsweredAssumed Answered

ADAU1761 DSP VOLUME CONTROL

Question asked by inventis on May 27, 2010
Latest reply on Jun 3, 2010 by BrettG

Hello,

I'd like to use the Single slew Volume block.

I'd like to change the slew rate.

 

when I export the project in the param.h I found the following parametrs for the volume

 

#define MOD_ATTCH2_ALG0_GAIS200ALG4GAINTAR_ADDR        192
#define MOD_ATTCH2_ALG0_GAIS200ALG4GAINTAR_FIXPT       0x00800000
#define MOD_ATTCH2_ALG0_GAIS200ALG4GAINTAR_VALUE       SIGMASTUDIOTYPE_FIXPOINT_CONVERT(1)
#define MOD_ATTCH2_ALG0_GAIS200ALG4GAINTAR_TYPE        SIGMASTUDIOTYPE_FIXPOINT

#define MOD_ATTCH2_ALG0_GAIS200ALG4ALPHA0_ADDR         8190
#define MOD_ATTCH2_ALG0_GAIS200ALG4ALPHA0_FIXPT        0x007FF259
#define MOD_ATTCH2_ALG0_GAIS200ALG4ALPHA0_VALUE        SIGMASTUDIOTYPE_FIXPOINT_CONVERT(0.999583420126834)
#define MOD_ATTCH2_ALG0_GAIS200ALG4ALPHA0_TYPE         SIGMASTUDIOTYPE_FIXPOINT
#define MOD_ATTCH2_ALG0_GAIS200ALG4ALPHA1_ADDR         8191
#define MOD_ATTCH2_ALG0_GAIS200ALG4ALPHA1_FIXPT        0x00000DA6
#define MOD_ATTCH2_ALG0_GAIS200ALG4ALPHA1_VALUE        SIGMASTUDIOTYPE_FIXPOINT_CONVERT(0.000416579873166234)
#define MOD_ATTCH2_ALG0_GAIS200ALG4ALPHA1_TYPE         SIGMASTUDIOTYPE_FIXPOINT

 

What is the formula to calculate the MOD_ATTCH2_ALG0_GAIS200ALG4ALPHA0_FIXPT and MOD_ATTCH2_ALG0_GAIS200ALG4ALPHA1_FIXPT ?

Outcomes