SLAA649G October 2014 – August 2021 MSP430F2001 , MSP430F2002 , MSP430F2003 , MSP430F2011 , MSP430F2012 , MSP430F2013 , MSP430F2013-EP , MSP430F2101 , MSP430F2111 , MSP430F2112 , MSP430F2121 , MSP430F2122 , MSP430F2131 , MSP430F2132 , MSP430F2232 , MSP430F2234 , MSP430F2252 , MSP430F2254 , MSP430F2272 , MSP430F2274 , MSP430F2274-EP , MSP430F233 , MSP430F2330 , MSP430F235 , MSP430F2350 , MSP430F2370 , MSP430F2410 , MSP430F2416 , MSP430F2417 , MSP430F2418 , MSP430F2419 , MSP430F247 , MSP430F2471 , MSP430F248 , MSP430F2481 , MSP430F249 , MSP430F249-EP , MSP430F2491 , MSP430F2616 , MSP430F2617 , MSP430F2618 , MSP430F2619 , MSP430F2619S-HT , MSP430FR2032 , MSP430FR2033 , MSP430FR2110 , MSP430FR2111 , MSP430FR2153 , MSP430FR2155 , MSP430FR2310 , MSP430FR2311 , MSP430FR2353 , MSP430FR2355 , MSP430FR2433 , MSP430FR2475 , MSP430FR2476 , MSP430FR2532 , MSP430FR2533 , MSP430FR2632 , MSP430FR2633 , MSP430FR2672 , MSP430FR2673 , MSP430FR2675 , MSP430FR2676 , MSP430FR4131 , MSP430FR4132 , MSP430FR4133 , MSP430G2001 , MSP430G2101 , MSP430G2102 , MSP430G2111 , MSP430G2112 , MSP430G2121 , MSP430G2131 , MSP430G2132 , MSP430G2152 , MSP430G2153 , MSP430G2201 , MSP430G2202 , MSP430G2203 , MSP430G2210 , MSP430G2211 , MSP430G2212 , MSP430G2213 , MSP430G2221 , MSP430G2230 , MSP430G2230-EP , MSP430G2231 , MSP430G2231-EP , MSP430G2232 , MSP430G2233 , MSP430G2252 , MSP430G2253 , MSP430G2302 , MSP430G2302-EP , MSP430G2303 , MSP430G2312 , MSP430G2313 , MSP430G2332 , MSP430G2332-EP , MSP430G2333 , MSP430G2352 , MSP430G2353 , MSP430G2402 , MSP430G2403 , MSP430G2412 , MSP430G2413 , MSP430G2432 , MSP430G2433 , MSP430G2444 , MSP430G2452 , MSP430G2453 , MSP430G2513 , MSP430G2533 , MSP430G2544 , MSP430G2553 , MSP430G2744 , MSP430G2755 , MSP430G2855 , MSP430G2955 , MSP430I2020 , MSP430I2021 , MSP430I2030 , MSP430I2031 , MSP430I2040 , MSP430I2041
The architecture and the internal state machine of the eUSCI in the FR4xx family are very similar to the USCI module in the F2xx family. However, there are many new features added in the eUSCI as well as changes made to the existing features. While most of the code is still compatible, TI recommends reviewing the register names. Table 8-2 shows most of the significant differences between the families. For more detailed information, see Migrating from the USCI module to the eUSCI module [8].
Parameter or Feature | USCI (F2xx) | eUSCI (FR4xx) |
---|---|---|
UART | ||
Enhanced baud rate generation | No | Yes |
TXEPT interrupt (similar to USART) | No | Yes |
Start edge interrupt | No | Yes |
Selectable glitch filter | No | Yes |
Interrupt vector generator | No | Yes |
SPI | ||
Enhanced baud rate generation | No | Yes |
Maximum baud rate | 4 to 6 MHz | 5 MHz(1) |
Interrupt vector generator | No | Yes |
I2C | ||
Preload of transmit buffer | No | Yes |
Clock low timeout | No | Yes |
Byte counter | No | Yes |
Multiple slave addressing | No | Yes |
Address bit mask | No | Yes |
Hardware clear of interrupt flags | Yes | No |
Interrupt vector generator | No | Yes |
The eUSCI_A module provides support for SPI (3 or 4 pin), UART, enhanced UART, and IrDA. The eUSCI_B module provides support for SPI (3 or 4 pin) and I2C.
Another significant difference for the eUSCI module in most FR4xx devices (except for the MSP430FR231x, MSP430FR211x, MSP430FR231x, MSP430FR235x, MSP430FR215x, MSP430FR267x, and MSP430FR247x) is that there is no ACLK available for the clock source. If the eUSCI clock source does not support ACLK, the eUSCI cannot work in LPM3 mode. See the clock distribution table in the device-specific data sheet for details. A workaround to allow UART or I2C to work in LPM3 mode is to route the ACLK output to the UCA0CLK or UCB0CLK pin externally. This workaround costs two GPIO pins, and it is available only with package that include an output for the ACLK signal. In MSP430FR231x devices, clock distribution is changed so that ACLK is available for the eUSCI module.
The FR4xx devices have eUSCI_A and eUSCI_B modules. See the device-specific data sheet for the number of instances of each module. Table 8-3 summarizes the pin configurations for the communication interfaces.
In MSP430FR231x devices, a pin remapping function is available for eUSCI_B0. The USCIBRMP bit in SYSCFG2 register controls eUSCI_B0 pins remapping from P1.0–P1.3 to P2.2–P2.5. Only one port can be selected and valid at one time.
In MSP430FR211x devices, the pin remapping functions are available for eUSCI_A and Timer_B. The USCIARMP bit in the SYSCFG3 register controls eUSCI_A pin remapping from P1.4–P1.7 to P1.0–P1.3. The TBRMP bit in the SYSCFG3 register controls Timer_B output pin remapping from P1.6–P1.7 to P2.0–P2.1. Only one port can be selected and valid at one time.
eUSCI_A0 | Pin of FR413x or FR203x | Pin of FR2433, FR263x, or FR253x | Pin of FR231x | Pin of FR21xx or FR2000 | Pin of FR235x or FR215x | Pin of FR267x or FR247x | UART | SPI |
P1.0 | P1.4 | P1.7 | P1.7, P1.3 | P1.7 | P1.4(1), P5. 2(2) | TXD | SIMO | |
P1.1 | P1.5 | P1.6 | P1.6, P1.2 | P1.6 | P1.5(1), P5.1(2) | RXD | SOMI | |
P1.2 | P1.6 | P1.5 | P1.5, P1.1 | P1.5 | P1.6(1), P5.0(2) | – | SCLK | |
P1.3 | P1.7 | P1.4 | P1.4, P1.0 | P1.4 | P1.7(1), P4.7(2) | – | STE | |
eUSCI_A1 | Pin of FR413x or FR203x | Pin of FR2433, FR263x, or FR253x | Pin of FR231x | Pin of FR21xx or FR2000 | Pin of FR235x or FR215x | Pin of FR267x or FR247x | UART | SPI |
Not available | P2.6 | Not available | Not available | P4.3 | P2.6 | TXD | SIMO | |
P2.5 | P4.2 | P2.5 | RXD | SOMI | ||||
P2.4 | P4.1 | P2.4 | – | SCLK | ||||
P3.1 | P4.0 | P3.1 | – | STE | ||||
eUSCI_B0 | Pin of FR413x or FR203x | Pin of FR2433, FR263x, or FR253x | Pin of FR231x | Pin of FR21xx or FR2000 | Pin of FR235x or FR215x | Pin of FR267x or FR247x | I2C | SPI |
P5.0 | P1.0 | P1.0, P2.2 | Not available | P1.0 | P1.0(1), P5.6(2) | – | STE | |
P5.1 | P1.1 | P1.1, P2.3 | P1.1 | P1.1(1), P5.5(2) | – | SCLK | ||
P5.2 | P1.2 | P1.2, P2.4 | P1.2 | P1.2(1), P4.6(2) | SDA | SIMO | ||
P5.3 | P1.3 | P1.3, P2.5 | P1.3 | P1.3(1), P4.5(2) | SCL | SOMI | ||
eUSCI_B1 | Pin of FR413x or FR203x | Pin of FR2433, FR263x, or FR253x | Pin of FR231x | Pin of FR21xx or FR2000 | Pin of FR235x or FR215x | Pin of FR267x or FR247x | I2C | SPI |
Not available | Not available | Not available | Not available | P4.4 | P2.7(1), P5.4(2) | – | STE | |
P4.5 | P3.5(1), P5.3(2) | – | SCLK | |||||
P4.6 | P3.2(1), P4.4(2) | SDA | SIMO | |||||
P4.7 | P3.6(1), P4.3(2) | SCL | SOMI |