Question
STM32L011F4: GPIO configuration after reset(not programmed)
Posted on June 25, 2018 at 20:08

Hello,
I have the problem that apparently PA9 is in HIGH state after applying the supply voltage to my circuit.

The problem is, that it is connected to the gate of a N-Channel FET which you can see in this image shorts the supply voltage to ground right from the start, making it unable to communicate with the MCU.

I searched in the reference manual but from my understanding that very pin should be in Reset start after power up with no pull up/down.
In the Alternate functions section for that pin it seems that it has AF0 as reset function which is related to ''MCO'', which means that a clock is output on that pin. But in RCC_CFGR it is stated that in reset state there is no clock output on that pin.So can anyone tell me why there's VDD present on PA9?
Thanks in advance.
Hannes
#reset #stm32l011