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.

MCU-PLUS-SDK-AM243X: Optimized Trigonometric Functions on TI ARM Cores

Part Number: MCU-PLUS-SDK-AM243X

Hi,

I found recently the document sprad27.pdf comparing the standard math.h trigonometric functions with CMSIS and the "TI ARM Trig library" on AM243x microcontroller. I found in the SDK 8.3.0.18 of AM243x, the files ti_r5fmath_trig.h/.c/.asm in an example. I was wondering if these files are the library mentioned in sprad27.pdf or whether the study is about another library.

The reason why I am not sure whether the mentioned source files are not the case study is because the functions does not have the same name as in the pdf. For example, in the PDF, the function ti_arm_sin() is tested and in the source files, the sine function is named ti_r5fmath_sin(). However, I was able to reproduce similar computation effort gains as in your study, so I guess they should not get much difference between the library and the source files I found.

Thank you for your answer.

Regards. Nicolas

  • Hi Nicolas,

    The ti_arm_*() functions mentioned in the document are the C-equivalent of the ti_r5fmath_*() functions currently in SDK 8.3. These updated functions will be released in the next SDK release, along with some additional trig functions. These functions are optimized for both the Arm R5F and M4F cores of TI devices so the names were updated to better reflect this. 

    I apologize for the confusion. We are updating the document to clarify this.

    Regards,
    Sahin

  • Hi Sahin,

    thank you for your answer. That confirms what I was thinking.

    Have a nice day.

    Regards, Nicolas