Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 22625

Re: Something about SigmaStudio clipper, probe and others

$
0
0

Hi, from my own experiments with ADAU1701 and Sigma Studio V3.10 Build 4 Rev 1326

the problem found by drugoimir is still present with this release.

I'm using a custom library written for arduino/energia to talk with DSP and to fix this problem I have to write

also the "ghost" parameter wich is a duplicated parameter negative threshold.

I'm using an hard clipper block growed to stereo, I see

 

Param Address:  4

Param Name:  HardClipAlg1up_3 4

Param Data:

0x00, 0x80, 0x00, 0x00

Data 5.32:

1

Data 28.0:

8388608

 

Param Address:  5

Param Name:  HardClipAlg1_3 5

Param Data:

0x0F, 0x80, 0x00, 0x00

Data 5.32:

-1

Data 28.0:

-16777216

 

Param Address:  6

Param Name:  HardClipAlg1_3 6

Param Data:

0x00, 0x00, 0x00, 0x00

Data 5.32:

0

Data 28.0:

0

 

but the last one is the second negative threshold parameter wich is wrongly initialized to zero, it should be

-1 to work properly (symmetric clip).

Also I noticed sigma studio generated header files are missing this parameter address

...

...

...

/* Module HardClip1 - Standard Clip*/

#define MOD_HARDCLIP1_COUNT                            2

#define MOD_HARDCLIP1_DEVICE                           "IC1"

#define MOD_HARDCLIP1_ALG0_HARDCLIPALG1UP0_ADDR        4

#define MOD_HARDCLIP1_ALG0_HARDCLIPALG1UP0_FIXPT       0x00800000

#define MOD_HARDCLIP1_ALG0_HARDCLIPALG1UP0_VALUE       SIGMASTUDIOTYPE_FIXPOINT_CONVERT(1)

#define MOD_HARDCLIP1_ALG0_HARDCLIPALG1UP0_TYPE        SIGMASTUDIOTYPE_FIXPOINT

#define MOD_HARDCLIP1_ALG0_HARDCLIPALG1UP1_ADDR        5

#define MOD_HARDCLIP1_ALG0_HARDCLIPALG1UP1_FIXPT       0xFF800000

#define MOD_HARDCLIP1_ALG0_HARDCLIPALG1UP1_VALUE       SIGMASTUDIOTYPE_FIXPOINT_CONVERT(-1)

#define MOD_HARDCLIP1_ALG0_HARDCLIPALG1UP1_TYPE        SIGMASTUDIOTYPE_FIXPOINT

 

/* Module Nx2-1 - Stereo Switch Nx2*/

#define MOD_NX2_1_COUNT                                3

#define MOD_NX2_1_DEVICE                               "IC1"

#define MOD_NX2_1_ALG0_STAGE0_STEREOSWITCHNOSLEW_ADDR  7

...

...

...

So I have modified my libraries to write to this "ghost" parameter and now it seems to work ok.

 

Thanks


Viewing all articles
Browse latest Browse all 22625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>