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: Code optimization

Part Number: TMS320F28335

Hi, 

I am trying to optimize the code (speed). I think one of the ways to do this is to go from floating point arithmetic to fixed point arithmetic. How do I achieve this? 

Please suggest others ways to optimize the code. For example, what's the best compiler for optimization?

Many thanks in advance, 

Shiromini

  • Hi,

    Shiromini Satkunarajah said:
    I am trying to optimize the code (speed). I think one of the ways to do this is to go from floating point arithmetic to fixed point arithmetic. How do I achieve this? 

    F28335 has a FPU, so you don't have to do that. You can try with iQmath library though. Again, you would not observe much difference.

    Shiromini Satkunarajah said:
    Please suggest others ways to optimize the code. For example, what's the best compiler for optimization?

    Do refer this:

    Regards,

    Gautam

  • Shiromini

    Please refer to the resources Gautam provided.

    Additionally, for a more general, detailed guide on the compiler: http://www.ti.com/lit/spru514

    Best regards
    Chris