cancel
Showing results for 
Search instead for 
Did you mean: 

External Interrupt?

pinwu
Associate II
Posted on January 18, 2008 at 18:27

External Interrupt?

11 REPLIES 11
16-32micros
Associate III
Posted on May 17, 2011 at 12:21

This remember me this Post :

http://www.st.com/mcu/forums-cat-6183-23.html

It seems that Documenation ( Reference Manual) is not very clear on this point for all of you ! :-[

[ This message was edited by: STOne-32 on 18-01-2008 11:27 ]

pinwu
Associate II
Posted on May 17, 2011 at 12:21

I 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_PinRemapConfig(GPIO_Remap_USART2, ENABLE);

// GPIO_PinRemapConfig(GPIO_Remap_SPI1, ENABLE);