Part Number: TMS320F280049C
Tool/software: Code Composer Studio
Hi There!
I am trying to use CLA for implementing a filter in TMS320F280049C Launchpad. I had successfully implemented the filter and verified the results against my original MATLAB Algorithm. But after I ran my code in debug mode two to three times, I noticed that CLA was not producing the same results. The results were not consistent.
I tried several time but the could not find any reason for inconsistency. Earlier I thought, that my algorithm might be inconsistent. So, I verified my C Algorithm in Visula Studio but it was producing the consistent results. So the error seems to be in the platform implementation.
Some times, the kit produce the exact results while some times it produces wrong results.
I have attached a video with this post where I ran the code 4 to 5 times but only got the correct results on last attempt.
Note: Ia m using 32 bit fpu and I have set it to relaxed mode. Also that, I am using level 4 optimization as depicted in the figure below.
Also that, Is this issue related with the debug mode of CLA in CCS?
The video was greater than 20MB so I here is the youtube link for the video.
Regards,
Bilal
