I 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?