I'm trying to include ADC (startkit_adc) in my existing project. The startkit adc example is the base which I used.
Code: Select all
par
{
on stdcore[0]: adc_task(i_adc, c_adc, 0);
on stdcore[0]: adc_processing(i_adc); //this function is declared in main.xc; like the adc_example
on stdcore[0]: audio_io( c_aud_dsp );
on stdcore[0]: audio_stream ( c_aud_dsp );
}
I just want to make the cut-off frequency of a bandpass-Filter variable by using ADC.
I hope you can understand my problem.
greetings, Thomas.
***EDIT***
It seems, that nobody can help me? Now I tried to use another allocation on the different cores:
Code: Select all
par
{
on tile[0].core[0]: adc_task(i_adc, c_adc, 0);
on tile[0].core[0]: adc_processing(i_adc); //this function is declared in main.xc; like the adc_example
on tile[0].core[0]: audio_io( c_aud_dsp );
on tile[0].core[0]: audio_stream ( c_aud_dsp );
}
"statement placed on a core must be call to combinable function"
So what I'm doing wrong now and how can I use different cores for 2 different main-tasks (adc and audio).
I have no idea where the noise is coming from, so I'm trying to disconnect the adc-part from the audio-part.