Skip to Main Content
Debugging Embedded and Real-Time Systems
book

Debugging Embedded and Real-Time Systems

by Arnold S. Berger
July 2020
Intermediate to advanced content levelIntermediate to advanced
302 pages
8h 29m
English
Newnes
Content preview from Debugging Embedded and Real-Time Systems

11: Serial communication systems

Abstract

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.

Keywords

RS-232; USB; I2C; SPI; CAN; SCL; SDA; MOSI; MISO

Introduction

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Real-Time Embedded Systems

Real-Time Embedded Systems

Xiaocong Fan
Real-Time Embedded Systems

Real-Time Embedded Systems

Ivan Cibrario Bertolotti, Gabriele Manduchi

Publisher Resources

ISBN: 9780128178126