USB Serial data integrity

Status
Not open for further replies.

jmgiacalone

New member
Hello,

This may seem like a silly question, but I wanted to sanity check my thinking on this. I am currently playing with porting firmware for running a RepRap 3D printer to Teensy 3.0, in which the PC host software uses the USB Serial to send commands to the firmware. Currently, the data contains line numbers and a checksum to ensure data integrity over historically potentially noisy serial lines.

Since the USB Serial channel only presents itself as a Serial port, but is actually a proper USB channel, am I correct in thinking this error checking is redundant? In all tests to date, I've yet to find any communication errors using the USB Serial to send data to Teensy 3.0.

Thank for any advice on this.
 
Yes, USB has error checking on every packet (with automatic retransmit) and end-to-end flow control on every endpoint, so the error checking within the serial data is redundant. But it probably adds only minimal overhead.
 
Status
Not open for further replies.
Back
Top