AnsweredAssumed Answered

UART RX interrupt routine

Question asked by serao.pietro on Jan 9, 2013
Latest reply on Jan 9, 2013 by Clive One
Good morning, i'm using a STM32F0discovery board, i'm developing an application that read and write informations on UART2 port, i'm using only TX and RX pins (PA2 and PA3).
Well, at this time my application ask me what i want to write, than i insert an input string and the mcu sends it on UART correctly.
Now i need to know how i can develop the reception procedure using reception interrupt, because i don't know when the other side sends the informations.
In other words i need to develop a function that when the UART receives something on RX pin than the micro stores it in a string and show me what it receives.
Do you have suggestions or guidelines, please?

Thanks.

Outcomes