Here is an example someone uploaded that will do what you want: https://community.cypress.com/external-link.jspa?url=http%3A%2F%2Fwww.cypress.com%2Fcomment%2F389231%23comment-389231
But for a description of how to implement it from scratch:
Setup an ISR.
Associate the ISR with the UART component.
Handle clearing the interrupt flag in the ISR, and reading data into a buffer.
In main code, check if you have data available in the buffer you are reading into, and use the data as your application determines.
Thank you very much !
It exactly what I need. I checked and it work.
You're best !!!