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.

Compiler/TMS320F28379S: TMU function call

Part Number: TMS320F28379S
Other Parts Discussed in Thread: TMS320F28377S

Tool/software: TI C/C++ Compiler

Hi,

in an example of the control suite I've found a call which calculates a sinus with this function: __sinpuf32!

The example is tmu_sinegen_cpu01.c!

the code is:

tmuOutput[i] = __sinpuf32(inputVector[i]);

Where does the compiler find this call __sinpuf32(x)?

I did not find this in a header.

I replaced a sin(x) call with __sinpuf32(x) in my first TMS320F28377S project with CCSv6.1.3 and got an error message

because __sinpuf32 will not be found!

I read the docs and supposed that the compiler will replace a sin(x) call with the TMU function automaticly?

Is this correct?