Other Parts Discussed in Thread: DRV8312
I am using motor ware 1_01_00_17 and running the hvkit_rev1p1 code on custom hardware with positive current feedback. Code has been tweaked appropriately for the positive feedback, and runs fine with no over modulation. However, when I run lab 10a, and the motor starts to reach higher speeds it stops spinning and draws a large amount of current. There are times when the current spikes causing my supply to go into overload. Not sure the sequence of things but I know bad things happen. However, in lab 3c if I change USER_MAX_VS_MAG_PU from 0.5 to 0.6666, it appears to go into over modulation as my maximum RPM changes from 2000 RPM at 0.5 to 2700 RPM at 0.6666. Why is it that over modulation appears to work in 3c where it is not supposed to work and does not work in 10a where it is supposed to work?