I am unable to read data from UART. I have gone through UART Example given in the site. It generates error if I open the same. Please let me know do I have to configure any thing
To better help, can you provide more details or share the PSoC Creator project? If you can describe specifically how the system is setup (identical to xxx example project in ANxxx) and how the external parts are setup (including jumpers assuming you're working off of the PSoC Development Kit (CY8CKIT-001)), etc.
Common errors I've seen include: RS232 Jumper on the PSoC Development Kit not set to the "ON" position; bit-rate mismatches between the terminal software on the PC and the UART on the device.
Let us know and we can try and help you debug.