Send any file from raspberry pi to LPC1768 using serial communication. I need some examples .
So what have you tried so far?
Where are you stuck?
Have you looked at X/Y/Z-MODEM ?
https://www.avrfreaks.net/forum/xmodem-question
Remember that a UART neither knows nor cares what it's connected to - all that matters is that it has the right signal levels, and is at the right baud rate (and parity, number of data bits, number of stop bits, etc):
https://www.avrfreaks.net/comment/3105751#comment-3105751