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.

TMS320F28335: Collaterals to Improve Code Execution Efficiency

Part Number: TMS320F28335

Hi expert,

Customer has long term been using TI's F28335 for motor drives. Recently they are facing the problem of limited memory for more complex code. Do we have any guide/app note to improve code efficiency to use less memory for greater execution and performance?

Thanks,

Joyce

  • Joyce,

                    I am unaware of any collateral specifically targeting code efficiency. Two things customer can consider:

    1. Take advantage of the XINTF and add external memory to augment internal memory.
    2. Move to a newer device with more memory.
  • Joyce,

       Another expert chimed in with the below:

    "We have an optimization guide. I think it’s more focused on optimization for speed rather than size, but some of the tips may help for both".

  • Joyce,

       Another expert chimed in with the below:

    "Assuming they are already compiling with optimization level -o2 or -o3 and --mf = 0 (optimize for size). They could try the compiler’s optimization level 4 (-o4). -o4 is the same as -o3 except there is a post link step that takes the entire project view into account. This can reduce size but the compile will take longer. 

    They could also try using the optimizer assistant (View à optimizer assistant) to get the best combo of optimization level and –mf setting".