cancel
Showing results for 
Search instead for 
Did you mean: 

USART with EXTI conflict?

bengtv
Associate II
Posted on June 23, 2008 at 05:43

USART with EXTI conflict?

5 REPLIES 5
bengtv
Associate II
Posted on May 17, 2011 at 12:37

Hello everyone!

Im having diffeculties using USART communication at the same time Im initializes one EXTI peripheral. The usart is not able to recieve any data. Tested with USART1 and USART2.

Is anyone aware how this can be?

Thanks in advance!

16-32micros
Associate III
Posted on May 17, 2011 at 12:37

Check this

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

bengtv
Associate II
Posted on May 17, 2011 at 12:37

Problem solved by initiating the USART before EXTI interrupt.

bengtv
Associate II
Posted on May 17, 2011 at 12:37

Configure the USARTS with ''USART_Init'' before using ''EXTI_Init''. I have no why this is but that solved my problems anyways.

16-32micros
Associate III
Posted on May 17, 2011 at 12:37

Hi Bengtv,

What do you mean by ''initiating the USART before EXTI interrupt'' could you share your code with us, so forum users could avoid your case if they encounter similar scenario ?

Cheers, STOne-32.