GitHub Digital Lab

Vibe to Volts.

Builds on TI chips, from LaunchPad kits to Linux boards: the parts, the wiring, the code, and what each one measured.

What happens here

Each tile turns over to show the page behind it.

Make a build

Each build that ran on a kit has its parts, wiring, steps and the code; one not yet run says so on its page.

Bring your code

Arduino, ESPHome, Zephyr, MicroPython, STM32, ESP32 and Pico code on a TI board: a port is code written for another board, moved over.

Measure it

Every board on the same tests, with the method behind each number.

Drive it from the browser

Flash a board, read its pins and memory, flash a motor demo. Chrome and a USB cable, nothing to install.

Run an edge AI model on the chip

Occupancy, digit and vision models, timed on each board.

Share what you built

Post it and it gets a page here, beside the lab's own.

From 1 kB of RAM to a Linux processor

One app.c, unchanged, on eleven boards. The file rides the line and each board prints its own reading. Hover or tap a board to hold it.

The eleven boards, what each is, and the last line each printed on its serial port (t is seconds since start, adc the raw reading, avg the 4-reading average)
BoardChipHereSerial line
LP-MSPM0C1104Cortex-M0+, 24 MHz, 1 kB RAM, 16 kB flashThe smallest chip here. Blink, a voltage reading and the serial line fit in 1 kB of RAM.t=19 adc=549 avg=536
LP-MSPM0L1306Cortex-M0+, 32 MHz, 4 kB RAM, 64 kB flashFirst blink from a fresh clone with the start script, in about ten minutes.t=13 adc=2645 avg=2644
LP-MSPM0G5187Cortex-M0+ with NPU, 80 MHz, 32 kB RAM, 128 kB flashAn MSPM0 with a neural processing unit (NPU) for edge AI models; the Sub-1 GHz link and the sensors pack ran here.t=18 adc=1449 avg=1449
LP-MSPM0G3519Cortex-M0+, 80 MHz, 128 kB RAM, 512 kB flashThe biggest MSPM0 here: 2048 on a 3.5 inch touch screen ran here.t=14 adc=1085 avg=1085
LP-MSPM33C321ACortex-M33, 160 MHz, 256 kB RAM, 1 MB flashA Cortex-M33 at 160 MHz; Doom ran here on the BoosterPack screen.t=24 adc=3165 avg=3184
LAUNCHXL-F2800137C28x, 120 MHz, 36 kB RAM, 256 kB flashA real-time control MCU for motors and power, with TI's own C28x processor core instead of an Arm core.t=14 adc=2035 avg=2036
LP-AM13E230Cortex-M33 with TMU and NPU, 200 MHz, 128 kB RAM, 512 kB flashA real-time control MCU with a neural processing unit; motor control and edge AI models ran here.t=9 adc=128 avg=128
LP-EM-CC2340R5Cortex-M0+, 48 MHz, 36 kB RAM, 512 kB flashBluetooth LE; the gamepad and the asset-tracking tag ran here.t=22 adc=1368 avg=1368
LP-EM-CC2755P10Cortex-M33, 96 MHz, 162 kB RAM, 1 MB flashBluetooth LE and 802.15.4 with a +20 dBm radio.t=32 adc=1374 avg=1374
LP-EM-CC35X1Cortex-M33, 160 MHz, 1.1 MB RAM, 8 MB flashWi-Fi 6 and Bluetooth; the Matter light, the DNS ad blocker and the asset-tracking hub ran here.t=16 adc=1210 avg=1182
TMDS62LEVM (AM62L EVM)2x Cortex-A53, 1250 MHz, 2 GB RAMTwo Arm Cortex-A53 cores running Linux; the same app.c built with GCC and reads its voltage input through a Linux device file.t=13 adc=1032 avg=1032
LP-MSPM0C1104 MSPM0 family

The smallest chip here. Blink, a voltage reading and the serial line fit in 1 kB of RAM.

Cortex-M0+, 24 MHz, 1 kB RAM, 16 kB flash.

Every build, step by step

Drawn from the demo's wiring pictures: a motor driver board pressed onto the LaunchPad, Hall and phase wires, then power. Eight steps from a bare board to a spinning motor. Scroll and the build keeps pace with the steps.

The motor build

The motor build →

The build, step by step

  1. 1Start with the LaunchPad, USB-C out

    The AM13E230 on the bench with no cable in. The driver board goes on before any power.

  2. 2Switches S4 and S6 to BP

    They sit between the right header and the chip, each marked BP and CAN. BP means BoosterPack: the Hall signals go up to the driver board. On CAN they go to the CAN chip instead and the motor never learns its table.

  3. 3Press the EVM onto J1 to J4

    Screw terminals pointing away from the USB-C. Its Hall-block socket covers J2 and J4, the nFAULT-side socket covers J1 and J3, with its far pin on J1 pin 1.

    The EVM sits flat with no pin showing between the boards, and its screw terminals point away from the USB-C.
  4. 4Jumper J13 on the GVDD pair

    GVDD is the driver's own 5 V. This motor's Hall sensors need 4.5 V or more, so the 3.3 V choice is too low. The jumper goes on the two pins marked GVDD, not the 3V3 pair.

    J13 covers the GVDD pair. The 3V3 pin stands alone.
  5. 5Hall wires into the green block

    Bottom to top: white HALL A, blue HALL B, green HALL C, red HALL POWER, black HALL GROUND. A Hall sensor is a small switch that flips as a rotor magnet passes it; three of them tell the program which sixth of a turn the rotor is in. A, B and C can be in any order because the program learns the table; power and ground must be right.

    Five wires in, red at the fourth terminal from the bottom, black at the top. Tug each one.
  6. 6Motor phases into the three-way terminal

    Yellow to OUT A, red to OUT B, black to OUT C. Any order works; the learn step finds the table. Leave the shaft free to turn.

  7. 7Supply into the two-way terminal

    Red to VBAT, black to PGND, supply switched off. 12 V from an adapter with the barrel cut off is the tested supply; 5 V from a cut USB cable on a 2 A charger also spins it. Keep it under 20 V for this motor. For the first power-up use a supply that limits current to about 0.5 A, or an adapter rated no higher.

    Before power: a meter between VBAT and PGND reads open, not a short, and red is on VBAT. Swapped supply wires can destroy the driver.
  8. 8USB-C in, then the supply on

    VM, AVDD and GVDD light; MCU lights when the program runs. Open the serial port at 115200, press l to learn the Hall table (the shaft clicks round six steps, about 25 s), then 2 and g to spin. In the animation the yellow dots are supply current, the blue dots the Hall signals coming back, the orange dots the drive going out.

    Three lights on and NFAULT off. If NFAULT is on, switch the supply off: a phase wire is loose or shorted, or the supply sagged. Then open the motor console or the serial port.

Get the code

# first blink on an LP-MSPM0L1306. Install four free tools first, about 0.9 GB: MSPM0 SDK 2.11.00.07, TI Arm Clang, SysConfig and xPack OpenOCD (CCStudio is optional). Steps on the project page. Checked 2026-11.
git clone --depth 1 --filter=blob:none --sparse https://github.com/Fox-Red-Labs/fox-red-labs.git
cd fox-red-labs
git sparse-checkout add mspm0l1306 tools
./start.sh mspm0l1306 blink

Every board folder has a README, an AGENTS.md for an AI assistant and a FAQ with the fixes. Stuck? Pick a board and open its FAQ, for example the MSPM0 G3507 FAQ. More on the community page.