I have a legacy design using the LM628 (to drive a DAC which drives a motor). Due to the LM628 going EOL, I need to come up with a suitable replacement. This is an older design with lots of code specifically written to carefully tune the PID in the LM628. Also, for reasons beyond the scope of my project, I cannot change the DAC or motor. One possible solution I am exploring is replacing the LM628 with an LM629 and then using a fast microcontroller (>64MHz - or 8 x the clock of the LM628/9) to convert the PWM output of the LM629 back into an 8 bit binary value.
What is the relationship between the LM629 PWM and the LM628 binary value? Is it purely linear? Meaning:
0% DC --> 00000000
100% DC --> 11111111
And NN% DC --> (0.NN x 255)?
Thanks in advance for any feedback.