Maximum input voltage has been reduced to 0.7*U_d so that the motor does not consume too much current, thus avoiding burning the protorboard.
The proportional was left as 0.00001f and now the motor runs not instantly fast but good enough.