I've attached a sample schematic from the example folder in sigmastudio which used to control volume and mute. In the schematic, there are 4 RCA inputs, 2 s/pdif inputs and 6 RCA outputs. I've used demo DXE (CCES) for ADSPSC589 given in the example folder of software module.
I have 1 RCA mic as input and 1 RCA speaker as output. Can someone tell me how the processor knows which pins are input and which pins are output? That is, how and where to assign these pins as input and output. I've searched in manual but i couldn't find it.
My second question is, if i want to use just 1 input and output how do i assign it in the code?
New here, kindly help. Thank you.
The default framework is considering, RCA output port is J16 for 8 channels output and RCA input port is J6 for 4 channels input. For any change in channel configuration requires framework modifications. If you want to modify the framework, you need to understand the default framework code flow by running demo application in CCES debug mode. You can put break points in CCES debug mode, so you can understand the code flow.
Thank you for the reply. But, after doing build, for some reason the demo code has 25 errors. Is this common? And this is the only 1 example (CCES codes + Schematic) given by Analog devices for ADSP SC589 . Not sure how to proceed from here.
Yes, these errors are common with source files reference path in CCES tool. you need to look into the console window for compilation status. If compilation successful, all core DXE's generated in corresponding project folders. In case of any error you need to look into the console window by selecting corresponding core project.
1) I've done as you've suggested and DXE's were generated and also the status bar in sigmastudio after link-compile-download displays = Active: Downloaded. Then, even when the input audio (My RCA input is mic) is given, there's no output. How should i proceed from here? Please check the link mentioned below. It has softconfig.c, schematic and setup. https://ez.analog.com/dsp/sigmadsp/f/q-a/110627/volume-and-mute-control---schematic-and-softconfig
2) Also, I would like to confirm if the input audio has to be given before link-compile-download or after that?
Please follow the same steps given in section 6.2 Getting Started with Example Schematic
C:\Analog Devices\SoftwareModules\SigmaStudioForSHARC-SH-Rel4.1.0\Docs "AE_42_SS4G_QuickStartGuide.pdf"
Here only the change, you need to select DXE you have generated in project debug folder, for both CCES debug configuration and SigmaStudio Schematic.
Ans 1: No need of any softconfig.c change. Schematic creation, you need to refer example and you can change input and output as you want. Hardware setup, please refer attached image for input/output connection.
Ans 2: You can give or get input/output at any time, only thing you should follow section 6.2 Getting Started with Example Schematic steps carefully.
whether you got audio output for the pre-built DXE with Example schematic? If yes then you can easily modify schematic for your requirement.