I'm using a STM32F030R8 and configured the pin PF0 as a GPIO-Input. But when i read the pin it is randomly 1 or 0.
The code was generated with the CubeMX SW. When i try an other pin for exsample PB1 it works fine.
The same issue i have with the STM32F302R8 board
Does anyone know this problem?