Other Parts Discussed in Thread: DRV110, INA180
I want to use one C2000 for both speed control of a motor and solenoid control. I'm planning to replicate functionality provided by DRV110, but with either peak or average current control instead of hysteretic. Current sense will be from analog CSA like INA180. What example code would you recommend starting with for accomplishing the solenoid control without impacting motor drive loop?