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.

TMS320F280039C: Clarify when using LSx as CLA program memory

Part Number: TMS320F280039C

Dear Champs,

I am asking this for our customers.

In TRM,

3.11.2 Local Shared RAM (LSx RAM)

There is a table below.

When we initialize LSx as CLA program (MSEL_LSx = 01, CLAPGM_LSx =1), can CPU still do memory copy CLA codes?

Does Emulation Read/Write in the above table mean only CCS can access the LSx if the memory have been assigned to CLA as program?

We want to clarify, if we do CLA initialization in below order, does it work?

Pseudo codes:

- assign LS0 to CLA as CLA program memory

    MemCfg_setLSRAMMasterSel(MEMCFG_SECT_LS0, MEMCFG_LSRAMMASTER_CPU_CLA1);
    MemCfg_setCLAMemType(MEMCFG_SECT_LS0, MEMCFG_CLA_MEM_PROGRAM);

- memory copy CLA codes from flash to LS0

    memcpy((uint32_t *)&Cla1ProgRunStart, (uint32_t *)&Cla1ProgLoadStart,
           (uint32_t)&Cla1ProgLoadSize);
    memcpy((uint32_t *)&Cla1ConstRunStart, (uint32_t *)&Cla1ConstLoadStart,
        (uint32_t)&Cla1ConstLoadSize );

Wayne