I configure LPUART with Idle line interrupt (CTRL[ILIE] is set to 1, CTRL[ILT] is set to 1, CTRL[IDLECFG] is set to 011b). And also enable DMA request.
The size of my recieve buffer was set to 10 bytes, When I send data which size is less than 10 bytes(eg. 5 bytes) to my S32K146 board by UART, the Idle line interrupt was detected.
But the intterupt flag of STAT[IDLE] was not set.
Is there something wrong that causes the interrupt flag not to be set? Thanks!
Hi,
The driver can detect an IDLE interrupt only when the STAT[IDLE] bit is set.
Which SDK version and IDE do you use?
Have you modified the driver?
Can you share the project?
Thank you,
BR, Daniel