Are you sending 127 as characters - '1' '2' '7' which is 3 bytes?
Are you using UART_GetByte recursively within the forever loop or using interrupts? Can you share the code that you are using?
You can take a look at the UART_RX example or UART_FullDuplex code examples present for PSoC 5 LP.
Sorry for the late reply, I was busy with my other project. What I'm
trying to do is send a number for example 200 from MATLAB to PSoC. I'm
using "GetByte" to receive those three digit numbers. But the problem is
PSoC is receiving just the first digit i.e 2. I'm new to PSoC, so i'm not
sure what changes needed to be made in order to receive the complete data.
Any help would be appreciated.