This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-K2G: AUDK2G mcasp_cfg.c code gets stuck into idle task

Part Number: PROCESSOR-SDK-K2G
Other Parts Discussed in Thread: AUDK2G

Hello ,

Since I have seen you address most audio/mcasp related queries, I am addressing this post directly to you however, I would really appreciate an answer from anyone with relevant experience from the TI team.

I am currently trying to process audio samples that I obtain from the AUDK2G daughterboard in the mcasp buffer. So, I have a for loop that also uses past audio samples along with the current sample to finally compute the convolved output audio sample. However, the issue that I am facing is that when the for loop iterates for greater than a specified number of times (200), the code enters the idle task loop and my code gets stuck. 

K2G is equipped with a fast processor and it does not make sense why a simple for loop with larger iterations would make my code hang.

Could you please help resolve this issue?

Thanks,

Ishani.