Some trouble for drive a MOSFET(IRF540N) with driver(TC4427) (overheating)
Examine the datasheet for TC4427, and you'll see some hysteresis in the "schematic". A hysteresis of 0.3 volts is not a strong barrier to oscillation, when 1.5 amps/15nanoseconds thru 10nH produces ONE VOLT of ground bounce. 

Build this combined circuit ONLY ON A GROUND plane. 

Have the high voltage bypassed to the GROUND PLANE; ONLY TO THE GROUND PLANE; do not share any return paths between the high voltage and the MCU VDD or GND. 

Just some thoughts, from someone who understands how to make FETS and FET drivers self-destruct.