Tool/software: Code Composer Studio
Hi, I am working on a project using the TMSC5515 with Code Composer Studio. According to the datasheet the C5515 has 320K Bytes of on-chip RAM. However when I try to initialize an Int16 Array of size 96000 (enough for a 2 second delay line at 48kHz sample rate), I get an error:
Description Resource Path Location Type
gmake: *** [main.obj] Error 1 audioTests C/C++ Problem
This is not very descriptive, but I figured out the problem is based on the array size.
96000 * 2 Bytes (16 bit integer) = 182K Bytes, which the chip should have enough RAM to handle. At first I thought this was because of the fact that SARAM consists of 32 4K X 16 bit blocks, but I was able to instantiate an array of size 24000 without any problems, so clearly creating an array larger than this block size is possible.
How to I configure the on chip memory to allow a large array size?
Thanks!