Hi C2000 champion
Customer use F2837x CLA, they want to know CLA math accuracy, such as CLA SIN, know that the cla math table size is 128.
Thank you!
Eric
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.
Hi C2000 champion
Customer use F2837x CLA, they want to know CLA math accuracy, such as CLA SIN, know that the cla math table size is 128.
Thank you!
Eric
Hi Eric,
for the sin and cosine, the algorithm basically finds the closest match in the lookup table, subtracts the table angle from the original to get the residue and then does a taylor series expansion on that residue - im not sure how to put an upper bound on the accuracy for this but i usually compare it to what MATLAB gives me and it seems to be accurate to within 10^-6 error.
The same goes for the arctan , arcsine and arccosine algorithms as well however those are polynomial fit algorithms and not Taylor series expansion