AnsweredAssumed Answered

Declaration of variables slowing down execution?

Question asked by EliasK on Feb 16, 2011
Latest reply on May 23, 2011 by Mitesh

Hello, I am still trying to familiarize my self with the ADSP21364 EZ-Lite kit and the processor.


I am using the "BlockBase TalkThru" example and I am getting the input blocks doing an FFT and an IFFT and writing the data to the output. Everything works fine, until I declare one more array to do some very simple processing and I get the program stuck at ProcessingTooLong().


Even when I take out the processing and leave just the declaration of the array, I get the same. But when I remove the declaration of the array also, the program runs smoothly again.


So, my question is: Does the declaration of variables take up processor time? Should the declaration of variables be done in the main() to avoid taking up processing time?