CORDIC EXAMPLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-04 3:09 AM
Hi,
I was just looking at an example in STM32 IDE of using CORDIC to calculate SIN and COS. The same is explained in the document below:
In the configuration, the function COSINE is called however, while reading the output both SIN and COS were obtained. How is that possible? shouldn't we call them separately?
Best Regards
Yaqoob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-03-25 2:40 AM
Hi MYAQO.1 ,
The CORDIC hardware is designed to calculate trigonometric functions. In some cases - while calculating some function - also additional functions is calculated (from principle of calculation). Therefore while we calculating SIN also COS function is calculated (and vice versa). So - to calculate SIN also COS is calculated with the same precision as if we call COS separately.
Regards
Igor
