If you generate the CAD output using STM32CubeMX (or download it from the ST website), the pins are completely different than the datasheet.For example, in the datasheet, for the VFBGA178 (STM32N657I0), OSC32_IN (aka PC14) is shown as pin B1 whereas ...