AnsweredAssumed Answered

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

Question asked by toan.nguyen on Aug 7, 2014
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

Attachments

Outcomes