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.

TMS320F280049M: The cla_math lib for TMS320F280049M

Part Number: TMS320F280049M

When I begin to program the algorithm of motor in CLA  with the device of TMS320F280049, I can't find the cla_math lib for mathematical operation(e.g cosx,sinx). From the datasheet, we can know that cla in TMS320F280049M is type2, and type1 cla_math lib can be found in C200ware for TMS320F28377x. I wonder whether it is also suitable for TMS320F280049, or TI hasn't updated this lib file.

Meanwhile I found it seems that the special cmd file for cla math lib is short of  int the device of TMS320F280049. perhaps I am wrong to understand the cla math, the only thing that needs to be done for new device is to recompile the suorce file under clamth file with preferred options. And how to deal with the special cmd for cla math opertion?Could  someone help me? thanks!

  • I have solved the problem by reference of CLA Math datarom Library in V4.02.00.00. C2000 ware v1.01 provides the cla math datarom symbol lib in the boot_room folder of math. And I use the method of the Tables in the CLA Data ROM.But there are some problems that makes me confused.
    Firstly, this method requires that user should use the datarom variant, I can't find the datarom variant for TMS320F280049, the cla of which is type 2. So I choose the cla1_math_library_datarom_fpu32 for TMS28377x instead.
    Secondly. Some description in the chapter of reference book ( 4.4 Using the Tables in the CLA Data ROM) puzzled me.

    The first question: why the doc says that use cla_math_datarom_symbol will save the user? Indeed, there is no cla math table in cmd file compared with device that doesn't have cla data room. Could you give me some suggestion that how to call the cla math table in the manner. whether cla directly call the lookup table from the cla data rom? some delays  may result in this manner?

    The second question: I can't image that " For the present the rom symbols table is packaged with the cla math library", Does it mean that : in this manner, the cla math table is located in data rom, only need to is to provide the function symbol entry address for the cla fle, So there is no need for cla math lib, which provide the cla math table in ram.

    Finally, What is the function of  datarom variant? why it help user make the library removed from building?

    Could someone give me some advice to explain the whole process of the cla math lib called by cla in the manner of  cla data rom.

    thanks!

    Regards,

    jari

  • If the user uses the CLA Data ROM, then they don't need to place the lookup tables in RAM and use that memory space.

    The CLA math library will automatically use the Data Tables. I don't believe there is any reason user should make reference to them directly.

    In regards to your second question. I believe that is correct.

    sal