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.

TMS320F28388D: Which unit is faster

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Dear all, I working with the TMS320F28388D CPU. I realized ETHERCAT with the CM. For my application I want to use CPU1.

Now for me is the question what is faster : IQmath with IQ16 (this accuracy is enough), TMU, CLA,FPU64 ? Can you help me ?

I working in the past with the IQ. The other cores are new for me. Thank you. 

  • Hi,

    What functions are you implementing? DO you have a hard requirement of implementing using fixed point vs floating point?

    -Shantanu

  • Hi Shanty,

    I will use the functions : sin, cos, exp, _IQ16mpyI32, _IQ16div, _IQ16sin. I need this for my motion control to generate the ramps. I don't have a hard requirement... . 

    Now I'm not sure what I should use. What is more technically efficient ?

    Martin

  • Hi,

    Please go through the benchmarks that we provide as part of our documentation of the IQMath and FPUFastRTS libraries. You can find these in c2000ware. There, you can find the correct cycle counts for each operation. For division, you can also consider the FASTINTDIV library.

    For example, for sine, IQmath (For Q = 29) Takes 46 cycles and sin from FPUFastRTS takes 38. For IQMath, the cycles will vary based on the GLOBAL_Q value. Also keep in mind the additional overhead of converting between float and IQ format. 

    PLease go through the documentation and get back to me if you require any clarifications.

    -Shantanu