As can be seen from your measurement, when the MCU is used as input, the VBS voltage is only 0.1V, which means the high side circuit do not get enough supply from the bootstrap capacitor. The...