Fundamentals of serial communication