cancel
Showing results for 
Search instead for 
Did you mean: 

Is the CORDIC coprocessor microcoded and can it be modified?

KHarb.1
Senior II

have an application requiring updating the integral and derivative values for a set of PID controllers.  Each arriving error value must be added to the integral value and subtracted with the last error value. I want to streamline this with DMA. I can almost use the FMAC to handle it, but not quite. 

 
Oddly, if I wanted to execute trig functions on the incoming values (instead of addition\subtraction) I could use the CORDIC coprocessor. Further, the CORDIC unit runs algorithms that involve the simple addition I need…so if it can be modified, it could do what I need with ease.  There’s even 6 function options that are unused...
 
I’m assuming the CORDIC unit is microcoded…is this correct? 
Can the microcode be accessed\modified?
1 REPLY 1
STOne-32
ST Employee

Dear @KHarb.1 ,

You can find details and global overview of our Cordic Co-processor ( hard coded) here :

https://www.st.com/resource/en/product_training/STM32G4-Peripheral-Cordic_Coprocessor_CORDIC.pdf

let us know if you have some improvements for future flexibility.

Ciao

STOne-32