i am using Ir2112 to drive mosfet, i measured between Ho and Vs which is (Vgs ) and it was 12 volt but the signal wasn't pure square there were a little Curvature in the up side and low side of the pulse . i don't know if this curvature is normal or i can enhance the circuit performance to get it pure square .I sent you the complete circuit for dc-dc buck converter which is drived by micro controller , i attached the a picture for the wave
the value of gate resistance is 22 ohm and a 2 K ohm resistance from gate to source . this is pwm signal and it is good when i measured it from Ho to ground