2018-03-29 4:41 PM
I am on using selected pins in SPI1 on Port A in STM32F405. Can I used my unused MOSI pin as Analog input channel?
2018-03-30 3:05 AM
Yes.
JW
2018-03-30 10:23 AM
Thank you for confirming. I believe same is true for PC15 /OSC32_O and
PC14 /OSC32_I.
2018-03-30 2:16 PM
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.
JW
2018-04-11 10:53 AM
Thanks
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.