Motor Overheating

Hi, I made a PCB with AS5600, STM32G431 and DRV8305
I take the reference from the Dagor by @David_Gonzalez.
The question is by the motor temperature, the motor is the MN4006 antigravity.
When I try the voltage control from the examples of SimpleFOC, the motor begins to get hot, I measure with a thermometer and when has 3A-5A the motor has +100°, so I don’t know that’s normal because the motor has 0.1 ohms between phases.

And when I try the velocity control I has the same results when the motor spins around T200.

The pole pairs are well, the motor have 12 PP.

I have shunt resistors and the values are this when I put T2 in voltage control.

So, I don’t know that’s “normal” or I have problems in the hardware or the code, thx.

From my testing with similar size motors, around 1Nm/kg of motor weight seems to be a good rule of thumb for continuous torque without getting too hot to keep my hand in contact with it for very long. Looks like that motor is 68 grams and 380kv, so 3.1 amps would do it (torque=current*8.3/kv), so 100°c at 5 amps seems reasonable. The specs list 16 amps peak current for 3 minutes, which I find hard to believe even with extreme cooling. 3 seconds is more like it.