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.

Is it possible to pass bigger arrays to CLA?

Hello.

I am using the F28377S, and I am trying to optimize my time execution by passing bigger arrays to the CLA tasks, instead of calling the task for every item of my account. For example calculating the Logarithm for a full 512 point FFT magnitude.

However, I have noticed that the space for passing by variables between CPU1 and CLA1 is determined by CLA1_MSGRAMLOW and  CLA1_MSGRAMHIGH definitions.

Is it possible to change those memory sections without issues? 

Which is a recommended setup?

Thank you

  • Pak,

    Actually you can use any of the LSx DATA RAMs on the F28377S for this purpose,

    CLA1_MSGRAMLOW/HIGH are more valid for F28035 devices where once the RAM was allocated to the CLA the CPU did not have access, we improved this by adding more configuration on the DATA RAM..

    from the datasheet

    "
    6.6.6.2 Local Shared RAM (LSx RAM)

    RAM blocks which are dedicated to each subsystem and are accessible to its CPU and CLA only, are
    called local shared RAMs (LSx RAMs).
    All LSx RAM blocks have parity. These memories are secure and have the access protection (CPU
    write/CPU fetch) feature.
    By default, these memories are dedicated to the CPU only, and the user could choose to share these
    memories with the CLA by configuring the MSEL_LSx bit field in the LSxMSEL registers appropriately."
  • Thank you Manish...that was helpful