I tried this mosfet Irf3205 to drive dc motor from gate driver but it got warm at current 5 A,20khz however I used heatsink.
I have ready made dc driver board in its datasheet it can hold up to 10 A with this mosfet https://www.google.com.eg/url?sa=t&...P2q1FERJq8sQn-ykKJHw6g&bvm=bv.137132246,d.d24
without heat sink but it is soldered on the pcb, how could it survive however it has almost the same Rds on of irf3205
IRF3205 can be expected to heat up by about 10K at 5A DC, don't know if you would consider it warm. But there may be additional switching losses, show your circuit schematic.
Use a N-Ch MOSFET as low side switch, connect the motor to +24V and MOSFET_DRAIN.
With adjusted switching timing and a well selected MOSFET you just need:
* logic level MOSEFT
* free wheel diode
(two devices as minimal configuration)
No big difference. But you should analyze the switching behavior (FET current and voltage) to be sure that the circuit doesn't involve additional switching losses, due to diode reverse recovery, slow switching caused by unsuitable gate signals or whatsoever.