Accoding to data sheet the used inputs should be compatible with 5V. When I drive this inputs with a logic gate supplied by 5V sometimes the Signal is pulled down to arond 1.3V and latches at this state. The driver (logic gate) gets hot. The micricontroller gets warm but still runs. When i stop the debugger and check the statuf of the GPIO registers these inputs are still programmed as inputs. That happens randomly on inputs: PB2, PB6, PF2, PF4. Sometimes on 1 input and sometimes on 2 inputs at the same time.
Any Idea what could be wrong or what coud be checked?