Tool/software: Code Composer Studio
7802.pruebas_matlab.m.zip6888.Protesis_de_mano_nov_2016.zipHi
Im having some problems when doing the FFT. I attach an image of the problem and the code:
As can be seen, the green line (MATLAB PROCESS) matches the red line (MCU PROCESS) perfectly at the begging but then the they don't match in amplitude and I have been trying to figure out why could that be happening... I had this problem before but it kinda solved by itself but now is the same error...
I attach the Matlab code with the data and the processes and the MCU code. The Matlab code has almost the same functions as the MCU code and some other things for testing.
Thanks for the help...