STM32 Input Pin not working
PC14 of the connector is not by default connected to the MCU.
By default the MCU pin PC14 is used as the LSE oscillator pins and connected to the 32768Hz tuning fork crystal.
There is a solder bridge SB49 to configure the connection, it is left open at the factory.