Skip to main content
bengtv
Associate II
June 23, 2008
Question

USART with EXTI conflict?

  • June 23, 2008
  • 5 replies
  • 1124 views
Posted on June 23, 2008 at 05:43

USART with EXTI conflict?

    This topic has been closed for replies.

    5 replies

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

    Problem solved by initiating the USART before EXTI interrupt.

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

    Check this

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

    bengtv
    bengtvAuthor
    Associate II
    May 17, 2011
    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
    May 17, 2011
    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.

    bengtv
    bengtvAuthor
    Associate II
    May 17, 2011
    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.