Computational strength between C2000 CLA and CPU

조회 수: 7 (최근 30일)
hieu le
hieu le 2020년 10월 30일
답변: Venkatesh Chilapur 2020년 11월 2일
I'm using F28379D Ti LaunchPad for a system controller and computing Kalman Filter (which daw much computational cost). As you all know that TMSF28379D has 2 CPU and 2 CLA.
There are 2 options for me here. First is using CPU1 for controller and CPU2 for computing Kalman Filter. The second choise is using CPU1 for controller and CLA of CPU1 for computing Kalman Filter.
So, what is the better option here? In computational strength (specially in matrix computation), Which one is better, CLA or CPU?
Thank you!

답변 (1개)

Venkatesh Chilapur
Venkatesh Chilapur 2020년 11월 2일
Hi,
As we know CLA is a 32-bit floating point math accelerator. So any part of the algorithm that involves Math based computation can be implemented on CLA. This would run in parallel with CPU and helps increase the overall bandwidth of the CPU.
Use CLA if the same computation when done on CPU would significantly impact your system performance as CPU in general would handle periodic tasks, events and interrupts. So the choice depends on how much bandwidth you need on the CPU including current and future enhancements.
BOTTOM LINE:
If your processing on CPU is overrunning on your tasks, then use CLA to offload CPU.
Regards,
Venkatesh C

카테고리

Help CenterFile Exchange에서 Embedded Coder Supported Hardware에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by