SLAA908A September 2019 – September 2021 MSP430FR2032 , MSP430FR2032 , MSP430FR2033 , MSP430FR2033 , MSP430FR2153 , MSP430FR2153 , MSP430FR2155 , MSP430FR2155 , MSP430FR2310 , MSP430FR2310 , MSP430FR2311 , MSP430FR2311 , MSP430FR2353 , MSP430FR2353 , MSP430FR2355 , MSP430FR2355 , MSP430FR2422 , MSP430FR2422 , MSP430FR2433 , MSP430FR2433 , MSP430FR2475 , MSP430FR2475 , MSP430FR2476 , MSP430FR2476 , MSP430FR4131 , MSP430FR4131 , MSP430FR4132 , MSP430FR4132
The universal asynchronous receiver transmitter (UART) interface and the inter-integrated circuit (I2C) interface are two common serial communication interfaces. They both enable communication between the MSP430™ microcontroller (MCU) and another device, such as a personal computer (PC), another MCU, or a processor. Many devices support only one or the other interface, therefore some designs require communication between devices with these different serial protocols. This application report describe a program that can convert between UART and I2C protocols. In this program, both hardware UART and I2C modes are used, which can support baud rates up to 921600 and I2C clock frequencies up to 400 kHz.