[solved]UART message detection using CTI Interrupt

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by crudo on Tue May 14 11:59:36 MST 2013


I am trying use the UART CTI Interruption to detect if a message has been received.

I set the FIFO Trigger level to 8 bytes. So, when a message of length less than 8 bytes is received the CTI Interrut is generated, so all fine here. When a non-8bytes-multiple message is received (e.g.: 18 bytes) all fine too: one RDA Interrrupt with 8 bytes, another RDA Interrrupt with 8 bytes and one CTI interrupt with 2 bytes. The issue is when a 8bytes-multiple message is received. In this last case all interrupts received are RDA, because this fit right with FIFO length.

My question is if there is any way to workaround this feature of LPC, and always receive a CTI interrupt when 3.5 character timeout has reached.