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.

TMS320F28388D: CLA DATA ROM

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Dear all,

We are developing CLA code in F28388D, I found the CLA data ROM have tables (Run) mapping to 0xF070, and in the datasheet also mention that CLA has its Data ROM mapped at GS2 RAM, but i cannot find examples or CMD files to handle this. How can we handle this GS2 RAM area in the code? Do we have any detail information about this? 
Thanks.

BR,

Sam

  • CLA has visibility only for 0x0000 F000 to 0x0000 FFFF, you need map you application to this address.

    you can find symbol libraries at  \c2000\C2000Ware_3_01_00_00\libraries\boot_rom\f2838x\rev0\rom_symbol_libs\cpu1\claDataROM .

    just include these libraries in your project. No need to modify linker command files.

  • Thanks. I see in the cla_data_rom_lnk.cmd of F2838xCPU1_CLADATAROM_Symbols_fpu32.lib the  0x0000 F000 is not used, so if no modification in application cmd files, that means 0x0000 F000 to 0x0000 FFFF will be used as general GS RAM by CPU, will this affect the CLA math function?    

    In the CLAmath example codes, for CLA ROM DATA used project, we include cla2_math_library_datarom_fpu32_eabi.lib and F2838xCPU1_CLADATAROM_Symbols_fpu32.lib, this means we read math table from ROM and so we do not need 0x0000 F000 to 0x0000 FFFF, then we leave it to CPU as GS RAM, is this correct?

    For NO ROM DATA used project, we include only cla2_math_library_fpu32_eabi.lib and the cmd file map the math table to LS RAM, the 0x0000 F000 to 0x0000 FFFF still used for CPU as GS RAM, this make me confused that 0x0000 F000 to 0x0000 FFFF have nothing to do with CLA, is this correct?  

    Please correct me if any problem.

    Thanks.

    Regards,

    Sam    

  • "Thanks. I see in the cla_data_rom_lnk.cmd of F2838xCPU1_CLADATAROM_Symbols_fpu32.lib the  0x0000 F000 is not used, so if no modification in application cmd files, that means 0x0000 F000 to 0x0000 FFFF will be used as general GS RAM by CPU, will this affect the CLA math function?   "

    [BC] No, the address space are different for CPU and CLA.

    You can safely ignore 0x0000F000 to 0x0000 FFFF conflict with CPU. Since the address space are different b/w CPU and CLA there no need to worry.

  • Baskaran,

    So we can ignore this note in the datasheet, right?

    Thanks.

    Regards,

    Sam

  • yes, its just informational. You need not worry about it.