[image]file:///C:/Users/czizoua/Desktop/data%20RX2.PNG[/image]
Hello,
Thank you for your response and help!
In my application, I have to read (RECEIVE USART) the data in interrupt mode and display it on the LCD screen.
My data contain 0x 0D and 0x0A (
CRLF ) in the middle and in the last of message! so i need to detect the last 0x0a to reset the buffer!
Example of my data received:
12/34/56/78/90/0x0d/0x0A/98/76/54/32/0x0d/0x0A (received each 400 ms)
So, I implemented this detection directly in the interruption detection file. ''interrupt_manager.c''
I chave deleted the function EUSART1_RxDefaultInterruptHandler(); = I don't use USART.C file that contains the following functions:
uint8_t EUSART2_Read(void)
void EUSART2_Receive_ISR(void)
void EUSART2_RxDataHandler(void)
Really I don't know if is the good way but my USART interrupt works very well.
Regards
Attached Image(s)
