Post Go back to editing

SigmaStudio+ is used in dual-core mode

Category: Software
Product Number: SigmaStudio+ & ADSP21593
Software Version: SigmaStudio+ 2.1.0, CCES 2.12.0

Hi Sir,

I need to use 21593 dual-core + SigmaStudio+, but I can't find any instructions and routines. I created a dual-core application based on "C:\Analog Devices\SigmaStudioPlus-Rel2.1.0\Target\Examples\LibraryIntegration\ADSP-21593". I have created two separate schematics using SigmaStudio+ and can download them. I have found that it works only when the schematic is simple or there are few input audio channels, but when the schematic becomes complex and there are many input audio channels, it would crashes. The CCES always displays "A parity error has been detected."  I checked the memory usage and it doesn't seem to overflow

Please help, thank you!

   

LibIntegrationExample_Core1.map.xml
LibIntegrationExample_Core2.map.xml

Parents Reply Children
  • Hi Chiru,

    This is my test schematic projects and dxe files. 
    In addition, in my process of using SS+ with 21593, I encountered many strange problems that I can't describe.  Sometimes the program appears to be working, but the output sound is not normal. 

    AMP_SS+_Test.zip

  • Hi Chiru,

    Do you have a example and instructions for  using Dual-Core with SigmaStuido+ ?  I hope to see if your example works.  

    I checked this demo  "C:\Analog Devices\SigmaStudioPlus-Rel2.1.0\Target\Examples\LibraryIntegration\ADSP-21593",  It doesn't work properly and cannot be used in conjunction with SigmaStudio+. 

  • Hi Jonny,
    You can find the examples from 
    https://wiki.analog.com/_media/resources/tools-software/sigmastudiov2/adsp-sc5xx_2_sh_core_demouc_example.zip

    The schematic source files must be generated and added with default Lib integration application using the same project core DXE's.
    Microcontroller Mode Support [Analog Devices Wiki]

    If you dont want to use source file-based application, Please refer following points,

    1. Make "bSkipInitialDownload" to 0.

    2. Remove the SMAP, code and param memcpy functions, so application will wait for the schematic to be downloaded.

    3. Make core two application also with similar above 2 steps. 

    If you are facing same issue, please share your schematic.

  • Hi Sakthivel,

    I have already shared the schematic. Please note my previous question.

    Currently,  I have found 21593 it works only when the schematic is simple or there are few input audio channels. But when the schematic becomes complex and there are many input audio channels, it would crashes. 

    My code doesn't seem to be an issue, because it works perfectly when the schematic is simple. 

  • Hi Chiru & Sakthivel,

    Any updates for this issue?

    Our schematics were so complex that one core could not run well enough. We urgently needed to use 21593's dual core. Please give us useful help, thank you.

  • Hi Jonny,
    We will check and get back to you, since your schematic having 48 Input/40 Output channels we need to make some modifications to the schematic to test on evaluation boards.

    whether your simple schematic worked with 48 Input/40 Output channels configuration? 
    Is my understanding correct that you are facing issue only when using complex schematic with more modules?
    Any idea what your schematic MIPS is?
    Since your schematic block size is set to 16 there could be a possibility for MIPS overshoot when running with 48 Input/40 Output channels.     

  • Hi Sakthivel,

    1. The schematic of attachment can work normally

    2, I checked the MIPS and it didn't overshoot 

    3, Our project has 48 input  & 40 output channel. In my test on EV board only 16 input /16 output channel is actually used. The attachment has the related configuration of Sport port, and the unused channel is not connected to the data input/output port through SRU

    4. Because there are too many input and output channels, if the block size is set to 64, it will consume more memory, so I try to set it to 32 and 16

    5, The audio process is as follows:

    Core1 Sport In (48CH) -> Core1 SS+ -> Out to Core2 (40CH) -> Core2 In(40CH) - >  Core2 SS+ -> Out to Core1(40CH) -> Core1 Sport Out(40CH)

    Attached is my test schematic and part of the source code for your reference.

    6354.Test.zip

  • In your video the first schematic is working fine and the second schematic having some target exception when enabled some audio stream from Adobe Audition tool. Is my understating correct?
    Could you please explain what audio stream is enabled in Adobe Audition tool and how that stream linked with target application?

    Are you using the SigmaStudio+ Schematic generated source file in 21593 target application? If yes, please regenerate the source file for the schematic which you are facing issue.

    Also, could you please try increasing the stack memory allocated for target application in app.ldf file?

  • The first schematic is simple enough to work even when playing multiple channels; The second schematic diagram is more complicated, playing one channel can work properly, playing multiple channels can not work properly;
    I used normal audio files, attached is my test audio file; It is connected to the sound card via USB and then transferred to the DSP via A2B;
    I used SigmaStudio+ to compile the schematics and download them to 21593. I also tried to set both heap and stack to 20KBytes, but the program still crash

    Test Audio.zip