GitHub Digital Lab

Fox Red Labs / Software / Start with your code

How do I get the code I already have running on a TI board?

Coming from STM32, Arduino, ESPHome, MicroPython, Zephyr or another vendor's SDK? Pick yours below.

62 ports run on 17 TI kits and 2 other boards. 19 of these ports change another project's code: 0 merged there, 0 with a pull request open, 19 in this repository only. 13 more came from code that takes no outside changes.

Terms: vocabulary. 1 kB = 1,024 bytes. Most runs: an Intel Mac, CCStudio 21.0.1, MSPM0 SDK 2.11, F3 SDK 9.21. In Markdown: Start with your code: what ran on a TI development kit.

An ESPHome, Arduino, MicroPython or Zephyr project

Copy a card's files, run its command and compare with what you see.

Run ESPHome on Bluetooth, Thread and Wi-Fi kits

ESPHome Zigbee device CC2755P10

An ESPHome YAML with cc27xx: builds and flashes a Zigbee device that joins Home Assistant on the CC2755P10.

Kit LP-EM-CC2755P10 · Get the files

Ran The device appears in ZHA, Home Assistant's built-in Zigbee support, with an LED switch and a chip temperature sensor.

Show the command
cd ports/esphome-ti
python3.12 -m venv venv && ./venv/bin/pip install "cbor2<6" esphome==2026.9.1
./venv/bin/esphome compile frl-cc27xx.yaml
./venv/bin/esphome upload frl-cc27xx.yaml

Measured

A repeat compile takes 27 s and the image is 262.7 kB of flash with 124.4 kB of RAM free. The LED switches at a median of 85 to 92.5 ms.

Limits: Zigbee only, no Wi-Fi. After a second flash, remove the old device from Home Assistant first, or it does not rejoin.

Upstream: in this repository only; not sent to ESPHome

ESPHome Zigbee device CC2340R5

The same YAML with cc23xx: runs a Zigbee end device on the CC2340R5.

Kit LP-EM-CC2340R5 · Get the files

Ran The end device joins Home Assistant's Zigbee integration (ZHA) with an LED switch and a chip temperature sensor.

Show the command
cd ports/esphome-ti
python3.12 -m venv venv && ./venv/bin/pip install "cbor2<6" esphome==2026.9.1
./venv/bin/esphome compile frl-cc23xx.yaml
./venv/bin/esphome upload frl-cc23xx.yaml

Measured

The image is 219.9 kB of flash, with 4.0 kB of the chip's 36 kB of RAM free. Over five runs 93 of 100 commands passed.

Limits: Zigbee only, no Wi-Fi. As a router it needs the heap cut by 2 kB, and the chip temperature reads about 10 C low.

Upstream: in this repository only; not sent to ESPHome

ESPHome Wi-Fi device

A Wi-Fi ESPHome device runs on the CC35X1 with ESPHome's native API: a client on the board got 20 of 20 switch commands confirmed.

Kit LP-EM-CC35X1 · Get the files

Ran The board joins Wi-Fi after a reset and logs "[I][wifi]: Connected" on its serial port at 115200 baud.

Show the command
cd ports/esphome-ti
python3.12 -m venv venv && ./venv/bin/pip install "cbor2<6" esphome==2026.9.1
read -p "Wi-Fi name: " SSID && read -s -p "Wi-Fi password: " WIFIPW
printf 'wifi_ssid: "%s"\nwifi_password: "%s"\n' "$SSID" "$WIFIPW" > secrets.yaml
./venv/bin/esphome compile frl-cc35xx.yaml
./venv/bin/esphome upload frl-cc35xx.yaml

Measured

A repeat compile takes 23 s. A 24-hour soak confirmed 5,616 of 5,620 commands and rode out 22 access-point drops.

Limits: Home Assistant has not adopted the board.

Upstream: in this repository only; not sent to ESPHome

Run Arduino on MSPM0, MSPM33, C2000, AM243, Bluetooth, Thread and Wi-Fi kits

Arduino sketches through the Zephyr-based core: Blink and AnalogReadSerial

Arduino's stock Blink and AnalogReadSerial run unchanged on the CC2340R5 and MSPM0 G3519 through the Zephyr-based core.

Kit LP-EM-CC2340R5, LP-MSPM0G3519 · Get the files

Ran Blink toggles the board's LED pin; AnalogReadSerial prints 10-bit readings at 9600 baud on the probe's serial port.

Show the command
export AM=$HOME/zr-arduino ZP=$HOME/zephyrproject TC=$HOME/zephyr-toolchain
git init "$AM" && git -C "$AM" remote add origin https://github.com/zephyrproject-rtos/ArduinoCore-zephyr.git
git -C "$AM" fetch --depth 1 origin af5b8610f9be6d7b962e2ba6dd8e6859697c44ff && git -C "$AM" checkout FETCH_HEAD
mkdir -p "$AM/zephyr/blobs" && cp -R third-party/arduino/ArduinoCore-API/api "$AM/zephyr/blobs/ArduinoCore-API"
git -C "$AM" apply "$PWD/portability/arduino/zephyr/serial-blocking-write.patch"
portability/arduino/zephyr/build-cc2340r5.sh Blink

Measured

Images are 22.8 to 38.3 kB of flash and 4.8 to 6.1 kB of RAM. On the MSPM0 G3519, Wire reads the touch controller 100 of 100 times and SPI loopback returns 256 of 256 bytes.

Upstream: in this repository only; not sent to ArduinoCore-zephyr

Arduino display libraries and the core layer

Arduino_GFX's graphics test draws on an ST7796S screen on the MSPM0 G3507, through a 649-line Arduino API layer under the unmodified libraries.

Kit LP-MSPM0G3507, LP-MSPM0G5187 · Get the files

Show the command
portability/arduino/build.sh

Measured

Four Arduino programs built and two ran. The libraries' files are unmodified.

Limits: The touch chip answers software I2C but not the chip's I2C block. This is a layer for your own build, not an Arduino IDE board.

uLisp Lisp interpreter

uLisp, an Arduino sketch, gives a Lisp prompt on the serial port of the MSPM0 G5187, CC2340R5 and CC2755P10: 19 of 19 REPL (type-and-run loop) checks pass on each.

Kit LP-MSPM0G5187, LP-MSPM0G3507, LP-MSPM0G3519, LP-EM-CC2340R5, LP-EM-CC2755P10, LP-EM-CC35X1, am243x, LAUNCHXL-F2800137, LP-MSPM33C321A · Get the files

Show the command
ports/ulisp/build.sh

Measured

The image is 98.8 kB of flash and 23.1 kB of RAM. (tak 18 12 6) takes 7.5 s at 80 MHz.

Limits: Analog read, tone, SPI and I2C are stubs. The same source builds for the MSPM0 G3507 and MSPM0 G3519 and is flashed on the MSPM0 G5187, CC2340R5 and CC2755P10.

Upstream: in this repository only; not sent to uLisp

Run MicroPython on MSPM0, MSPM33 and Bluetooth kits

MicroPython 1.29.0 through upstream's Zephyr port CC2340R5

MicroPython's own Zephyr port runs on the 36 kB CC2340R5: a >>> prompt, with Pin, ADC, PWM, SPI and I2C from Python.

Kit LP-EM-CC2340R5 · Get the files

Ran The probe's serial port at 115200 baud shows the banner "MicroPython v1.29.0 ... zephyr-lp_em_cc2340r5 with cc2340r5" and a >>> prompt; print(1+1) prints 2.

Show the command
export MP=$HOME/micropython ZP=$HOME/zephyrproject TC=$HOME/zephyr-toolchain OUT=$PWD/out/build-mp-cc2340r5
git clone --depth 1 --branch v1.29.0 https://github.com/micropython/micropython.git "$MP"
ports/micropython/zephyr-cc2340r5/build.sh

Measured

The image is 174.8 kB of flash and 29.9 kB of RAM with a 20 kB heap; the stock settings overflow the RAM by 46.8 kB. Pin.irq saw 10 of 10 edges.

