AnsweredAssumed Answered

STM32L151CB OSC32 GPIO PC14 PC15 usage

Question asked by fdez.pablo on Jun 23, 2012
Latest reply on Mar 14, 2014 by Aaron Clarke
Hello to everybody,

I am trying everything to be able to use the PC14 and PC15 pins as digital outputs, but I can't get it at all. 

Obviously I'm not using the LSE.
Both pins aer conected  to two MOSFET gates respectively, so there is barely power consum (I'm not trying to drive a LED or anything like that)

The information found in the documentation is very, very poor and in the forums isn't more useful.

I have assumed that the LSE is off once I turn on the uC and just defining the pins as outputs and using the GPIO_SetBits doesn't work.

I have assumed that the LSE is on once I turn on the uC. I inicialized APB1_PWR clock. I enabled the RTC access and I disabled the LSE clock security system and I turned off the LSE explicitly.

I think I've tried all the likely combinations and I keep on failing. I`m missing something but I dont realize what is it. I hope you could help me. Thanks in advance.

Regrads.

Outcomes