Abstract
Digital communication handles operations to transfer data between a transmitter and receiver(s). As the name implies, the transmitter is the device sending data. The receiver is the device receiving data. The transmitter and receiver can both be microcontrollers or a microcontroller and external peripheral unit. We will consider digital communication operations in this chapter. While doing so, we will start with fundamental definitions. Then, we will handle the most important digital communication types as UART, SPI, I2C, CAN, and USB. We will explain each type starting from its working principles from a general perspective. Then, we will base our setup and usage examples in C, C++, and MicroPython languages in the STM32F4 microcontroller. We will also introduce other digital communication types as secure digital input and output and inter-IC sound. As the end of the chapter application, we will add digital communication ability to the robot vacuum cleaner developed throughout the book.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
SD Association: https://www.sdcard.org/. Accessed: June 4, 2021
Griffith, J.: https://e2e.ti.com/blogs_/b/industrial_strength/posts/the-inner-workings-of-a-can-bus-driver. Accessed: June 4, 2021
ISO: Road vehicles – Controller area network (CAN) – Part 1: Data link layer and physical signalling, ISO 11898-1:2015 edn. (2015)
Murphy, R.: USB 101: An Introduction to Universal Serial Bus 2.0. Cypress, an57294 edn.
Pazul, K.: Controller Area Network (CAN) Basics. Microchip, an713 edn. (1999)
Philips Semiconductors: I2S bus specification (1996)
STMicroelectronics: STM32F427xx STM32F429xx, docid024030 rev 10 edn. (2018)
STMicroelectronics: STM32Cube USB Device Library, um1734 edn. (2019)
Ünsalan, C., Gürhan, H.D., Yücel, M.E.: Programmable Microcontrollers: Applications on the MSP432 LaunchPad. McGraw-Hill (2018)
Ünsalan, C., Yücel, M.E., Gürhan, H.D.: Digital Signal Processing using Arm Cortex-M based Microcontrollers: Theory and Practice. Arm Education Media (2018)
USB: https://www.usb.org/. Accessed: June 4, 2021
Author information
Authors and Affiliations
8.1 Electronic supplementary material
Rights and permissions
Copyright information
© 2022 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Ünsalan, C., Gürhan, H.D., Yücel, M.E. (2022). Digital Communication. In: Embedded System Design with ARM Cortex-M Microcontrollers. Springer, Cham. https://doi.org/10.1007/978-3-030-88439-0_8
Download citation
DOI: https://doi.org/10.1007/978-3-030-88439-0_8
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-88438-3
Online ISBN: 978-3-030-88439-0
eBook Packages: EngineeringEngineering (R0)