Limits: PWM duty_u16 needs a one-line patch, which is in the folder. SPI data is unchecked without a loopback wire, and no I2C device was on the bus.

Upstream: in this repository only; not sent to MicroPython and Zephyr

MicroPython 1.29.0 through upstream's Zephyr port MSPM33 C321A

MicroPython's own Zephyr port runs with its stock prj.conf on the MSPM33 C321A: a >>> prompt, Pin, float math and SPI from Python.

Kit LP-MSPM33C321A · Get the files

Ran The probe's serial port at 115200 baud shows the banner "MicroPython v1.29.0 ... zephyr-lp_mspm33c321a with mspm33c321a" and a >>> prompt; print(1+1) prints 2.

Show the command
cd ports/micropython/zephyr-mspm33c321a
git clone --depth 1 --branch v1.29.0 https://github.com/micropython/micropython.git mp
./zephyr-tree.sh "$PWD/zw" uart
MP="$PWD/mp" ZW="$PWD/zw" OUT="$PWD/out" KIND=uart ./build.sh

Measured

The image is 292.3 kB of flash and 83.6 kB of RAM with a 48 kB heap.

Limits: I2C reads hang until a hardware reset. The chip has no Zephyr ADC or PWM driver.

Upstream: in this repository only; not sent to Zephyr

MicroPython 1.29.0

A new MicroPython port boots on the MSPM0 G3519 with the MicroPython banner and drives a 3.5 inch touch screen from Python.

Kit LP-MSPM0G3519, LP-MSPM0G3507, LP-MSPM0G5187 · Get the files

Show the command
ports/micropython/build_all.sh

Measured

The full build uses 174 kB of flash and leaves 119 kB of heap free. Hardware SPI fills 320 by 480 pixels in 147 ms and the touch chip reads in 1.43 ms.

Limits: The MSPM0 G3507 gets a 73 kB minimal build, because the full build does not fit its 128 kB. There is no file system, so the Python files are re-sent after each reset.

Upstream: in this repository only; not sent to MicroPython

Run Zephyr on MSPM0, AM13 and AM62L Linux kits

Zephyr: from on-chip SRAM, and on one core beside Linux

Zephyr's upstream am62l_evm board runs with no DDR, no TF-A and no TIFS: a 124 KB hello world in the 144 KB of on-chip SRAM, started over JTAG at EL3. A second build runs on A53 core 1 from DDR, started by a PSCI call from U-Boot, and keeps ticking while Linux boots and runs on core 0 with no hypervisor.

Kit TMDS62LEVM (AM62L) · Get the files

Ran UART0 prints *Booting Zephyr OS build a915b2f12675 * and Hello World! am62l_evm/am62l3/a53 with the DDR never initialized; beside Linux, /dev/mem reads tick lines from core 1's console ring.

Steps See the folder's README

Measured

124 KB image in a 144 KB SRAM map, 20 KB spare. Beside Linux: 44.0 kB in DDR, started by PSCI CPU_ON, 66 console bytes in 3 s while Linux runs; 552.5 mW for the board with both.

Limits: One core, UART0 only, no peripheral beyond the timer. The SRAM image was loaded by the debugger, so this shows the chip runs it, not that a product starts that way.

Upstream: in this repository only; not sent to Zephyr

Zephyr in 4 kB of RAM

Zephyr runs on the MSPM0 L1306 in 4 kB of RAM: hello_world, blinky and CoreMark.

Kit LP-MSPM0L1306 · Get the files

Ran hello_world and blinky run on the board; the console is UART0 at 115200 baud.

Show the command
cd mspm0l1306/zephyr
./build.sh blinky

Measured

Standard CoreMark fits with 16 bytes of RAM left and scores 1.87 per MHz. It needs the board file, a corrected GPIO driver, hand-written UART pins and one heap setting.

Limits: Most other Zephyr samples need 6 to 17 kB of RAM and do not fit.

Upstream: in this repository only; not sent to Zephyr

Zephyr on the BeagleY-AI's MCU R5F core, loaded by Linux, talking to Linux over RPMsg

Zephyr's upstream beagley_ai/j722s/mcu_r5f0_0 board runs a 28.1 kB image that Linux loads into the MCU Cortex-R5F with remoteproc (no flash write): the core is running 47 ms after the start command, an RPMsg echo channel shows up in Linux 87 ms after it, and a 16-byte message makes the round trip in 224 us (median of 1,000, p99 230 us).

Kit beagley-ai · Get the files

Ran cat /sys/kernel/debug/remoteproc/remoteproc1/trace0 prints *Booting Zephyr OS build a915b2f12675 * and hello from the BeagleY-AI MCU R5F; /dev/rpmsgN then echoes whatever you write to it.

Steps README: 3 steps

Measured

28.1 kB loaded; running 47 ms after echo start; echo channel visible 87 ms after it; 16-byte round trip median 224 us, p99 230 us; 256-byte round trip 278 us.

Limits: One load per boot (second start fails with -19 until a reboot). MCU R5F only; the main-domain R5F and the C7x cores run TI's stack and were not touched. Latency is user space through rpmsg_char under load, not a kernel-to-core figure.

Upstream: in this repository only; not sent to Zephyr

Zephyr

Zephyr's hello_world reaches main and an image toggles the LED on the AM13E230.

Kit LP-AM13E230 · Get the files

Steps See the write-up

Limits: Zephyr has no LED, GPIO or serial driver for this chip, so Zephyr's own blinky does not build. The build clones Zephyr's main branch, so a later checkout can differ from the one that ran (commit 11808e9ea).

Upstream: in this repository only; not sent to Zephyr

Code written for another chip or tool

Examples, libraries and models written for another vendor's chip or for a general computer, running on a TI kit.

From STM32

Five STM32CubeG0 examples through TI's migration skill: 3 ran as written, 2 after fixes

TI's migration skill (a tool inside CCStudio that rewrites ST code for a TI chip) moved five STM32CubeG0 examples to the MSPM0 G3507: 3 ran as written, 2 after fixes.

Kit LP-MSPM0G3507 · Get the files

Ran The skill ships in CCStudio 21.0.1's skills.alpha folder, for evaluation. Open CCStudio on that workspace, run /ti-ccstudio-migrate-to-ti ~/cube/Projects/NUCLEO-G071RB/Examples/GPIO/GPIO_IOToggle MSPM0G3507. The first example blinks LED1 on the MSPM0 G3507.

Show the command
git clone --filter=blob:none --no-checkout https://github.com/STMicroelectronics/STM32CubeG0.git "$HOME/cube"
cd "$HOME/cube"
git sparse-checkout set --no-cone '/.gitmodules' '/Projects/NUCLEO-G071RB/Examples/GPIO/GPIO_IOToggle/' '/Projects/NUCLEO-G071RB/Examples/GPIO/GPIO_EXTI/' '/Projects/NUCLEO-G071RB/Examples_LL/USART/USART_Communication_Tx_VCP_Init/' '/Projects/NUCLEO-G071RB/Examples/ADC/ADC_MultiChannelSingleConversion/' '/Projects/NUCLEO-G071RB/Examples/TIM/TIM_PWMOutput/'
git checkout 446ebe396489ca75679caa80887d7257efe92e3d
git submodule update --init --depth 1 Drivers/BSP/STM32G0xx_Nucleo
WS=$HOME/ccs-workspace
mkdir -p "$WS/.claude/skills"
cp -R "/Applications/ti/ccs2101/ccs/Code Composer Studio.app/Contents/Resources/ai/skills.alpha/ti-ccstudio-migrate-to-ti" "$WS/.claude/skills/"
# deletes a leftover merge marker (line 92) in the skill's SysConfig instructions
sed -i '' '92d' "$WS/.claude/skills/ti-ccstudio-migrate-to-ti/agents/sysconfig-configurator.md"

Measured

GPIO toggle, serial port and PWM channel 4 ran as written. The button interrupt needed one fix and the ADC with DMA three: the button polarity, the DMA source address and the DMA sample count.

Limits: Button presses come from the debugger, and the STM32 originals are not on the bench.

STM32 UART Xmodem bootloader (ferenc-nemeth/stm32-bootloader)

