I am programming at90can128 and I "talking" with a module through UART peripheral. The receive characters received via interrupt into a ring-buffer.
Except from the UART ISR I also have TIMER ISR, ADC ISR , SPI ISR, CAN BUS ISR etc... in my code.
I encountered a weird problem : I am getting half words as a response from the module I am talking with into the ring-buffer. For example : if I am expecting for "OK\r\n", I am getting just the : "O\n" without the "k\r" in the middle as if something interrupt the uart interrupt from occurring in the middle of the line being received
Does someone encountered this problem ?