GitHub Digital Lab

Hardware / No radio: small chips / Step 3 of 6

LP-MSPM0L2228 (MSPM0L2228)

The MSPM0L2228 is a microcontroller in TI's MSPM0 family: 32 MHz Arm Cortex-M0+, 256 kB of flash, 32 kB of RAM.

Drag to turn, scroll to zoom. Tap a part or a pin.

Quick facts

BoardLP-MSPM0L2228
ChipMSPM0L2228
CoreCortex-M0+
Clock32 MHz
Flash256 kB
RAM32 kB
RadioNone
Notable peripheralsSegment LCD controller (up to 8 x 51 segments), glass on the board; VBAT island: RTC, tamper pins, 32-byte backup memory, super-capacitor charger; AES (GCM, CCM, CBC, CTR) with four-key storage, TRNG, CRC-16 and CRC-32; 12-bit ADC 1.68 Msps, up to 26 channels; comparator with 8-bit DAC; 5 UART (two with LIN, IrDA, DALI), 2 I2C, 2 SPI; 7 DMA channels; 106 uA/MHz run (data sheet CoreMark figure)
On-board debug probeBuilt into the board
Zephyr board namelp_mspm0l2228
Where to buyTI.com
Toolchains that ranTI compilers

Get it running

  1. Tools: MSPM0 SDK 2.11.00.07, TI Arm Clang 5.1.1.LTS, SysConfig 1.28.0, DSLite from CCStudio 21.0.1
  2. Connect: Check xdsdfu -e first; DSLite refuses firmware 3.0.0.28
  3. Build TI's blink: mspm0g3507/mcu-bench/sdk-common/sdkmake.sh gpio_toggle_output/ticlang, 2.5 to 3.6 s (test blink_build)
  4. Flash: mspm0l2228/bench/dsflash.sh <image.out>
  5. Read a result: mspm0l2228/bench/dsread.sh <address> <words>; reads do not reset the chip and each takes about 2 s

Every step, with the setup: the board's README.

What works

  • CoreMark: 74.58 (2.331 per MHz) (TI Arm Clang, bare metal, -O3; 32 MHz; 3 runs)
  • Interrupt latency, pend to first handler line: 33 cycles (bare metal; 32 MHz; 3 runs)
  • GPIO toggle: 1.0 cycles (32 MHz; 3 runs)
  • Room-occupancy AI model, one inference: 9.44 ms (-O3; 32 MHz)
  • Vendor examples that build from a terminal: 96.6% (TI Arm Clang)

Download every result for this board (CSV), or open this board on the Benchmarks page.

What you can build

Blink an LEDWorks · 2.5 s for TI's blink example
Run an edge AI model on the chipWorks · 9.4 ms per answer, fastest build on this chip
Recognize handwriting with Edge AIWorks · 13.8 ms to read one digit
Measure how fast a chip runsWorks · 74.58 CoreMark score at the board's top clock
Build and flash from the terminalWorks · 172 of 178 build TI examples built
Print a message from the board on your computerWorks · 4.5 s
Dim an LED or move a servoCould work · 499 of 2000
Read a knob or a voltageCould work · 3.3 V

Want wireless? Try the LP-EM-CC2340R5 for Bluetooth, Zigbee or Thread or the LP-EM-CC35X1 for Wi-Fi.

Fixes

Every fix for this board in its FAQ

For AI assistants

Point your assistant at this board's AGENTS.md (build, flash and fix notes) and the repository's llms.txt (the index).

Sources: mspm0l2228/README.md, mspm0l2228/AGENTS.md, mspm0l2228/FAQ.md, data/results/mspm0l2228.csv, site/data/portfolio.json, site/data/projects.json.