2021-03-25 04:07 AM
HI,
i am new to STM32 controllers.
i am using STM32L151RCT6 MCU in STM cube IDE
Just i am trying to use PC14-OSC32_IN pin as input for external IRQ for falling edge configuration ..
I not got the proper result , so just i configured that GPIO as input and connected to one switch and checking 0 and 1 status when switch is pressed and released.
i am not getting change in status of GPIO after pressing switch and releasing.
if i not enabled internal pull up/pull down it is continue LOW(0);
if i enabled internal pullup it is continue HIGH(1), even i connected to GND also it is showing HIGH(1).
I got PC14 is connected to LSE(crystal), but i am enabling PLL clock.
How i can use PC14 for my application??
please help me any one
2021-03-25 07:01 AM
Don't enable LSE. Check, if it's not enabled, in RCC_CSR.LSEON.
Make sure the given pin is not connected to any onboard resource - check the related jumpers and solder bridges, according to Nucleo manual and/or schematics.
JW