AnsweredAssumed Answered

STM32F407 Hang in GPIO A 15 Init

Question asked by Sajjad Azadfalah on Nov 30, 2017

Hello friends 

The microcontroller will hang after the following command
How can I fix this problem?

 


GPIO_InitStruct.Pin = GPIO_PIN_15;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);                     < hang here

 

 

 

Thanks

Outcomes