ferenc-nemeth's STM32 Xmodem bootloader takes an application over UART on the MSPM0 G3519, writes it to flash and jumps to it.

Kit LP-MSPM0G3519 · Get the files

Ran tools/run_g3519.sh runs 6 checks over the console, and all 6 pass; the application then runs from flash at 0x00010000.

Show the command
cd ports/stm32-bootloader/boards/mspm0g3519 && make

Measured

A 4.4 kB update takes 1.54 s with the erase. Across six builds the bootloader takes 3.0 to 3.2 kB of flash and 2.1 to 4.1 kB of RAM.

Limits: The STM32 original is not on the bench, so there is no number from the original side.

STM32 UART DMA receive with idle-line interrupt (MaJerle stm32-usart-uart-dma-rx-tx)

MaJerle's STM32 UART DMA example answers every test packet at 115200 baud on the MSPM0 G3519, G5187, L1306, C1104 and MSPM33C321A.

Kit NUCLEO-U083RC, LP-MSPM0G3519, LP-MSPM0G5187, LP-MSPM0L1306, LP-MSPM0C1104, LP-MSPM33C321A, LP-AM13E230, ESP32-C6-DevKitC-1 · Get the files

Steps See the folder's README

Measured

Boards answer 2,246 to 2,294 packets a second, against 2,259 on the NUCLEO-U083RC original. The L1306 uses 636 B of its 4 kB of RAM and the C1104 632 B of 1 kB.

Limits: The AM13E230 passes five of six checks. No TI UART tested has the idle-line event, and at 921600 baud the C1104 and MSPM33C321A lose 152 to 452 of 500 packets. Each board folder builds its image; flashing is not scripted.

ST STM32G4 HAL examples

ST's STM32G4 HAL GPIO and UART examples run on the AM13E230 through TI's HAL layer, with 3 and 7 lines added to ST's main.c.

Kit LP-AM13E230 · Get the files

Steps See the folder's README

Measured

Two small TI-side shims of 13 and 50 lines carry them.

Limits: The layer has no clock tree, timer or ADC, so ST's timer examples stop at the first compile. Delays count CPU cycles, not milliseconds.

From other vendors' SDKs

Renesas FSP examples (UART, ADC, I2C, GPT timer)

