AD1940

Hi   engineers:

                       There is a customer in China who is using our AD1940. He use SigmaStudio to configure the level detector function in AD1940 as the figure. After the configuration, export the 0_IC_1_PARAM.h header file and he do not find the Level RTA1_3Level RTA1_4 address, like this :

/* Module Level RTA1 - Level Detector Designer*/

#define MOD_LEVELRTA1_ALG0_LEVELDETGROWPINOUTSIMP1_VALUES SIGMASTUDIOTYPE_SPECIAL(0x012A)

/* Module Level RTA1_2 - Level Detector Designer*/

#define MOD_LEVELRTA1_2_ALG0_LEVELDETGROWPINOUTSIMP2_VALUES SIGMASTUDIOTYPE_SPECIAL(0x02DA)

Only Module Level RTA1 and Module Level RTA1_2 have this define. Do you have some suggestions for this issue. Attachment is the customer's header file.pls check.

0_IC_1_PARAM.h.zip
  • Hello xun shi,

    Which version of SigmaStudio is your customer using?  It seems with SigmaStudio 3.11 the single level detector generates slightly different parameters.  Unless I am using a different block than what you show (the image was not clear).

    See attached parameter header file.  Perhaps you can send me your project and I will try to re-compile and export the files to see if I can replicate.

    LevelDetectorTest_IC_1_PARAM.zip
  • Hello xun shi,

    Never mind, I just realized you are using the "Level Detector Designer" block.  I will take another look.

    -JT

  • Hello xun shi,

    Attached is an updated parameter file which includes the Level Detector Designer cell settings for all 4 blocks as follows:

    Filter Type: Lowpass

    Center Frequency: 300

    Q: 0.7

    Bandwidth: 2

    Time Constant: 10 dB/s

    Decay: 0 dB/s

    My file does not seem to generate those extra definitions and a 4 cell paramters are the same.

    -JT

    LevelDetectorTest_IC_1_PARAM_ver2.zip
  • Hello,

    I'm the customer  who got the problem.

    The SigmaStudio 's version that I used is Version 3.11.Build 2, Rev 1396.

    The block is "Level Detector Designer". You could get it form Tree ToolBox->Level Detectors/Lookup Tables->Level Detectors->Multiple Bands->Pass Thru.

    If you want to get the export the Level Detector's address like this:

    /* Module Level RTA1 - Level Detector Designer*/

    #define MOD_LEVELRTA1_ALG0_LEVELDETGROWPINOUTSIMP1_VALUES SIGMASTUDIOTYPE_SPECIAL(0x012A)

    /* Module Level RTA1_2 - Level Detector Designer*/

    #define MOD_LEVELRTA1_2_ALG0_LEVELDETGROWPINOUTSIMP2_VALUES SIGMASTUDIOTYPE_SPECIAL(0x02DA)

     

    you may have to turn all off the model's on/off button off in you project to disable the display, and than turn them on.

    After you have compiled, downloaded and exported the files, you can fine it in the XXXX_PARAM.h file.

     

    Ok, I'm very sorry, my english is so poor, but I hope you can understand.

     

    Thx.

     

    -Wingin Cheung