I configured an RX interrupt for LPUART1 as below. However, I am seeing that interrupt occurs only once even though data keeps coming to the every seconds. It appears the interrupt is disabled once the my buffer is full? but I tried to enable it after every read and still could not have it trigger again. Any comments please!
/* If new data arrived. */
data = LPUART_ReadByte(LPUART1);
BarCodeRxBuff[rxIndex] = data;
if(rxIndex==BUFFER_SIZE) //buff size is 9