Overheating motor HELP

Hello,
I have a nema 17 12v 0.4a motor which is powered by a tmc 2208 with a vmot of 12v.
The set up is running good but the motor is overheating quite a bit.
What can I change so that it doesn't overheat?

Tmc is set to 0.4a output.

If the driver is correctly set for the motor current then the heating is normal. It is common for stepper motors to run hot and be uncomfortable to touch,

...R