First : do you use a level-shifter (Max232 or similar) to convert the 0-5V fromPSoC to +- 12V used for the serial interface on a PC?
It looks a bit that your Baud-rate is off the usual settings. I would prefer to use a 16-bit timer to generate baud-rate, makes you a bit independant from the VC1,2 and 3 dividers.
You are using the command-feature implemented in software which is (yet) no longer supported in PSoC3 and 5. This feature "eats" some of your characters you type which you may not want. I would suggest to try:
Disable the RxCmdBuffer
Do not enable the Interrupt.
Remove all references to CmdReset()
Do not test the status for a hex-value, use RX8_RX_COMPLETE instead, this helps when using different hardware.
Hope that helps
Serial_comm_2a.zip 119.5 K
1 of 1 people found this helpful
I just see, I have forgotten to disable the command-buffer.