Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

Software CORDIC

$
0
0
Hi Thomas,

1. The (atan_table) seems to be using a 21bit representation for 360 degrees. Consider increasing the representation to 32 bit.
2. The arguments are using int. Consider to use int32 to improve the resolution.
3. The CORIDC Iteration used is 15 based on your table. In our MOTORLIB, we are also using 15 as the iteration, the maximum iteration allows is 23. For your code, you can also increase the iteration to get better accuracy.

Hopefully this helps.

Regards,
Daryl

Viewing all articles
Browse latest Browse all 9892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>