-
1. Re: Is there CORDIC UDB available for PSOC4?
BoTa_264741 Aug 13, 2019 12:11 PM (in response to chwa_1570756)Chris,
This thread discusses 'atan' calculation using a lookup table, which should work for PSoC4:
This is UDB implementaton of CORDIC v2.0 for PSoC5LP, did you try it on PSoC4?
It appears that lookup-table approach is faster, but UDB is freeing CPU for other tasks.
/odissey1
P.S. what PSoC4 part are you using?
-
2. Re: Is there CORDIC UDB available for PSOC4?
chwa_1570756 Aug 13, 2019 8:14 PM (in response to BoTa_264741)Hi BoTa,
There are 1024 arctan angles in my project,I use CY8C4246-L423 which seem not able to support 10 bits LUT, and I wonder why the memory access based LUT is faster than pure hardware based UDB.
Chris
-
3. Re: Is there CORDIC UDB available for PSOC4?
BoTa_264741 Aug 14, 2019 8:21 AM (in response to chwa_1570756)Chris,
The AN2341 discusses the size limitation of the 10-bit LUT and several steps for speed improvement using LUT.
https://www.cypress.com/documentation/application-notes/an2341-arctangent-psoc-1-assembler
Clock saving comes from pre-calculated results saved in the LUT. UDB has no access to memory, so all operations had to be performed sequentially.
/odissey1