Skip to main content
jgauthier
Senior
December 2, 2021
Question

STM32L432 using PC14/PC15 as GPIO Output

  • December 2, 2021
  • 3 replies
  • 1160 views

I set these as GPIO outputs, but turning them on seems to be ignored. I read somewhere that LSE should be off to use these, and it is turned off, as I can see it in STM32CubeMX.

Is there something else I need to do to use these 2 pins as GPIO outputs?

This topic has been closed for replies.

3 replies

jgauthier
jgauthierAuthor
Senior
December 2, 2021

I'm using an Nucleo board, and I see from the schematic that there are some 0ohm resistors that enable the external crystal.

Will look for different IO

TDK
December 2, 2021

Also be aware that PC14, and PC15 have much more limited driving capacity than other pins as they are powered from the power switch. The datasheet says you "must not" source current to drive LEDs with these.

0693W00000GZqGZQA1.png 

"If you feel a post has answered your question, please click ""Accept as Solution""."
jgauthier
jgauthierAuthor
Senior
December 2, 2021

Thanks. I've decided not use those anyway!