在CCS v5中进行编程,开发板是6670,遇到一个比较不理解的问题,即当较大数据量(如10000以上的float类型数据)的一维数组放到函数的内部作为局部变量使用,与放在外部作为全局变量使用有很大的差异。
当数组放在函数内作为局部变量时,有时会发生读取数组出错,会读到乱码的情况。
而数组放到函数外部作为全局变量时没有读错的情况。
同时发现放作为局部变量时程序测试的时间要比作为全局变量的程序测试时间长。
请问一下这种情况是正常现象么? 是什么原因导致的呢?谢谢!
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.