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.

CCS/TMS320F28075: [fastRTS] Problem with implementing fastRTS library

Part Number: TMS320F28075

Tool/software: Code Composer Studio

Hello, I am Jong Woo Kim.

I have several problems while implementing fastRTS library with 28075, referencing SPRCA75.

1. I cannot see the *_f32.obj functions in *.map output file.

I have included "rts2800_fpu_fast_supplement.lib" and added the path. 

Also, I have checked    

a) Search libraries in priority order (-priority)
b) Reread libraries; resolve backward references (-x)  at the linker options.

Also, I made the fast_supplement.lib linked before fpu32.lib at build-link order option.

Finally, I modified RAM.cmd file to allocate the position of the tables.

However, after building up my project, I cannot find fast_supplement.lib in the *.map file.

I can find scattered cos_f32.obj, sin_f32.obj, ... in the map file, but I think this is because I included the asm files in the workspace.

How can I use the library in the right way?

2. How can I use the fastRTS in the real code?

In the real code, do I have to include math.h in order to use fastRTS?

How can I call the fastRTS functions??

Thank you so much in advance,

  • FYI,

    When I use sin function after including math.h, the compiler says that
    #2614-D (Performance) Use --fp_mode=relaxed to enable TMU hardware support for sin.
    I do not know if this will help solving the problem, but... anyway. Thank you!
  • Hi Jong Woo Kim,

    You do need to set the --fp_mode to relaxed in order to use the FastRTS functions. You also need to include math.h in order for many of the functions to work. sin() is one such function. Can you do both these things to see if they help?

    It's difficult to pin-point the problem just from this information. I recommend you open and build the "2833x_fastRTS" example included with the library, and compare the map file and compiler/linker settings with your own project. That may give you a clue about what is missing.

    Regards,

    Richard