Hi,
I am stuck with a problem of executing some source code on our custom C5505 target board. This same source code functions as expected when simulated on the Code Composer v3.2 Simulator, verified with some input data files, and validating the correct output file etc. The same source code when compiled for a C5505, with the appropriate function interfaces to allow the input and output from and to the TLV320AIC3204 codec, does not work as expected.
The codec looped back with no signal processing at all works as expected (sound in, sound out), however when the signal processing blocks (compression/decompression) are inserted to treat the sound, the output is not as expected (in fact there is just some low level noise) ! The same signal processing function have been used and verified on the Simulator, which seems to suggests that somewhere in the process in shifting from the simulator, to a real DSP target, there has been some change to the resulting compiled code that results in the code no longer working as with the simulator.
I am sure to say the signal processing blocks do not require more than about 4ms of DSP time. The codec obtains the data through the DMA channel to play on the speakers every 80ms.
The original source code was intended for a C5509 DSP, however porting it to the C5505 should not be an issue. I just cannot seem to find out why the simulator simulates the source correctly, but the target does not produce the same result ?!? Is there something I am missing here when moving the code to the real C5505 target ??
Perhaps others have had similar issues with the simulators vs real-time execution ... Would greatly appreciate any thoughts on this and how perhaps to resolve the unexpected results.
Cheers, Mike