How long are your wires between the hcpl and the gate? How are you doing the supply voltage for the hcpl output? Please show the complete schematic.
Also, why do you have a 220nF cap across the gate? That makes no sense and sure will ruin your edges.
Also, why do you have a 220nF cap across the gate? That makes no sense and sure will ruin your edges.