Skip to main content
  • 2776 Accesses

Abstract

This chapter looks at the serial communication capability of the MSP430 [1, 2, 3, 4]. Serial communication uses a single wire to send information between a transmitter (Tx) and a receiver (Rx) as a sequence of bits. This is the opposite of how we can send information as a full word using the MCU ports, which is considered parallel communication. Serial communication allows information to be transmitted using less pins compared to parallel communication, but at a slower overall information transmission rate due to only sending one bit at a time as opposed to a full word. The MSP430 contains dedicated peripherals to handle serial communication called the enhanced Universal Serial Communication Interfaces (eUSCI). The MSP430FR2355 contains four separate eUSCI peripherals called eUSCI_A0, eUSCI_A1, eUSCI_B0, and eUSCI_B1. The MSP430FR2355 supports three serial communication modes including: (1) universal asynchronous receiver/transmitter (UART); (2) serial peripheral interface (SPI); and (3) inter-integrated circuit (I2C) protocol. The eUSCI_A0 and eUSCI_A1 peripherals can be configured to support either UART or SPI. The eUSCI_B0 and eUSCI_B1 peripherals can be configured to support either SPI or I2C. This chapter gives an overview of the UART, SPI, and I2C protocols and presents how to use these communication modes on the eUSCIs within the MSP430FR2355 in C.

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

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Texas Instruments Inc (2019) MSP430FR4xx and MSP430FR2xx Family User’s Guide, Literature Number: SLAU445I, October 2014 – Revised March 2019. Retrieved from: https://www.ti.com/lit/ug/slau445i/slau445i.pdf

  2. Inc TI (2019) MSP430FR235x. MSP430FR215x Mixed-Signal Microcontrollers [device-specific data sheet], Literature Number: SLASEC4D, May 2018 – Revised (December 2019). Retrieved from: https://www.ti.com/lit/ds/symlink/msp430fr2355.pdf

  3. Texas Instruments Inc. (2019). MSP430FR235x LaunchPadTM Development Kit User’s Guide, Literature Number: SLAU680, May 2018. Retrieved from: https://www.ti.com/lit/ug/slau680/slau680.pdf

  4. Texas Instruments Inc (2015) Understanding the I2C Bus [Application Report], Literature Number: SLVA704, June 2015. Retrieved from: http://www.ti.com/lit/an/slva704/slva704.pdf

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

LaMeres, B.J. (2020). Serial Communication in C. In: Embedded Systems Design using the MSP430FR2355 LaunchPadâ„¢. Springer, Cham. https://doi.org/10.1007/978-3-030-40574-8_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-40574-8_14

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-40573-1

  • Online ISBN: 978-3-030-40574-8

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics