how to use FPUfastRTS library on Ti F28377S

I am doing a lot of fast trig functions and need to use FPUfastRTS library insead of math.h.
The checkmark to use fastRTS that I can see when selecting other parts like F2833x:
does not appear when part F28377S is selected:
.
I also do not see any options to select the appropriate library in the code replacement libraries selection:
How do I configure the FPUfastRTS replacement library on my F28377S part?
Thanks.

2 commentaires

Fast Run Time Support Library is included in the compilation of Simulink model by default.
Look for fastrts2800_fpu32.lib in the make file generated by Simulink for C2000 models.
My make file includes several libraries including rts2800_fpu32.lib, but this library does not have absolute path like others:
-l"C:/ti/c2000/C2000Ware_5_02_00_00/libraries/math/IQmath/c28/lib/IQmath_fpu32.lib" \
-l"C:/Program Files/MATLAB/R2024b/toolbox/c2b/tic2000/src/c2837xSPeripherals.cmd" \
-l"C:/Program Files/MATLAB/R2024b/toolbox/c2b/tic2000/src/c28377S.cmd" \
-lrts2800_fpu32.lib \
Also my generated code has math.h functions like
/* Trigonometry: '<S200>/Sin' */
rtb_Sin_k = sinf(rtb_Sin_k);
I expect it to be replaced with something like
__fast_sin()
so that the function from FPUfastRTS.h can be called.
What is missing in my Simulink configuration?

Connectez-vous pour commenter.

Réponses (1)

Nivedita
Nivedita le 15 Mai 2026

0 votes

Hello Valeriy,
On devices supporting both TMU and FPU, select Enable TMU for more optimized floating-point math routines. This option offers even better performance compared to FastRTS and covers most of the routines found in FastRTS.

Catégories

En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by