Implementation via 32-bit dsp of a self-tuning predictive controller.