Another problem @Gamer43 discovered is that a low ERPM there is noise in the measurement, so the motor position is no correctly calculated, leading to a significantly loss of torque, this is really apparent is hubs and direct drive, maybe he can explain it better