Four of five Renesas FSP examples (FSP is Renesas's driver layer) run on the MSPM0 G3519 on a layer that maps FSP calls onto DriverLib, TI's register-level driver library.

Kit LP-MSPM0G3519 · Get the files

Ran The example reads the touch controller at 0x38 on the Waveshare panel and prints on the serial port at 115200 baud.

Show the command
portability/fsp-on-mspm0/build.sh iic_master

Measured

sci_uart, adc and gpt run with no edit, and iic_master with five constants changed for the touch controller. Flash use is 12.4 to 15.5 kB.

Limits: The fifth example, timer-triggered ADC, runs up to its DMA chain, and its two-group DMA transfer does not complete. The unchanged iic_master reports a missing ADXL345.

Raspberry Pi Pico SDK examples

Raspberry Pi pico-examples (serial hello, I2C bus scan, blink, PWM fade, ADC read) run unchanged on the MSPM0 G3519 over a thin layer on DriverLib.

Kit LP-MSPM0G3519 · Get the files

Ran bus_scan finds the touch controller at 0x38 and nothing else; hello_serial prints "Hello, world!" once a second on the probe's serial port.

Show the command
export PICO_SDK=$HOME/pico-sdk OUT=$PWD/out/pico
git clone --depth 1 --branch 2.3.1 https://github.com/raspberrypi/pico-sdk.git "$PICO_SDK"
portability/pico-on-mspm0/build.sh bus_scan

Measured

The layer is 316 lines plus 81 lines of board files. The five examples take 1.8 to 10.6 kB of flash.

Limits: There is no PIO equivalent.

Cmsemicon CMS32 examples

Cmsemicon CMS32 examples run on the MSPM0 L1306 through one glue layer: 39 of 39 ran; 21 checked, 13 show nothing a probe can see.

Kit LP-MSPM0L1306 · Get the files

Ran The board's serial output is logged and its pins are read five times.

Show the command
cd ports/cms32
./build.sh systick
./run.sh systick 4

Measured

29 of the 34 run with their main.c exactly as Cmsemicon shipped it. One glue layer and one pin-map file cover all of them.

Limits: The window-watchdog example resets the chip every few ms and locks the debugger out.

Nordic's nRF Blinky and UART services

TI's basic_ble with two 8-line service descriptions shows Nordic's LED Button and UART services to a Mac on the CC2340R5.

Kit LP-EM-CC2340R5 · Get the files

Show the command
ports/nordic-apps/build.sh

Measured

A Mac finds the board by either service 0.17 to 0.69 s after flashing. An LED write answers in 24.3 ms median and UART echo in 24.2 ms, with 60 of 60 lines identical.

Limits: A Mac was the only client.

Programs, libraries and models

BitNetMCU handwriting AI

BitNetMCU handwriting models read all 10 test digits right on the MSPM0 G3507 and MSPM0 L1306, the same answers as on a Mac.

Kit LP-MSPM0G3507, LP-MSPM0L1306 · Get the files

Ran run.sh flashes the board, runs it and prints the answers, the cycle count and the stack depth.

Show the command
cd ports/bitnetmcu/mspm0
./build.sh g3507 cnn_64 O3 32
./run.sh build-g3507-cnn_64-O3-32

Measured

At 32 MHz the most accurate model (99.55% on MNIST) takes 2.64M cycles on the MSPM0 G3507, 3.5% fewer than the author's 2.74M on the CH32V002. The 64-wide model also runs in the MSPM0 L1306's 4 kB of RAM.

Upstream: in this repository only; not sent to BitNetMCU

BitNetMCU

BitNetMCU's 64-wide CNN reads all 10 test digits right on the LAUNCHXL-F2800137.

Kit LAUNCHXL-F2800137 · Get the files

Ran All 10 test digits come out right.

Show the command
ports/bitnetmcu/c2000/build.sh RAM

Measured

2.55M cycles from RAM (21.3 ms) and 2,897,585 from flash (24.1 ms) at 120 MHz, 6.7% fewer than the author's CH32V002 count.

Limits: The C28x has no 8-bit type, so the port needed three code fixes.

Upstream: in this repository only; not sent to BitNetMCU

BitNetMCU in 1 kB of RAM

The 1k handwriting model reads all 10 test digits right in 804 B of RAM on the MSPM0 C1104.

Kit LP-MSPM0C1104 · Get the files

Steps See the write-up

Limits: The 16-channel CNN links but overruns the stack and never finishes. `mspm0c1104/prebuild.sh bitnet` builds the MSPM0 C1104 images; flashing them and reading the answers back are not scripted for this board.

Upstream: in this repository only; not sent to BitNetMCU

minmea GPS sentence parser

minmea, an NMEA GPS parser, runs on the MSPM0 G3519 with its files unchanged and a 21-line shim for one missing call.

Kit LP-MSPM0G3507, LP-MSPM0G3519 · Get the files

Ran No LED or serial output. After flashing, a debugger read of the globals gives g_rmc_ok 1, g_gga_ok 1, g_ts_ok 1, g_sats 8 and g_ts 764426119.

Show the command
cd ports/minmea
bash build.sh shim

Measured

The shim takes 5.7 kB of flash. Seven of the eight values read back over the debugger match; latitude reads 481172 against 481173 because the test app truncates a float.

Limits: The test app has no LED or serial output; you read the results with a debugger.

h264bsd video decoder

h264bsd, an H.264 baseline decoder, runs unmodified on the MSPM33 C321A and AM13E230 with every frame checksum equal to the Mac's.

Kit LP-MSPM33C321A, LP-AM13E230 · Get the files

Ran The script prints one H264R line per stream: the Mac side of the frame checksums.

Show the command
portability/h264/build_host.sh

Measured

176x144 runs at 57 frames per second on the MSPM33 C321A (240x240 at 33). The AM13E230 reaches 86.

Limits: Baseline streams only; main-profile streams are refused.

littlefs power-loss-safe file system

littlefs v2.11.3 runs unmodified on the MSPM0 G3519's internal flash, and 200 of 200 boots after random resets (100 mid-write, 100 during boot) mounted clean with every file whole.

Kit LP-MSPM0G3519 · Get the files

Ran Flash out/demo/littlefs-demo.out and reset the board. The console at 115200 prints CHK, READY boot=N, a root directory listing, three BENCH lines and DEMO DONE.

Show the command
cd ports/littlefs
bash build.sh
python3 -I host/console.py 6

Measured

18.5 kB of flash and 912 B of RAM for littlefs; mount 1.85 ms; a 4 kB write 55 ms and read 5.9 ms; 200 of 200 boots clean after random resets.

Limits: The resets are nRST pulses through the debug probe, not a falling supply; one write speed; 200 resets bound the failure rate under about 1.5 percent at 95 percent confidence.

Post-quantum key exchange and signatures

ML-KEM-768 key exchange and ML-DSA-44 signatures pass NIST's known-answer vectors on seven boards, from a 36 kB Cortex-M0+ to an 800 MHz Cortex-R5F; the CC1354P10-1 also agrees a key with a Mac.

Kit LP-CC1354P10-1, LP-EM-CC2340R5, am243x, LP-MSPM0G3519, LP-MSPM33C321A, LP-EM-CC2755P10, LP-MSPM0G5187 · Get the files

Ran The run prints "key check Mac d01a2f61 board d01a2f61 MATCH" and then "board> DECRYPTED (76 bytes, tag ok)".

Show the command
cc1354p10/pqc-join/build.sh -O3

Measured

ML-KEM-768 takes 21 to 29 ms per step and ML-DSA-44 50 ms to verify and 154 ms on average to sign; every step passes NIST's known-answer vectors.

llama2.c (TinyStories 260K, int8)

llama2.c's TinyStories model writes a short story on the MSPM33 C321A, with token ids equal to the Cortex-M33 emulator run.

Kit LP-MSPM33C321A · Get the files

Show the command
cd ports/llama2c
PYTHON=python3 ./build.sh O2

Measured

It writes 128 tokens at 21.2 per second at 160 MHz. The weights use 543.6 kB of the 1 MB flash.

Limits: It runs 128 steps and one checkpoint shape. The first 39 tokens equal the Mac build and the rest differ in library math.

Fixed-weight DSP (FIR, filter bank, DFT)

A 64-tap FIR filter runs on the MSPM0 G5187's NPU (its neural-network accelerator), compiled with NNC, TI's neural-network compiler, 29.7 times faster than the same graph on the CPU, with byte-for-byte equal output.

Kit LP-MSPM0G5187 · Get the files

Show the command
mspm0g5187/npu-dsp/build.sh

Measured

The 64-tap FIR takes 0.566 ms for 4 x 256 outputs, 5.8 times faster than one hand-written C channel. A filter bank, a strided FIR, a max-pool and comparator, and a DFT matrix ran too.

Limits: Output channels must be a multiple of 4. The DFT reaches 0.26 multiply-adds per cycle.

Rust (embassy-mspm0)

A Rust blinky and a serial hello run on the MSPM0 L1306 with embassy-mspm0.

Kit LP-MSPM0L1306 · Get the files

Ran LED1 (red, PA0) blinks once a second, and the serial port at 115200 baud prints "Hello from Rust on MSPM0L1306".

Show the command
cd ports/rust-mspm0/l1306 && cargo build --release

Measured

The blinky takes 2.6 kB of flash and 112 bytes of static RAM, and the hello 3.7 kB and 148 bytes. The build takes 107 s cold and 3 s after a change.

Limits: Only GPIO, the timer and the blocking UART ran.

DNS ad blocker (sinkhole)

The CC35X1 answers DNS on UDP port 53: names on a blocklist get 0.0.0.0 and the rest is forwarded to your gateway.

Kit LP-EM-CC35X1 · Get the files

Ran Set BOARD_IP to the address the board prints on its console. Then dig @$BOARD_IP doubleclick.net returns 0.0.0.0, and dig @$BOARD_IP www.python.org returns the real address.

Show the command
cd ports/dns-sinkhole
curl -fsS -o hosts.txt https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
python3 gen_blocklist.py hosts.txt -o blocklist.bin
export WIFI_ENV=$HOME/.config/dns-sinkhole-wifi.env
mkdir -p "$(dirname "$WIFI_ENV")" && read -s -p "Wi-Fi password: " PW && echo "WIFI_PASSWORD=$PW" > "$WIFI_ENV"
APP=full BLOCKLIST=$PWD/blocklist.bin ./build.sh
RUN=$PWD/out/dns/build-full
cd /Applications/ti/simplelink_wifi_toolbox_macos_4_3_23
./simplelink-wifi-toolbox programmer -i XDS110 programming --tool_settings "$RUN/ex/freertos/ticlang/toolbox/tool_settings.json"

Measured

A blocked name is answered in a median of 6 ms and a forwarded one in 70 ms. The 357 kB table holds 71,492 names and the application slot has room for about 304,000.

Limits: IPv4 and UDP only, exact-name match, no TCP fallback.

wasm3 (WebAssembly interpreter)

wasm3 runs a WebAssembly module on the MSPM0 G3519 and prints PASS on the serial line.

Kit LP-MSPM0G3519, LP-MSPM0G3507, LP-MSPM33C321A · Get the files

Show the command
ports/wasm3/build_all.sh

Measured

fib(20) runs 43.5 times and a 20,000-pass loop 28.9 times slower than the same C. The heap stays flat at 6.9 kB of 16 kB over 14 passes.

Limits: Only the MSPM0 G3519 is flashed; the other two kits build.

Upstream: in this repository only; not sent to wasm3

nanoMODBUS Modbus RTU server

nanoMODBUS, a Modbus RTU library, runs as a server on the MSPM0 G3507 over the USB serial port: a Mac with pymodbus passes 22 of 22 checks.

Kit LP-MSPM0G3507 · Get the files

Ran The RGB LED follows coils 0 to 2, input register 0 reads the die temperature in 0.1 C, and `python3 modbus_test.py` ends MODBUS CHECK: PASS.

Show the command
cd ports/nanomodbus
bash build.sh

Measured

The server takes 9.1 kB of flash and 1.9 kB of RAM. A 10-register read takes a median 6.13 ms through pymodbus and 3.43 ms with raw bytes, with no errors in 3,000 requests each.

Limits: RTU over a plain UART through the probe's USB serial port, not RS-485 (that needs a transceiver and its direction pin). One board, one Mac, no long run; the LED and the temperature accuracy were not watched or compared with a reference.

Lua 5.4.9

Lua 5.4.9, unmodified, gives a line-editing prompt on the MSPM33 C321A's serial port: 146.5 kB of flash, 146.4 kB of heap free after start, fib(25) in 683 ms, 29 of 29 prompt checks pass in each of 3 runs.

Kit LP-MSPM33C321A · Get the files

Ran The probe's first serial port at 115200 baud shows the banner "Lua 5.4.9 Copyright (C) 1994-2026 Lua.org, PUC-Rio" and a > prompt; 1 + 2 prints 3.

Show the command
ports/lua/build.sh
DSLite=/Applications/ti/ccs2101/ccs/ccs_base/DebugServer/bin/DSLite
$DSLite flash -c mspm33c321a/MSPM33C321A_<serial>.ccxml -e -f -v out-lua/lua.out

Measured

The image is 146.5 kB of flash. fib(25) takes 683 ms and an empty loop costs 79 CPU cycles a pass: about 10 times quicker than uLisp on the same recursion.

Limits: No io, os or package library. Floats are software doubles. A 2,000-string table does not fit the heap. Ctrl-C works at the prompt, not in pasted chunks.

Standards, radios and tools

Zigbee smoke and CO alarm

A Zigbee smoke and CO alarm joins Home Assistant as one device on the CC2340R5, with no custom Home Assistant code.

Kit LP-EM-CC2340R5 · Get the files

Ran The device appears in Home Assistant's Zigbee integration (ZHA) as "Fox Red Labs FRL-ALARM"; sending SMOKE 1 on its serial port turns the Smoke sensor on.

Show the command
cc2340r5/zigbee-alarm/build.sh

Measured

20 of 20 changes landed for each sensor, median 38 ms for smoke and 56 ms for CO. The image is 210.8 kB of flash and 25.8 kB of RAM.

Limits: In sleepy mode TI's sleep call stops the UART receiver.

Sub-1 GHz CC1407P radio heard by an LP-CC1354P10-1

TI's CC1407P sub-1 GHz radio driver runs unchanged on the MSPM0 G5187, and a CC1354P10-1 receives its packets: 21,658 of 21,658.

Kit LP-MSPM0G5187, LP-CC1354P10-1 · Get the files

Ran The sender's serial port prints a line such as: tx FRL n=12 t=24.80C rh=36.9% lux=207.20 -> sent status=16 ev=0x0000004c sent=12 failed=0

Show the command
RADIO_APP=radio_tx RADIO_CFLAGS=-DHB_INT_POLL mspm0g5187/radio/build.sh

Measured

An CC1354P10-1 running rfPacketRx received 21,658 of 21,658 packets over 6 h 15 min at 915 MHz with no checksum errors. All 23 PHY (radio signal format) profiles sent, each rate within 3.4% of TI's figure.

Limits: One PHY (SUN O-QPSK 0) fails the checksum. The OFDM (multi-carrier) modes are transmit-only.

FreeRTOS in 4 kB of RAM

FreeRTOS runs on the MSPM0 L1306 in 4 kB of RAM: the blink uses 1 kB.

Kit LP-MSPM0L1306

Show the command
cd mspm0l1306/freertos
./build.sh blink

Measured

11 small tasks fit with static allocation and smaller stacks.

Limits: TI's own settings file for this board needs 5.4 kB and does not link.

OpenOCD flash driver

OpenOCD erases, writes, verifies and restarts a blink on the CC2340R5 over the XDS110, with no CCStudio or UniFlash.

Kit LP-EM-CC2340R5, LP-EM-CC2755P10 · Get the files

Ran On the CC2340R5, openocd -f board/ti_lp_em_cc2340r5.cfg -c "program blink.hex verify reset exit" erases, writes, verifies and restarts the blink, and the LED pin toggles.

Show the command
FRL=$PWD
git clone https://github.com/openocd-org/openocd.git "$HOME/openocd" && cd "$HOME/openocd" && git checkout bb5a52da599c3dac61ddc51d2fa8c1166ee795d0
git apply "$FRL/ports/openocd-cc23xx/0001-flash-nor-cc23xx-ti-cc23xx-cc27xx.patch"
./bootstrap && ./configure --enable-cmsis-dap --enable-cmsis-dap-v2 --enable-xds110 --disable-werror && make -j8

Measured

It programs TI's blink in 0.37 s. A 511 kB image writes in 10.5 s and reads back identical.

Limits: On the CC2755P10 the driver builds and has no board result. Chip erase and CCFG changes are refused.

Upstream: in this repository only; not sent to OpenOCD

TI's MSPM0 DriverLib examples built and run with GCC

TI's MSPM0 DriverLib examples build and run with GCC from a terminal: all 224 no-RTOS examples with a GCC makefile built unchanged.

Kit LP-MSPM0G3507, LP-MSPM0L1306 · Get the files

Show the command
portability/toolchains/gcc-mspm0/run.sh LP_MSPM0L1306

Measured

The 224 are 136 for the MSPM0 G3507 and 88 for the MSPM0 L1306. On the L1306, all 87 that TI Arm Clang also ran ran from GCC with no fault, and code is a median 15% larger.

Limits: The compiler is GCC 12.2 from the Zephyr SDK. Arm GNU 9-2019-q4, the version TI's makefiles name, is not used.

Matter smoke and CO alarm over Thread

TI's Matter lighting app rebuilt as a smoke and CO alarm boots on the CC2755P10, exposes the smoke alarm cluster and changes state from a UART line 20 of 20 times.

Kit LP-EM-CC2755P10 · Get the files

Show the command
cd cc2755p10/matter-smoke
./build.sh sub
./build.sh sdk
./build.sh smoke

Measured

The 797 kB image changes state from a UART line 20 of 20 times, median 41 ms.

Limits: Does not commission into Thread or Apple Home.

Matter thermostat over Wi-Fi

A Matter thermostat and occupancy sensor runs on the CC35X1, pairs into Apple Home and takes setpoint changes from the phone.

Kit LP-EM-CC35X1 · Get the files

Show the command
cc35x1/matter/build-thermostat.sh "$PWD/cc35x1/matter"

Measured

The image is 1.7 MB.

Limits: Apple Home was the only controller used. The board must be fully erased before the first flash.

ESP32-BLE-Gamepad (a Bluetooth HID gamepad library)

The ESP32-BLE-Gamepad descriptor and reports match the library's output byte for byte on four boards, and 15 of 15 button changes from the CC2340R5 reached a Mac as gamepad reports.

Kit LP-MSPM0G3519, LAUNCHXL-F2800137, LP-EM-CC2340R5, NUCLEO-U083RC · Get the files

Steps See the folder's README

Measured

Flash is 9.9 kB on the MSPM0 G3519, 3.6 kB on the NUCLEO-U083RC and 8.1 kB of code on the LAUNCHXL-F2800137. The CC2340R5 image is 189.4 kB of flash and 33.8 kB of its 36 kB of RAM.

Limits: Only the CC2340R5 was paired with a Mac. Its Mac connect takes 31.3 s because macOS waits out its pairing timeout. The build script does not flash: write build/basic_ble.hex with UniFlash, then set your serial ports at the top of check/gp_serial.py.

Games, codecs and synths

liblc3 (LC3, the Bluetooth LE Audio codec)

liblc3 (LC3, the Bluetooth LE Audio codec) encodes and decodes frames on the MSPM33 C321A with the CRC-32 of every frame equal to the Mac build.

Kit LP-MSPM33C321A, LP-MSPM0G3519 · Get the files

Steps README: 1 step

Measured

Encode takes 198k cycles at 16 kHz and 387,683 at 48 kHz on the 160 MHz Cortex-M33, which is 12.4 to 24.2 percent of real time. Decode takes 4.6 to 10.5 percent.

Limits: Codec only: a generated signal, no radio and no audio output. The Cortex-M0+ build for the MSPM0 G3519 links, and its numbers come from an emulator.

minimp3 MP3 decoder

minimp3 decodes MP3 clips bit-exact against the Mac on the MSPM33 C321A and MSPM0 G3519.

Kit LP-MSPM33C321A, LP-MSPM0G3519 · Get the files

Steps README: 1 step

Measured

A 5-second stereo clip decodes in 0.151 times real time on the MSPM33 C321A. On the MSPM0 G3519, which has no float unit, the same clip takes 9.84 times real time.

Limits: Decode only; no audio plays. The MSPM0 G3519 cannot keep up in real time.

2048 and Minesweeper with a 3.5 inch touch display

2048 and Minesweeper run on the MSPM0 G3519 with a 3.5 inch touch display. The same source builds for the MSPM0 G3507 (10.8 kB of flash) and, with a stub screen, for the MSPM33 C321A (8.1 kB).

Kit LP-MSPM0G3519, LP-MSPM0G3507, LP-MSPM33C321A · Get the files

Ran The board boots to a two-button menu: 2048 (swipe) and Minesweeper (tap to dig, long press to flag).

Show the command
bash ports/touch-games/build.sh g3519

Measured

A swipe in 2048 takes 32.6 ms at 40 MHz SPI and a one-cell tap in Minesweeper 1.09 ms. 2048 was played on the panel with working touch.

Limits: A person did not check Minesweeper by finger or the touch axes. The SPI clock is above the panel's rating.

Doom engine (doomgeneric and rp2040-doom's design)

The rp2040-doom design plays all three shareware demos on the CC35X1 and the MSPM33 C321A, with frame checksums equal to a Cortex-M33 emulator.

Kit LP-EM-CC35X1, LP-MSPM33C321A · Get the files

Steps README: 2 steps

Measured

39.2 frames per second on the CC35X1 and 22.7 on the MSPM33 C321A's Educational BoosterPack screen. The converted game data is 1.7 MB, read in place from flash.

Limits: No sound, and the stick and buttons were driven by a script. The stock doomgeneric engine stops on zone memory in all three demos on the CC35X1.

Upstream: in this repository only; not sent to doomgeneric

Peanut-GB Game Boy emulator

Peanut-GB plays Tobu Tobu Girl on the MSPM33 C321A with the Educational BoosterPack screen at the console's own speed.

Kit LP-MSPM0G3507, LP-MSPM0G3519, LP-MSPM0G5187, LP-MSPM33C321A · Get the files

Show the command
bash ports/peanut-gb/build_target.sh mspm33c321a rom

Measured

160 MHz, a table scaler, DMA rows and one frame in two drawn gave 0 late frames in 8,167. The first image ran at 8 to 13 percent of real speed.

Limits: No sound or cartridge saving. A person did not judge the stick and buttons.

CHIP-8 interpreter and the chip8-test-suite

A CHIP-8 interpreter runs the chip8-test-suite ROMs on the MSPM0 G3519 touch panel, with the frame buffer equal to the host's for five of six.

Kit LP-MSPM0G3519 · Get the files

Show the command
ports/chip8/build.sh

Measured

It executes 526 thousand instructions per second and redraws the 64 x 32 screen at 5x in 14.2 ms. The play image is 13.5 kB of flash and 10.4 kB of RAM.

Limits: No sound, and CHIP-8 only. A person did not press the touch keypad.

libopus 1.5.2 (Opus, RFC 6716)

libopus encodes and decodes voice and music on the MSPM33 C321A, with packets and PCM equal to a Mac build in 12 of 12 runs.

Kit LP-MSPM33C321A · Get the files

Steps README: 1 step

Measured

CELT 48 kHz 10 ms encodes in 29 to 54 percent of real time at 160 MHz and decodes in 17 to 22 percent.

Limits: Codec only: mono, a generated signal, no radio or audio output. The Mac reference must use the same multiply macros as the board.

Plaits synthesis engines (Mutable Instruments, MIT)

All 24 Plaits synthesis engines render bit-exact against the Mac on the MSPM33 C321A.

Kit LP-MSPM33C321A · Get the files

Steps README: 1 step

Measured

A block costs 10.7 to 34.5 percent of real time at 160 MHz with the FPU on. With the FPU off the same core needs 149 to 1,140 percent.

Limits: Synthesis only: the sound goes to a RAM buffer, with no DAC or MIDI input and no listening test.

An STM32 open-source FOC library's math and PWM calls

The portable math of an open-source STM32 FOC project (Clarke, Park, space-vector PWM, PI, filter, PLL, observer) builds for the LAUNCHXL-F2800137 with one changed line and one preinclude, and 14 of 16 output lines equal the host's, two sums within 0.06 percent.

Kit LAUNCHXL-F2800137 · Get the files

Steps See the folder's README

Measured

1 line changed in 616 lines of math; 16 lines match the host (14 equal, 2 sums within 0.06 percent); 114 building-block cases pass in 3 of 3 runs.

Limits: The PWM driver (HAL_TIM_PWM_Start, HAL_TIMEx_PWMN_Start, CCR writes) is mapped, not ported; no phase current or motor.

Upstream: in this repository only; not sent to none

One TI chip to another

The same source moved between MSPM0, MSPM33, CC23xx, CC27xx, CC35xx, C2000, AM13 and radar chips. The map lists every test.

The map, and every chip-to-chip test · The five-call starter

TI's Jailhouse hypervisor: bare-metal and Linux cells beside Linux

TI's documented Jailhouse flow from Linux SDK 12.01.00.05.03 ran as written on the AM62L EVM: the hypervisor enabled in 0.27 s, the uart and gic demo cells printed within a second, and a second Linux reached a login about 20 s after its cell started.

Kit TMDS62LEVM (AM62L) · Get the files

Ran UART1 (the FT4232's port B) prints the uart-demo and gic-demo lines, then a second Linux login prompt, while the first Linux stays at its prompt on UART0.

Steps README: 2 steps

Measured

Hypervisor enable 0.27 s; demo cells print within 1 s; Linux cell to login about 20 s; disable 0.09 s.

Limits: No Zephyr cell, no cell-to-cell message traffic, no timing beyond these.

MSPM0 examples moved up and down the family

MSPM0 examples move between family members with only the SysConfig device changed (SysConfig is TI's pin and peripheral setup tool): all 133 images that built and write nothing outside main flash and SRAM ran on the MSPM0 L1306.

Kit LP-MSPM0L1306, LP-MSPM0G3507, LP-MSPM0C1104 · Get the files

Steps README: 1 step

Measured

With only the device changed, 101 of 170 MSPM0 L1306 examples build for the G3507. Of 153 ported images that built from the G3507 and C1104, 133 wrote nothing outside main flash and SRAM.

Limits: One G-series clock setting stops 136 of the moves the other way. The sweep's scripts run from a scratch folder with a copy of the SDK; there is no one-line command.

MSPM0 examples

MSPM0 DriverLib examples run on the MSPM33 C321A: 39 of the 40 ported ones ran without a fault.

Kit LP-MSPM33C321A · Get the files

Show the command
portability/everywhere/crossbuild_mspm0_mspm33.sh "$PWD/out/m33-work" "$PWD/out/m33-results.jsonl"

Measured

Dropped in, 20 of 82 build. With each example's own SysConfig file ported, 43 of 83 build, 40 were run, and 54 of the 62 failures are names spelled differently across the two SDKs.

Limits: 1 of the 40 ran into a hard fault.

MSPM0 DriverLib programs

MSPM0 DriverLib GPIO, UART and timer PWM programs run on the AM13E230 with their app code unchanged and a 13-line shim header.

Kit LP-AM13E230 · Get the files

Show the command
portability/shim/mspm0_on_am13e230/build.sh gpio

Measured

All 53 lines of app code are unchanged. Of 43 translated SysConfig files, 20 build and 14 of 14 tried ran clean.

MSP430FR2433 code examples

Three MSP430FR2433 FRAM examples ran on the MSPM0 L1306: a persistent counter, a watchdog wake from LPM3 and a UART echo in LPM3.

Kit LP-MSPM0L1306 · Get the files

Show the command
cd ports/msp430-to-mspm0
./build_l1306.sh lpm3-wake

Measured

The counter survived 17 software resets, a program load and a power-off. A bus-clock UART echoed a 190-byte burst.

Limits: On the AM13E230 the three examples build only, and the deep-sleep test locks the debugger out.

MCU+ SDK examples

MCU+ SDK examples build in a radar SDK project, and uart_echo and gpio_led_blink ran on the IWRL6432BOOST.

Kit IWRL6432BOOST · Get the files

Steps See the folder's README

Measured

In a radar SDK project 11 of 23 app files build as they are and 19 of 23 with one generated header; uart_echo and gpio_led_blink ran on the IWRL6432BOOST.

Limits: The radar SDK spells some driver calls the older way. The script builds only; the runs on the board were flashed by hand.

A radar frame parser

A radar frame parser in 882 bytes of C gives the same output on the AM13E230 and SK-TDA4VM as the Mac parser.

Kit LP-AM13E230, SK-TDA4VM · Get the files

Ran One line per radar frame, identical to the Mac reference parser (231 lines for the 60-second capture).

Show the command
cd portability/everywhere/host-radar
cc -O2 -std=c99 host_main.c tlv_parser.c -o radar_host
./radar_host ../../../iwrl6432boost/captures/2026-10-10-shipped-uart-60s.bin

Measured

62 of 62 frame lines match the Mac's parser on a real capture on the AM13E230, and all 231 frames match on the SK-TDA4VM.

Limits: It reads a recorded capture and is not connected to a live radar.

An MSPM0 FFT example

TI's MSPM0 FFT example runs unedited on the SK-TDA4VM and prints the same peak as on an R5F core and on a Mac.

Kit SK-TDA4VM · Get the files

Steps README: 1 step

Measured

The peak is bin 5, value 4023, PASS.

C2000 current-loop code

The same current-loop step, trigger to new PWM, runs about twice as fast on the AM13E230 as on the LAUNCHXL-F2800137.

Kit LP-AM13E230, LAUNCHXL-F2800137 · Get the files

Steps See the write-up

Measured

1.33 us on the AM13E230 and 2.58 us on the LAUNCHXL-F2800137. One FOC step is 117 cycles (0.585 us) on the AM13E230 with its math unit.

Limits: The build and run commands cover the LAUNCHXL-F2800137; the repository has no build command for the AM13E230 half.

TI AM13 Hall FOC adapted to DRV8376EVM

TI's Hall FOC firmware drives a motor closed loop through a DRV8376EVM, unloaded at 12.4 V, on the AM13E230.

Kit LP-AM13E230 · Get the files

Show the command
am13e230/foc-drv8376/build.sh

Limits: Runs unloaded only. Loaded starts, speeds below 20 Hz and reversals on the observers do not run.

Ran in part, or only built

Every card above ran and did what it should. These 21 did not get that far: Could work ran in part, with what ran named; Should work builds, and the first run is pending.

The 21 ports
  • Arduboy2-compatible layer and three open-source games Could work MSPM0 G3507, MSPM0 G3519, MSPM0 G5187, MSPM33 C321A. Snake, TileWorld and Crate Confusion build unchanged against an Arduboy2-compatible layer for four kits, and Snake draws on the MSPM33 C321A's Educational BoosterPack screen. See the run
  • Arm Mbed API (DigitalOut, InterruptIn, AnalogIn, PwmOut, Ticker, Timeout, Timer, BufferedSerial) through a thin layer Could work MSPM0 G3507. A header and one C++ file answer the classic Mbed API with MSPM0 DriverLib; 13 of Arm's own Mbed example programs build for the board with 0 of 354 lines changed and all 13 ran on it. See the run
  • Bluetooth media remote (HID) Could work CC2340R5. A hand-written HID service on TI's basic_ble builds for the CC2340R5, and a Mac sees it as a keyboard-class device and starts pairing. See the run
  • BoosterPack drivers (Educational MKII, Sharp128, Audio, Sensors MKII, NPU DSP) Could work MSPM0 L1306, MSPM0 C1104, MSPM0 G3507, MSPM0 G3519, MSPM0 G5187, MSPM33 C321A, AM13E230. Portable C cores for BoosterPacks ran: the Educational pack on the MSPM0 L1306 and MSPM33 C321A, the Sharp128 panel on the MSPM0 C1104, the Audio pack on the AM13E230 and the Sensors pack on the MSPM0 G5187. The Educational, Sharp128 and Audio builds also build for the MSPM0 G3519, and the Educational and Sharp128 builds for the MSPM0 G3507. See the run
  • CC1407P host driver Could work LAUNCHXL-F2800137. The CC1407P driver files compile for the LAUNCHXL-F2800137 with a compatibility header, and a field-by-field packer gives the same 315 octets as an Arm host. See the run
  • MSP432 DriverLib calls (GPIO, CS, Timer_A, Timer32, UART, ADC14, SysTick, Interrupt) through a thin shim and a lookup table Could work MSPM0 G3507. A header and one C file answer TI's MSP432P4 DriverLib calls, with their MAP_ and ROM_ forms, with MSPM0 DriverLib; eight of TI's own MSP432P401R examples build for the board with 0 of 876 lines changed and all eight ran on it. See the run
  • MSPM0 code on the CC2340R5 and CC1354P10 radio chips Could work CC2340R5, CC1354P10-1, MSPM0 G3507. MSPM0 driver examples build for the CC2340R5 with a 47-line shim, the first 5 ran with the same pin states as TI's own build, and 4 of 4 ran on the CC1354P10. See the run
  • NVIDIA Holoscan's camera graph Could work SK-TDA4VM. NVIDIA Holoscan needs CUDA, so its camera graph is rebuilt from TI parts on the SK-TDA4VM: YOLOX-s pose takes 13.8 ms on the C7x accelerator. See the run
  • One app, three ways: DriverLib, TI Drivers and Zephyr Could work MSPM0 G3507, MSPM0 L1306. The same 81-line app builds three ways on the MSPM0 L1306, and the DriverLib and Zephyr builds ran with the same readings. It builds on the MSPM0 G3507 too. See the run
  • Open radar readers: the ROS driver, the Python SDK 3 reader, the gesture recognizer Could work IWRL6432BOOST. Once the board sends the standard point format (guiMonitor 1), the most-forked Python mmWave SDK 3 reader reads every point of two recorded walks with its parser unedited; the reference ROS 1 driver publishes every point when frames come every 50 ms, nothing at the board's 250 ms; the most-starred gesture recognizer reads no frame, because it expects an AWR1642 SDK 2 layout and near-field gestures at 10 frames a second. See the run
  • STM32 HAL calls through a thin shim and a lookup table Could work MSPM0 G3507. GPIO, pin interrupts, UART (blocking, interrupt and DMA), SPI, flash and the watchdog ran in a self-test that passes 15 of 16 checks; I2C, ADC and PWM build and run, but no device answered on I2C, all eight ADC readings were 0 with the pin unwired and the PWM pin level was not read (the skipped check). See the run
  • TivaWare driver calls (SysCtl, GPIO, UART, Timer, Interrupt, SysTick, ADC, PWM) through a thin shim and a lookup table Could work MSPM0 G3507. A header and one C file answer TI's TivaWare calls with MSPM0 DriverLib; eight of TI's own EK-TM4C123GXL examples build for the board with 0 of 2,051 lines changed and all eight ran on it. See the run
  • ZX Spectrum 48K (floooh/chips Z80 core) Could work MSPM0 G3519. A ZX Spectrum 48K runs on the MSPM0 G3519 touch panel, and its screen memory equals the host machine's after 400 frames. See the run
  • BoosterPack shields (Educational MKII, Sharp128, Audio) for Zephyr Should work MSPM0 G3519, MSPM0 G3507, CC2340R5, MSPM33 C321A. Devicetree shields for three BoosterPacks build with Zephyr main on the MSPM0 G3519 and MSPM0 G3507 (Educational screen 32.0 and 31.9 kB of flash). The Audio shield also builds on the CC2340R5; the MSPM33 C321A builds hello_world and no shield. Zephyr main has an MSPM0 SPI driver, added 2026-04-21; release 4.4.2 has none. No board was flashed. See the run
  • CC1407P host driver built for nine TI boards Should work MSPM0 C1104, MSPM0 L1306, MSPM0 G3507, MSPM0 G3519, MSPM0 G5187, MSPM33 C321A, AM13E230, CC2340R5, CC2755P10. The same bare-metal build links in 10.2 to 10.3 kB of flash (Cortex-M0+ and Cortex-M33) on every board. RAM is 5.1 kB with the default 24 buffers and 2.1 kB with 4: the MSPM0 L1306 fits with 4, the MSPM0 C1104 does not fit even with 2. Size only; only the MSPM0 G5187 has sent a packet. See the run
  • CC1407P Zephyr samples Should work CC2755P10. With a plain overlay all four samples tried build (rf_diagnostics, genfsk_tx, genfsk_rx, carrier_wave). Not run on the radio yet. The shield itself stops with undefined node label boosterpack_spi. See the run
  • Driver examples across the CC23xx, CC27xx and Wi-Fi SDKs Should work CC2755P10, CC35X1. All 33 driver examples the CC2340R5 and CC2755P10 both ship build for either board with byte-identical app source; 22 of 22 TI Drivers examples move between the F3 SDK and the Wi-Fi SDK unchanged in both directions. See the run
  • LP-MSPM0G3519 examples Should work MSPM0 G5187. 141 of 258 build after the SysConfig device switch (the pin map predicted 189). 41 of the failures name a peripheral by its silicon name instead of its alias. Not run. See the run
  • SimpleFOC motor-control library with the DRV8376EVM Should work AM13E230. SimpleFOC 2.4.0 builds for the AM13E230 with none of its files changed: 23.1 kB of flash, 160 lines of port code, and a 6.7 us (open loop) or 9.6 us (Hall velocity loop) pass on the 200 MHz core. The motor has not turned: the supply was off. See the run
  • TI's CC23xx and CC27xx driver examples built with GCC Should work CC2340R5, CC2755P10. All 144 F3 SDK examples that ship a GCC makefile built unchanged with GCC 12.2 from the Zephyr SDK. That is 64 of 64 for the CC2340R5 and 80 of 80 for the CC2755P10, FreeRTOS and no-RTOS. The Bluetooth and Zigbee examples ship no GCC makefile and their stack libraries ship only for TI Arm Clang (and IAR for Bluetooth). See the run
  • u8g2 display library Should work LAUNCHXL-F2800137. u8g2 2.37.1 compiles and links for the C28x with no change to its files once uint8_t is defined as unsigned char: 19 kB of flash and 8.3 kB of RAM for text and one font. With C2000Ware's 16-bit uint8_t both fonts fail with error #145. Not run on a display. See the run

How a port is made

Every port followed the same five steps.

  1. Find the calls. Build the other project for the TI chip as it is. List every missing function, header and type the compiler names. That list is the whole job.
  2. Write a thin layer, not a fork. Answer those calls in one shim file on the TI side (388 lines for ESPHome's Zigbee code, 30 lines for MSPM0 apps on the CC2340R5, 13 lines for MSPM0 on the AM13E230). Leave the other project's files as they shipped, so its updates still apply.
  3. Build with the vendor's own tools. Use TI's compiler, SDK and SysConfig, from one command or the other project's own command (esphome compile). For a plain-C library with no peripheral, start from ports/minmea/build.sh: the SDK's startup file and linker file, no SysConfig. Record flash and RAM from the map file.
  4. Run it and check one thing a person would notice. The LED switched from Home Assistant, the digit read right, the packet received. For a library with no LED or serial output, read its result variables with a debugger or add a UART print. Built is not ran, and ran is not checked. Each card says which one happened.
  5. Write down where it stopped. Failures stay on the page with the exact error and the cause, whether a tool or the chip.

Questions

Is there an Arduino IDE board package for MSPM0?

No. There is a layer for your own build, and Arduino sketches run through Zephyr on the CC2340R5 and the MSPM0 G3519. You cannot pick a TI board in the Arduino IDE.

Which kit should I buy first?

The MSPM0 G3519 runs the most cards on this page: 17 of 62. Next come the MSPM33 C321A with 16 and the MSPM0 G3507 with 12. For ESPHome, take a CC35X1 for Wi-Fi, or a CC2340R5 or CC2755P10 for Zigbee only. The Board menu above lists the cards for any kit.

Which kit runs ESPHome on Wi-Fi?

The CC35X1, with the cc35xx platform. The CC2340R5 and CC2755P10 cards are Zigbee only.

How many of the Cmsemicon examples show output?

21 of the 34 have a result checked on a pin or serial line: serial text, a toggling pin or a CRC match. The other 13 ran without crashing and show nothing a probe can see.

Do all the Renesas FSP examples run on the LP-MSPM0G3519?

Four of five. The timer-triggered ADC example runs up to its DMA chain, and its two-group DMA transfer does not complete. The unchanged I2C example reports a missing ADXL345 and prints 65535 for every axis, so it needs five constants changed for the touch controller.

Does MicroPython I2C work on the LP-MSPM33C321A?

I2C opens and writes, and every read hangs until a hardware reset. Pin, float math and SPI work, and Zephyr has no ADC or PWM driver for this chip.

Can I move an STM32 HAL project to MSPM0?

Yes, two ways. A header and one C file keep your HAL calls and answer them with DriverLib on the MSPM0 G3507: 15 of 16 self-test checks pass and 1 is skipped (the PWM pin level needs a wire from PA26 to an input). TI's migration skill moved STM32CubeG0 examples for GPIO, UART, ADC with DMA and PWM: 3 of 5 ran as written and 2 after corrections. With the skill, I2C, SPI and timers were not run. STM32 HAL on an MSPM0: coverage, steps and pin map

Can ESPHome run on a TI chip?

Yes, through the external platforms in ports/esphome-ti. cc27xx for the CC2755P10 and cc23xx for the CC2340R5 run ESPHome Zigbee devices that join Home Assistant. cc35xx gives the CC35X1 a Wi-Fi ESPHome device with the native API. You run esphome compile and esphome upload as usual, and TI's compiler and SDK do the build underneath. The cc27xx and cc23xx platforms are Zigbee only.

Does MicroPython run on a TI chip?

Yes. MicroPython's own Zephyr port runs on the CC2340R5 and the MSPM33 C321A with a >>> prompt. A new MicroPython port boots on the MSPM0 G3519 and drives a touch screen from Python.

Does Zephyr run on TI chips that have no upstream board?

On the MSPM0 L1306, yes: with the board file and a fixed GPIO driver it runs CoreMark in 4 kB of RAM. On the AM13E230 it boots and toggles an LED, and Zephyr's own blinky does not build because Zephyr has no GPIO or serial driver for that chip.

Does Rust run on MSPM0?

Yes. A Rust blinky and a serial hello run on the MSPM0 L1306 with the community embassy-mspm0 crate.

Can I run another vendor's example code on a TI microcontroller?

Often, with a thin layer. 34 Cmsemicon CMS32 examples ran on an MSPM0 L1306 with most of their main.c files untouched, and ST's STM32G4 HAL GPIO and UART examples run on the AM13E230 through TI's HAL layer. Timers, clocks and ADCs are where layers stop.

How much MSPM0 code moves to TI's wireless chips or to other MSPM0 parts unchanged?

Inside MSPM0, most examples move with a SysConfig device change (all 133 ported images that built ran on the L1306). To the CC2340R5, 0 of 10 driver examples build unchanged and 10 of 10 with a 47-line shim. The Move across TI chips page lists every test.

Can I use an AI coding assistant for a port like this?

Yes. Give it the folder and the board's AGENTS.md. The prompt at the bottom of the page does that.

Does TI's CC1407P radio host driver work on a C2000 chip like the TMS320F2800137?

Not as shipped. It fails to compile with 524 errors (no uint8_t, and a packed attribute the C2000 compiler rejects). With both worked around it compiles, but 11 of its 12 message structs come out a different size from the bytes on the SPI wire, because the C28x has no 8-bit byte. A field-by-field packer gives the right transmit bytes (17 of 17 cases equal to an Arm host, no radio attached), and the driver does not call it. On MSPM0 hosts it runs: 21,658 of 21,658 packets on an MSPM0 G5187.

Hand the folder and its AGENTS.md to your coding assistant

Open a clone of the repository in your coding assistant and paste this, with the two blanks in angle brackets filled in.

Port <project or library> to the <TI board, for example LP-MSPM0G3507>. Read AGENTS.md first: it lists the board folders (the LP-MSPM0G3507's is mspm0g3507/) and how the repository is laid out. Then read docs/ports.md and that board folder's AGENTS.md and FAQ.md. Check that TI's compiler and the board's SDK are installed in the folders the board README names; if not, run bash mac-setup/bootstrap.sh --check and tell me what it reports. Follow the method in docs/ports.md: build the project unchanged for the TI chip and list every missing call, answer them in one shim file without editing the project's own files, build with TI's tools from one command (for a plain-C library, start from ports/minmea/build.sh) and report flash and RAM, then tell me how to check it on the board and the one thing I should see. If it stops, give me the exact error and where it stopped.

Get the code

Clone the repository and open the folder from a card. Ports of other ecosystems are in ports/. The board-independent layers and the chip-to-chip tests are in portability/. Each folder's README has the build command and the versions.

git clone https://github.com/Fox-Red-Labs/fox-red-labs.git

Built it? Tell us

Built this, or got stuck? Report it on GitHub with a few short answers. Your report shows here in your words, marked as yours.