BLDC stops functioning after some secondes

Good day,

I have a BLDC Motor running with an arduino (https://eckstein-shop.de/V-TEC-Turbine-Getriebemotor-Single-Welle-24V-76-U-min

I control the speed via a potentiometer which then is send from the arduino as a pwm to the motor control which is integrated inside the motor already. This works quite well. To determine the stiction I measure the current and turn the knob just before it start moving. If I keep this position for some seconds and then move the knob the motor doesnt work anymore and I have to restart the arduino.

Why is that?

thanks

Attached is the datasheet of the motor

Motoren_Diagonalen.pdf (402 KB)

Post your code. Use code tags. Post a wiring diagram. Pencil, paper and a camera are good enough if you include proper detail like pin numbers.