|
byte collisions through rs232 comms
Hello I hope someone can advise with this. I writing data out of the rs232 port to a peripheral board. On debugging I've found that I've got problems due to the data getting scrambled, due I think to bytes colliding (in the UHART), I know this as if I do a sleep(1) between bytes it works okay. Is there a command which will make my data wait before each write call?
I'm using fairly low data rates 9600,no parity,1 stop bit, no handshake. This is what the comms to the board need to be.
I'm using a write function to write to the port. Thanks
|