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.

TMS320F28377D: Running CLA and CPU with different frequencies and data exchange between them.

Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE, , TMS320F280049

Hello all,

We are using the CLA to compute a loop regulation, we managed to implement the loop control in the CAL but we still have some problems with the shared data between the CLA and CPU.

Our main loop is running at 35Khz and the CLA is running at 140KHz.

In the first configuration, we tried to initialize the CLA inputs values in the main interrupt service routine.

We remark that some variables are initialized in the main loop but CLA couldn't see them.  We configure the CLA RAMs master for LS3 and LS4 and we use the ClatoRamMsg and CpuToClaMs sections, these memories are used to communicate data between CPU and CLA.

My question is what is the best way to change exchange data between CPU and CLA if they are not running at the same speed?

Thank you In advance,

S.Tarik