July 2020
Intermediate to advanced
302 pages
8h 29m
English
This chapter looks at the basic serial communications that are found in real-time systems, including RS-232C, I2C, SPI, and CAN bus. It provides an overview of each protocol and the common sources of errors and how to find them.
RS-232; USB; I2C; SPI; CAN; SCL; SDA; MOSI; MISO
For many years, debugging serial communications issues in embedded systems generally boiled down to debugging the vagaries of the RS-232 protocol. Surprisingly, this is still true today because RS-232C is the most basic and fundamental of the serial communications protocols and is generally rather bulletproof. Debugging typically involved getting the baud rates to properly match or messing around with ...