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.

TMS320F280049: CLA Division and Memory

Part Number: TMS320F280049


Dear Teams,

My customer is using TMS320F280049. They have following questions, could you help give some suggestions?

1. Whether CLA support division operation? When customer only used few division operation, the code can be built. However, if they implement more division operation, the code can't be built.

2. Whether CLA can support up to 8k memory with ele instruction set? They are only able to used CLA to direct to 0x800, but not 0x100 with more memory.

Thanks!

Dylan

  • 1. Whether CLA support division operation?

    Looking at section 5.6 Instruction Set in the Control Law Accelerator (CLA) chapter of TMS320F28004x Real-Time Microcontrollers Technical Reference Manual (Rev. D) I can't see any division instructions, so guess the division operation has to be implemented in software.

    What data type is the customer using?

    2. Whether CLA can support up to 8k memory with ele instruction set?

    The TMS320F280049 has a CLA Type 2. Is there a limitation on the code size for tasks? contains:

    • CLA Type 1 and above:

    The program space is 16-bits wide, leaving the lower 64K words of space available as program space. Please refer to your device specific documentation for information on how to configure/allocate the memory spaces to the CLA.

    The CLA block diagram in the TRM shows "CLA Program Memory (LSx)" is available for the CLA code:

    On a TMS320F280049 with "LS0–LS7 RAM 16KW (32KB)" I think the maximum code size for CLA tasks is 32KB, although some of the LSx blocks might be required for CLA data.