I am on using selected pins in SPI1 on Port A in STM32F405. Can I used my unused MOSI pin as Analog input channel?
Thank you for confirming. I believe same is true for PC15 /OSC32_O and PC14 /OSC32_I.
If you don't use LSE (i.e. don't switch it on in RCC), then these two pins are free to be configured by GPIO module.
You can set them as Analog (thus switching off the digital input Schmitt trigger), but there is no connectivity from PC14/PC15 to the ADC.
If you use them as GPIO outputs, note, that they have limited drive capability - read the remark under the pins table in datasheet.
Retrieving data ...