AnsweredAssumed Answered

Character match interrupt

Question asked by massimi.federico.001 on Mar 17, 2017

Hello,    

   I'm going to use the "Character match interrupt" to identify the end (\n) of the message received from an USART. (on an STM32L4 Series ).

Since I am quite new to this world, I did various tests, but I could not make it work.

Could someone tell me the necessary steps to use this interrupt, starting from the code generated by CUBEMX.

I want the USART receives in an oversized buffer, and when it receives the character '\n' is called an interrupt routine in which I read the contents of the buffer,  and so on in an infinite loop.

 

someone can help me?

thanks in advance

Outcomes