A gate driver ensures that a high switching signal is converted into the proper gate to source voltage, ensuring that the signal will actually switch the MOSFET transistor to ON or OFF state. The gate driver should be connected as follows: dp - PWM modulator's positive pin dn - PWM modualtor's negative pin gp - MOSFET's gate pin tn - MOSFET's source pin