LPC55S28 UART RX IDLE INTERRUPT

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC55S28 UART RX IDLE INTERRUPT

112 Views
playbear
Junior Contributor I

Hello,NXP!

 I'm using LPC55S28 in my project,and I find that LPC55S28 DO NOT SUPPORT uart rx idle interrupt or Character Time-out Indicator (CTI) like LPC1768???

 for example , if I set 15 to rx fifo trig level , I send only 1 bytes to LPC55S28, how do I know there is 1 byte data in rx fifo?No way to notice/trig user application to know there is 1 byte in rx fifo?What I can do is polling the fifo stat all the time?

Please help me, give me some better ideas?Thank you.

Labels (1)
0 Kudos
Reply
1 Reply

90 Views
danielholala
Senior Contributor II

With LPC55xx having no support for RX TIMEOUT, you are best of with reading single bytes only. I'm successfully using USART_TransferReceiveNonBlocking() requesting only 1 byte at at time. 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2294943%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELPC55S28%20UART%20RX%20IDLE%20INTERRUPT%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2294943%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2CNXP!%3C%2FP%3E%3CP%3E%26nbsp%3BI'm%20using%20LPC55S28%20in%20my%20project%2Cand%20I%20find%20that%20LPC55S28%20DO%20NOT%20SUPPORT%20uart%20rx%20idle%20interrupt%20or%26nbsp%3BCharacter%20Time-out%20Indicator%20(CTI)%26nbsp%3Blike%20LPC1768%3F%3F%3F%3C%2FP%3E%3CP%3E%26nbsp%3Bfor%20example%20%2C%20if%20I%20set%2015%20to%20rx%20fifo%20trig%20level%20%2C%20I%20send%20only%201%20bytes%20to%20LPC55S28%2C%20how%20do%20I%20know%20there%20is%201%20byte%20data%20in%20rx%20fifo%3FNo%20way%20to%20notice%2Ftrig%20user%20application%20to%20know%20there%20is%201%20byte%20in%20rx%20fifo%3FWhat%20I%20can%20do%20is%20polling%20the%20fifo%20stat%20all%20the%20time%3F%3C%2FP%3E%3CP%3EPlease%20help%20me%2C%20give%20me%20some%20better%20ideas%3FThank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2294943%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3ELPC55xx%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2295132%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LPC55S28%20UART%20RX%20IDLE%20INTERRUPT%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2295132%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWith%20LPC55xx%20having%20no%20support%20for%20%3CSTRONG%3ERX%20TIMEOUT%3C%2FSTRONG%3E%2C%20you%20are%20best%20of%20with%20reading%20single%20bytes%20only.%20I'm%20successfully%20using%26nbsp%3B%3CSPAN%3EUSART_TransferReceiveNonBlocking()%20requesting%20only%201%20byte%20at%20at%20time.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E