Posted on May 17, 2011 at 12:21I found that if the RCC_APB2Periph_AFIO option is used in the RCC_APB2PeriphClockCmd, the GPIO_PinRemapConfig should not be used with GPIO_Remap_USART2 and GPIO_Remap_SPI1. Hence, I commented them as follows: // GPIO_...
Posted on May 17, 2011 at 12:21Not hardware problem. It looks for me to set clock, GPIO, SPI, USART2 and external interrupts together with something conflict.