- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everybody,
I have implemented the CORDIC as shown in AN2341 using PSoC5LP with very good result in terms of speed by means of Look Up tables.
I reached a speed of 8us to get a complete conversion (considering also the sign of sine and cosine to extend my results up to 360°).
For a new application I would to use the same algorithm but in this case I'm encountering a problem.
I have to divide the 360° into 2400 step to reach my resolution, so the sign 8 bit used in AN2341 do not lead my system to an appreciable accuracy.
I need to increment the CORDIC to at least 10 bit.
Could anyone help me to get extended the look up tables to 10 bit values?
Thanks and regards
Solved! Go to Solution.
- Labels:
-
PSoC 5 Device Programming
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Manuel,
We do not have any examples for 10bit implementation as of now. Could you share your current project. The implementation of Lookup tables in the current project might help in suggesting 10bit.
Thanks,
Hima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Manuel,
We do not have any examples for 10bit implementation as of now. Could you share your current project. The implementation of Lookup tables in the current project might help in suggesting 10bit.
Thanks,
Hima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Hima,
thanks for your answer.
In the meanwhile I modified the 8 bit LUT.
I created a 9 bit LUT with the 24640 value necessary for the whole combinations.
I tried to compile the 10 bit modified LUT but it takes too values to be stored in ROM (>96000) and they cannot be stored because there not enough space in my device.
At the moment I'm trying the 9 bit version.
Thanks and regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello odyssey,
I already checked the UDB implementation of CORDIC but unfortunately it's too slow for my application.
I can obtain a new data from the UDB after ~80us.
With software implementation using LUT I can reach 8us..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Odissey,
I can find the attachment.. However, the Demo seems to be a sin() function generator.. What I'm looking for is a arctan() function, where I provide sin and cos to the function and then it returns the angle!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
m.trotta,
Sorry, it is not an arctan()...