finaly I got your controller running on my E-Max scooter
It is running very smooth and quick (about 70km/h at 16s LiFePo). Regen works like a charme.
But it has a very low torque when starting at sensored mode. What are the parameters to give more power in this mode. And how can I define when it will switch to drive_23?
And (it's not a real problem) when the motor spins down and enters the sensored mode there is a little "bump" (the wheel is braked for some ms).
Maybe you'll have a hint.
sorry I only saw your post just now. I will have a look at your hex later today (at home) and let you know if I see anything out of order.
About the torque at start, remember that it does not have 'block' time or anything like that, so it does not allow uncontrolled high current at start. This can make it feel weak at start but it makes the FETs survive, which is not bad
. And second, the max phase current in the menu is a Peak current, not RMS. so 100A peak phase current is around 70A RMS (and can result in maximum 85A DC battery current).
When it switches from drive 2 (via 23) to 3 , this is in the erpm menu (options e and f). You can try to make it go earlier into sensorless (drive 3) by reducing the numbers there.
Did you have the fieldweakening turned on to get to 70km/h ?