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.

TMS320F28376S: CLA math libraery

Part Number: TMS320F28376S
Other Parts Discussed in Thread: C2000WARE

Dear sir ,

we are developiong motion controller based on 28376S , and using the CLA  for current loop implementation , we have some calculation that need to be done in the CLA such as LOG10 and EXP10

for that we are trying to add the CLAmath library , but we encncouter some issue where for test purpose the result is zero in the below code

__interrupt void Cla1Task2(void)
{

 __mdebugstop();

res_log=CLAlog10(100.0);
res_exp=CLAexp10(3.0);

}

some informtion regrading linking 

1. for CLAmath i used cla1_math_library_fpu32.lib

2. i dont use the ROM CLA1 Tables  , for that i have linked as follow , after run  i am cpoying it from FLASH to RAM so it would seens by CLA

   (i was able to see in the CLA under debugging the CLA1mathTables

....

CLA1mathTables : LOAD = FLASHE,
RUN = RAMLS01,
RUN_START(_CLA1mathTablesRunStart),
LOAD_START(_CLA1mathTablesLoadStart),
LOAD_SIZE(_CLA1mathTablesLoadSize),
LOAD_END(_CLA1mathTablesLoadEnd),
PAGE = 0, ALIGN(4)

..

3.i have added also predefine    CLA_MATH_TABLES_IN_ROM=0

4. i can see in the map tables all cla1_math_library_fpu32.  linkage  (EXP,LOG)

5.i am able to debug and steptrough the assmbely code of CLAlog10 /CLAexp10    , but it return 0 

what could be the issue ?