- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
I have a square root, tonometric and many other functions in my program. They make my program slower. I heard about CORDIC functions, but I don't know how I can implement it. Can anybody assist or help me in it?
I would be very thankful to you.
Regards
Awais
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
At the bottom of this page is a cordic sin/cos component.
For 1/sqrt(x) there is a shortcut in C, you may calculate sqrt(x) from that result.
Bob
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
At the bottom of this page is a cordic sin/cos component.
For 1/sqrt(x) there is a shortcut in C, you may calculate sqrt(x) from that result.
Bob
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, Bob, for your reply.
I downloaded the component but now, how I can add this component into my schematic? Also, are there any example project available for this component?
Awais
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In Creator Workspace explorer select the "Components" tab. Right click on the project and select "Import component".
I don't have access to any example projects, aren't there any together with the component?
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, There are not.
Awais
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The downloaded .zip contains two folders, Example and Library.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh, Yea 🙂
Thank you, Bob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Glad to have enlightened you ;-))
Bob