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.
Tool/software: TI C/C++ Compiler
I am running a FOR loop for 120 times and moving the data for every 1ms in  size array. It is taking too much time while running from FLASH. I am not able to run it from RAM as I don't have enough space for it. Can you suggest any alternative for the FOR loop to reduce the running time to accomplish the above task?
Do you have optimization turned on?
Your next step is probably assembler.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Keith Barkley:
In your other posts, you show you are working with a C28x system. Is that the case here?
Thanks and regards,
TI C/C++ Compiler Forum ModeratorPlease click This Resolved My Issue on the best reply to your questionThe CCS Youtube Channel has short how-to videosThe Compiler Wiki answers most common questionsTrack an issue with SDOWP. Enter your bug id in the Search box.
In reply to George Mock:
In reply to harish boyina:
harish boyinaI dont want do optimization turned on
The only other alternative is to manually write it in assembly code.
Instruction Set for C28x you find here http://www.ti.com/lit/ug/spru430f/spru430f.pdf. It may be useful instructions like a LOOPNZ, LOOPZ, BANZ, etc.
Please click to "Verify Answer", if your question was answered.
harish boyinaI am not much familiar with assembly program, can you send piece of code for the FOR loop for C28x or can you refer any document?
Please consider installing C2000Ware. It contains many examples of C28x assembly code. Search for the files with the extension .asm.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.