title: How to use a serial port to communicate with an RFID reader
body: <p>I am beginner, 
  I have enabled the uart2 by using the make menuconfig in my linux source. I am using LPC1788 cortex m3, in that uart tx is connected to P0.10 and rx to P0.11,
  I want to utilize the uart to read the RFID card using SL031 (<a href="http://www.stronglink-rfid.com/download/SL031-User-Manual.pdf" rel="nofollow">http://www.stronglink-rfid.com/download/SL031-User-Manual.pdf</a>) reader, which will be connected to rx and tx pins that means P0.10 and P0.11. please guide me how to read the RFID and save the the data received.
  by enabling the the uart I have tested the uart working by shorting tx and rx,now i want to connect the reader to those tx and rx and read the data. how can i do this.</p>