Has anyone firmware code for SD6 MC33816 PT2000 or PT2001, using manual or PWM control of Vboost DCDC generator as promised in; fact-sheet/PT2000A4FS.pdf ? Only guidance is it should be like injector code, but is only low side, and needs voltage as well as current control.
Sure the reason see "PT2001 why inhibit Vboost?"
So there is an inner loop doing the PWM, if Vboost is low, with a limit for the On time. Direct control of LS7, no async hardware used, that may be susceptible to noise. Usual switch off is when current is reached. Then a coast down Off time. When Vboost target reached the outer loop rests, till Vboost is too low.
Note the is no Vboost inhibit, as not needed see referenced post.
Code use at own risk!
Hi guoweisun
Yes there is some built in hardware, for PT2001/MC33816 only LS7 has this feature that is called VFM variable frequency mode, or hysteretic current control , or async phase. For a reason I do not entirely understand, this mode has issues, either this mode is sensitive to disturbances in Vboost from current drained by a load, or the current control of load supplied from Vboost. Apparently not sensitive if reservoir capacitor is taken directly to ground, avoiding Vboosts current sense. It maybe booth. The manual PWM mode coded has avoided that condition. Multiple names for same feature often makes these powerful solenoid controllers seem unnecessarily complex, but persist you will be rewarded. Sync phase is essentially Off that sounds much simpler to me.