cancel
Showing results for 
Search instead for 
Did you mean: 

ST Nucleo F401RE's PC10 keeps flip-flopping without being configured

toannds
Associate
Posted on August 07, 2014 at 18:36

Hi,

I'm newbie to STM32. I use Keil to program my Nucleo F401RE board. The program simply change the LED (PA05) blinking rate when user button (PC13) is pressed. I used HAL_SYSTICK_Callback() and HAL_GPIO_EXTI_Callback(). It works fine as expected. However, I notice that pin PC10 keep swinging low high every 2 seconds although it was not configured to do so. I removed all the code until only 3 lines like below but it still swings:

int main()

{

    HAL_Init();

__GPIOC_CLK_ENABLE();

    while(1){}

}

What's the problem with the pin?

Thanks
0 REPLIES 0