Draft:TI MSPM0

TI MSPM0
DesignerTexas Instruments
Bits32-bit
Introduced2023
VersionARM Cortex-M0+
EndiannessLittle

MSPM0 is a family of 32-bit microcontroller integrated circuits by Texas Instruments, and based on the 32-bit ARM Cortex-M0+ processor core[1].

It is their second ARM-based product extending their 16-bit MSP430 line, with a larger address space for code and data, after the MSP432 family that was deprecated in 2021.[2] Like MSP430 and MSP432, this family has internal peripheral devices, and is designed for low power requirements. It is simpler, inexpensive, and includes very small, millimeter-sized packages.[3][4]

Families

[edit]

The MSPM0 has three family variants:[5]

Feature MSPM0C MSPM0L MSPM0G
Variation Entry level Low power Advanced
CPU clock (max) 24 MHz 32 MHz 80 MHz
Current (standby) 5 μA 1.5 μA 1.5 μA
Flash memory 8 to 16 KB 8 to 512 KB 16 to 512 KB
SRAM memory 1 KB 2 to 32 KB 16 to 128 KB
Package pins 8 to 20 16 to 80 20 to 100
GPIO pins 6 to 18 13 to 73 16 to 94
Analog 1x 1.5Msps 12-bit ADC 1x 1-Msps 12-bit ADC
1x high-speed comparator
2x op amps
2x 4-Msps 12-bit ADC

3x high-speed comparators
2x op amps
1x 12-bit DAC

Communication
(max)
1xSPI
1xI2C
1xUART
1xSPI
2xI2C Fast+
2xUART (LIN)
2xSPI
2xI2C Fast+
4xUART (LIN)
1xCAN-FD
Timers 3 4 7
Advanced Timers 1 No 2
Hardware Accelerator N/A N/A Optional
Security CRC CRC CRC, TRNG, AES256

The lowest end MSPM0C1103 bulk price is 16 US cents, and even the largest advanced models are around a dollar.[6] The MSPM0C1103/4 manual page also mentions two parts designated MSPS003F3 and MSPS003F4 that seem to be almost identical; they seem to be recommended as replacements for STM8[7].

The fourth digit of the part number (e.g. MSPM0C110n ) denotes the flash size, which can be calculated as 2n kB:

...3 ...4 ...5 ...6 ...7 ...8 ...9
8kB 16kB 32kB 64kB 128kB 256kB 512kB

The amount of RAM tends to be between 1/8 and 1/16 of the flash size for the low-end models, and 1/2 to 1/4 of flash for the high end.

Unlike MSP432 Cortex-M4F, MSPM0 CPU does not implement floating point instructions. However, the G variant has a math coprocessor (MATHACL) that processes 32- and 64-bit fixed point numbers with dynamically selectable integer/fractional configuration.

The low power modes, including the shutdown mode, can be interrupted by I/O wakeups. Typical power consumption numbers are [8]

Run Sleep Stop Standby Shutdown
85 μA/MHz 200 μA @ 4 MHz 50 μA @ 32 kHz 1.1 μA 50 nA

The CPU clock can be sourced from an internal high speed oscillator or an internal 32kHz oscillator.

The packages range from 8 pins (DSBGA, VSON, SOT) to 100 pins PQFP. The smallest DSBGA package is the size of a 0603 resistor (1.6 mm by 0.86 mm).

The power supply voltage range is 1.62 to 3.6V and the common operational temperature range is -40 °C to 125 °C An optional postfix -Q1 denotes a part with an automotive qualification.

Peripherals

[edit]

Depending on package, there are between 6 and 94 GPIOs. All GPIO are qualified as 5V-tolerant.

All parts have a 12-bit successive-approximation ADC, between 1 and 7 UARTS, and between 1 and 3 I2C and SPI peripherals. Some parts include CAN bus interface. The UARTs support LIN, IrDA, DALI, smart card, Manchester and low-power operation in STANDBY mode.

The high precision analog peripherals include zero-drift zero crossover operational amplifiers, and high-speed comparators and DACs, as well as an integrated voltage reference and temperature sensors.

The DMA controller and advanced timers help offload CPU from routine data transfer and timekeeping tasks. There is a watchdog timer peripheral as well as a dedicated simple beeper oscillator.

Hardware development platforms

[edit]

There are three LaunchPad development boards, one for each subfamily: LP-MSPM0C1104, LP-MSPM0L1306 and LP-MSPM0G3507. They have an USB interface to an on-board XDS110 SWD/JTAG development tool, connected to the respective target MCU.

Development tools

[edit]

Cortex-M0+ is supported by Open Source tools: GCC and LLVM, using CLI as well as VSCode, and openOCD/gdb.

TI provides proprietary MSP Zero Code Studio[9] and Code Composer Studio, as well as middleware libraries for specialized tasks such as FOC motor drivers.

The parts are supported by FreeRTOS and Zephyr realtime operating systems.

See also

[edit]

References

[edit]
[edit]