We are working KL27 series SOC . We are using LPUART module for one of peripehrial .
We need to implement the in the LPUART module in interrupt mode i.e. if some data arrived at the LPUART buffer ,
interrupt for LPUART will be raised .
We have done with adding the LPUART component with following configuration
a. Enabled the RX interrupt .
b. Enabled the RX callbacks with user buffer as "char bufferr" .
c. Toggle the LED in the RX Callback .
Currently the RX callback is called for each byte . So if the peripheral is sending multiple data bytes we are receiving multiple interrupts .
Our expectation is to call the RX callback function when the data buffer is full i.e. if at least 500 bytes are received by LPUART .
We also checked the Component configuration in the KDS but there is no such configuration to set the buffer size for triggering the RX callback.