Skip to main content

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 79.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. SD Association: https://www.sdcard.org/. Accessed: June 4, 2021

  2. Griffith, J.: https://e2e.ti.com/blogs_/b/industrial_strength/posts/the-inner-workings-of-a-can-bus-driver. Accessed: June 4, 2021

  3. ISO: Road vehicles – Controller area network (CAN) – Part 1: Data link layer and physical signalling, ISO 11898-1:2015 edn. (2015)

    Google Scholar 

  4. Murphy, R.: USB 101: An Introduction to Universal Serial Bus 2.0. Cypress, an57294 edn.

    Google Scholar 

  5. Pazul, K.: Controller Area Network (CAN) Basics. Microchip, an713 edn. (1999)

    Google Scholar 

  6. Philips Semiconductors: I2S bus specification (1996)

    Google Scholar 

  7. STMicroelectronics: STM32F427xx STM32F429xx, docid024030 rev 10 edn. (2018)

    Google Scholar 

  8. STMicroelectronics: STM32Cube USB Device Library, um1734 edn. (2019)

    Google Scholar 

  9. Ünsalan, C., Gürhan, H.D., Yücel, M.E.: Programmable Microcontrollers: Applications on the MSP432 LaunchPad. McGraw-Hill (2018)

    Google Scholar 

  10. Ü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)

    Google Scholar 

  11. USB: https://www.usb.org/. Accessed: June 4, 2021

Download references

Author information

Authors and Affiliations

Authors

8.1 Electronic supplementary material

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics