GitHub Digital Lab

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

LP-MSPM0G5187 (MSPM0G5187)

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

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

Quick facts

BoardLP-MSPM0G5187
ChipMSPM0G5187
CoreCortex-M0+
Clock80 MHz
Flash128 kB
RAM32 kB
RadioNone
Notable peripheralsTinyEngine NPU, 2.56 GOPS at 80 MHz (CNN, 8/4/2-bit weights); USB 2.0 full speed, crystal-less device mode; I2S/TDM audio; 12-bit 1.6 Msps ADC, up to 26 channels; AES with GCM/CCM; board adds microphone, audio ADC, microSD slot
On-board debug probeBuilt into the board
Where to buyTI.com
Toolchains that ranTI compilers, GCC, Zephyr, FreeRTOS, Arduino, MicroPython

Get it running

  1. Plug the board into your computer with its USB cable. No driver to install.

  2. In Chrome or Edge, open the browser bench and click Connect.

    Open the browser bench

  3. Pick Blink LED2 red: 150, 150, 150, 900 ms and click Flash. The page writes it to the board.

    You should see: LED2 red (PA17) flashes twice, then pauses.

    J12 [2:1] populated for red; J13 [2:1] populated for green; J11 [2:1] populated for blue (TI's example README)

What works

  • CoreMark: 182.79 (2.285 per MHz) (TI Arm Clang, bare metal, -O3; 80 MHz; 3 runs)
  • Board-to-board radio round trip: 7.1 ms (bare metal, Zephyr; 80 MHz; 11 runs)
  • Radio command to state change, median: 3,010 ms (80 MHz)
  • Interrupt latency, pend to first handler line: 36 cycles (bare metal; 80 MHz; 3 runs)
  • GPIO toggle: 1.0 cycles (-O2; 80 MHz; 3 runs)
  • Blink image size: 528 B of flash, 256 B of RAM (bare metal)
  • Room-occupancy AI model, one inference: 1.292 ms (-O2; 80 MHz; 3 runs)
  • Control loop, trigger to new PWM value: 26.27 µs (-O2; 80 MHz; 3 runs)
  • 256-point complex FFT: 0.918 ms (-O3; 80 MHz; 3 runs)
  • AES-128: 9.39 cycles/B in hardware (TI Arm Clang, -O2; 80 MHz; 3 runs)

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

What you can build

Blink an LEDWorks · 5.3 s for TI's blink example
Run an edge AI model on the chipWorks · 3.9 to 129.4 ms per answer on the neural network accelerator (plain C: 3.9 ms)
Recognize handwriting with Edge AIWorks · 34.4 ms to read one digit
Measure how fast a chip runsWorks · 182.8 CoreMark score at the board's top clock
Measure how fast a chip reactsWorks · 36 to 40 cycles from interrupt to first instruction
Build and flash from the terminalWorks · 4.8 s TI examples built
Print a message from the board on your computerWorks · TI's UART console example printed its banner and a counting line over the board's USB serial
Send sensor readings between two boards by radioWorks · 6 h 15 min
Run FreeRTOS on a LaunchPadWorks · 51 tasks
Run Arduino's own sketches on a TI chipWorks · 2.8 kB
Program a TI chip in Python (MicroPython)Works · 74.6 kB
A Lisp prompt on a LaunchPadWorks · 7.5 s
Walkie-talkie over a 915 MHz radioWorks · 99.2 ms
Sub-1 GHz home radio demosWorks · 21 ms
Read six sensors on one plug-in boardCould work · Humidity and temperature, light and the magnet sensor read live
Measure how far a radio reachesCould work · 658 of 21
Detect a smoke alarm's beeps with a microphoneCould work · 9.4 s
Post-quantum on every boardCould work · 25 ms

Ports and wired builds

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

Fixes

  • If you see "OK Kilby" never lights the LED, stack a BOOSTXL-EDUMKII, or use the I2S port in mspm0g5187/wakeword/ (its microphone run needs the radio wires off header J20).
  • If you see the program waits forever on tvmgen_default_finished, flash with DSLite so the image starts itself, then halt and read without a reset.
  • If you see adc12_monitor_supply reads codes of 540 to 674 that drift, do not use this example to read the supply on this board; the G3507 reads a steady 1,796 to 1,797.
  • If you see Debugger shows SYSCFG_DL_SYSCTL_CLK_init and nothing happens after a good flash, skip those examples.
  • If you see GCONV layer NOT offloaded to TI-NPU, accept it.
  • If you see scan=none from the Sensors BoosterPack, unplug USB, press the BoosterPack straight down so its pin 1 (3V3) sits in J1 pin 1, replug.
  • If you see tmp117=none with the ribbon cable in, try a second cable or another LaunchPad.
  • If you see I2C scan shows every address from 08 to 77 after plugging the flat cable, unplug USB, turn the cable around, push both ends in and press the latches flat.

Every fix for this board, with the exact error text

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: mspm0g5187/README.md, mspm0g5187/AGENTS.md, mspm0g5187/FAQ.md, data/results/mspm0g5187.csv, site/data/portfolio.json, site/data/projects.json, site/data/ports.json.