I've been trying to recieve data from pc hyperterminal but I don't understand how can I recieve more than one character
you should show your code.
In general, it's checking how many bytes are in the receive buffer, using this value as a loop counter and then reading out byte by byte until the loop has finished.
Since the UART sends and receives one byte at a time you have to retrieve your received message character by character. Depending on the way you use your UART there are different indicators for checking if a character is already received, in your buffer or in the FIFO. Have a deep look into the datasheet.
There is an example project essentially doing this, character for character.
Goto "File", "Example Project" -
Image did not post, now attached.
Also if connected to PC you must use a RS232 level translator, like
MAX232 or equivalent, to meet physical layer signaling voltages.
Note that the -030 DevKit already has a level translator on board (see part 4.2.8 in the user guide).
The -001 kit also has a RS232 transceiver.
Well thanks for your answers, but recieving one character I understand until now, but at the time i wanna storage tha character follow by another characther is where I don't have idea how.
Thanks for your help
When you post your complete project here we all can have a look at and see where your problems are.
Use "Creator -> File -> Create Workspace Bundle (minimal)" and then attach the resulting file with your next reply (DO NOT use chrome, that does not work).
BTW: Are you using a development kit? Which one ??
The you would create a char array, a pointer into it, and as each char is received
its deposited into array and the pointer incremente to get ready for next char. When you
get to end of array reset ptr to beginning, this creates a circular buffer. If you are sending
a line terminated message, include code to deted EOL and act on it when it occurs.
I'm really new with psoc so I have no reference about the pointer and array, do u have an example that I could use to understand hot to create the array and the pointer?