GitHub Digital Lab

Fox Red Labs / Builds / Smart home and radio

Sub-1 GHz home radio demos

A beacon you hunt by signal strength, a key finder you ring, and a house node for the mailbox, doorbell, panic button and keep-close tag. One pair of radios runs all three.

HardWiring needed

The MSPM0 G5187 and CC1354P10-1 this build runs on, drawn from its user guide. Drag to turn it.

What you need

Works on these boards
On Linux or WindowsThe steps were recorded on a Mac; paths and port names in them are the Mac ones.

macOS (recorded)

TI's tools
/Applications/ti, or ~/ti
Serial port
/dev/cu.usbmodem<serial>1
Probe access
nothing to do

Linux

TI's tools
~/ti (also searched: /opt/ti)
Serial port
/dev/ttyACM0 (by name: /dev/serial/by-id/*<serial>*-if00*)
Probe access
one udev rule, how

Windows

TI's tools
C:\ti (also searched: %USERPROFILE%\ti)
Serial port
COM<n>, named "XDS110 Class Application/User UART" in Device Manager
Probe access
the XDS110 USB driver from UniFlash or CCStudio

Your probe's serial on any system: python3 tools/frl/frl.py detect. Not run on a board under Linux or Windows. Everything else that differs: the full table.

Steps

  1. Wire the radio to the LaunchPad.BENCH

    With USB unplugged, screw the 915 MHz antenna onto the radio board's SMA socket and join the radio to the MSPM0 G5187's J20 header with the eight wires in the table. Plug the other LaunchPad into your computer.

    The BP-CC1407P-9-FE radio board with eight color-coded wires, each tagged with the LP-MSPM0G5187 pin it goes to
    Radio pins 1 to 10 run down the left outer row and 11 to 20 up the right outer row (20 at the top). Pins 23 and 36 are in the inner rows: 23 is the third socket down the left inner row, 36 the fifth down the right inner row. J20 is the 2x4 header by the microSD slot, printed PB12 PB10 PB8 PB6 over PB13 PB11 PB9 PB7. PB10 and PB11 also reach the board's audio converter, so the board's microphone cannot be used while the radio is wired. Full size.
    Pin table
    Radio pinLaunchPad pinWhat it isNeeded
    Radio pin 1 (3V3)J1 pin 1 (3V3)powerrequired
    Radio pin 20 (GND)J3 pin 22 (GND)groundrequired
    Radio pin 7 (SCLK)J20 PB9SPI clockrequired
    Radio pin 15 (PICO)J20 PB8data into the radiorequired
    Radio pin 14 (POCI)J20 PB7data out of the radiorequired
    Radio pin 18 (CS_N)J20 PB6chip selectrequired
    Radio pin 36 (RESET_N)J20 PB10radio resetrequired
    Radio pin 23 (SPI_INT)J20 PB11radio says it has datarequired

    You should see: Each wire's other end is on the pin in the table.

  2. Build the CC1407P side.TERMINAL

    Build radio_lab, which turns the MSPM0 G5187 into a radio driven by text commands on its serial port. build.sh is a bash script. Not run on Linux or Windows.

    RADIO_APP=radio_lab mspm0g5187/radio/build.sh

    You should see: The script ends with image: mspm0g5187/radio/out/radio_lab.out.

  3. Build the partner side on the CC1354P10.TERMINAL

    Follow the Build section of cc1354p10/radio-rx/README.md to get the F2 SDK libraries and the rfPacketRx example, then build partner.c as that README describes, with the 2-GFSK 50 kbps setting.

    You should see: The build leaves rfPacketRx.hex, about 29 kB.

  4. Flash both boards.TERMINAL

    Put each probe's serial in its .ccxml (xdsdfu -e lists them). Flash radio_lab.out to the MSPM0 G5187 and rfPacketRx.hex to the CC1354P10, then start the CC1354P10 with xds110reset. On Windows the UniFlash script is dslite.bat; that was not checked.

    Replace <serial> before you run this.

    /Applications/ti/uniflash_9.6.0/dslite.sh --mode flash -c mspm0g5187/MSPM0G5187_<serial>.ccxml -e -f -v mspm0g5187/radio/out/radio_lab.out

    You should see: Both boards answer on their serial ports.

  5. Run the fox hunt.TERMINAL

    Set the two serial ports, then run the demo. demos.py opens the serial ports through Python's termios, which macOS and Linux have and Windows does not, so this step needs macOS or Linux. The CC1407P beacon steps its power from +14 to -30 dBm in 8 steps, standing in for walking away; the CC1354P10 reports each step as hot, warm, cool or cold.

    Replace <G5187 serial> and <partner probe serial> before you run this.

    LAB_G=/dev/cu.usbmodem<G5187 serial>1 LAB_P=/dev/cu.usbmodem<partner probe serial>1 python3 mspm0g5187/radio/demos.py fox

    You should see: All 8 steps are heard, and the hunter's call moves from hot to cool.

What to build next

Switch a board's LED from Home Assistant over ZigbeeThe board's own LED, switched on and off from Home Assistant
Add a low-power temperature sensor to Home AssistantA low-power Zigbee sensor that sleeps between readings and shows up on your dashboard
Send a sensor reading to a phone over BluetoothA reading your phone or Mac picks up over Bluetooth, no pairing

Every build

If something goes wrong

The radio later answers with a checksum error on everything it receivesThe inner-row wires (pins 23 and 36) are the usual missing ones.
The SDK is not foundSet the paths the script prints.
The make cannot find SysConfigPoint SYSCONFIG_TOOL at sysconfig_cli.sh in the 1.28.0 folder (sysconfig_cli.bat on Windows), as the README shows.
DSLite fails with Error -242Unplug the board's USB for 3 seconds and flash again.
A step shows no answersCheck the wires and that the partner image matches the protocol.

Every fix for this board: the FAQ.

Get the code

Ran here, with steps. Runs the fox hunt beacon, the key finder handset and the house node over 915 MHz: 64 of 64 beacons, 10 of 10 rings in 21 ms, events in Home Assistant within 30 ms How it ran on this board.

Start it

Paste this in a terminal. It hands off to an AI assistant with this board's notes.

./start.sh mspm0g5187 sub-ghz-demos --assistant claudegit clone --depth 1 --filter=blob:none https://github.com/Fox-Red-Labs/fox-red-labs.git && cd fox-red-labs ./start.sh mspm0g5187 sub-ghz-demos --assistant claude
Not Claude Code? Copy this prompt instead.
Clone https://github.com/Fox-Red-Labs/fox-red-labs and read mspm0g5187/AGENTS.md first. Then run Sub-1 GHz home radio demos on my LP-MSPM0G5187. Tell me when to plug in the board and what you saw at each step.
Only the code for this board
git sparse-checkout set mspm0g5187 cc1354p10 third-party portability tools sitegit clone --depth 1 --filter=blob:none --sparse https://github.com/Fox-Red-Labs/fox-red-labs.git cd fox-red-labs git sparse-checkout set mspm0g5187 cc1354p10 third-party portability tools site
Or take the whole repository
git clone https://github.com/Fox-Red-Labs/fox-red-labs.git
Reports from others, and the report forms

Clone the repository and open the board's folder below. AGENTS.md is a plain text file of notes for AI coding assistants, and llms.txt at the root indexes the site for one.

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

Code is BSD-3-Clause, writing is CC BY 4.0; third-party folders keep their own licenses.

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. A failure that repeats on the bench gets its fix here.

Evidence and limitsA fox-hunt beacon heard 64 of 64 times from -34 to -78 dBm, a key finder that answers in 21 ms and a house node that reaches Home Assistant in under 30 ms. Results, sources, timing and limits.

Fox hunt, hot and cold

Expected result: All 8 steps are heard, and the hunter's call moves from hot to cool.

What this shows

  • The signal at the hunter falls from -34 dBm to -78 dBm as the beacon's power steps from +14 to -30 dBm, and the hunter calls it hot, warm, cool or cold on a fixed scale.
What this does not establish, and limits

What this does not establish

  • No one walked: the power steps stand in for distance, on one desk. Range was not measured.

Limits to keep in mind

  • The scale is hot above -40 dBm, warm -60 to -40, cool -80 to -60 and cold below -80; nothing reached cold.

Sources

Versions, sizes and timing

Steps+14, +10, +4, 0, -6, -12, -20, -30 dBm; -34, -35, -41, -46, -56, -62, -65, -78 dBm at the hunterthe data

Evidence

  • On 2026-10-11 all 8 power steps were heard 8 of 8 times, 64 of 64 beacons, from -34 dBm (hot) to -78 dBm (cool). subghz end user demos notes

Other boards

What the status words mean

Works ran here and did what it shouldCould work some of it ran; real porting effort is left; hover for whatNot for this chip the chip or its vendor software cannot; hover for why

Key finder: ring on demand

Expected result: Ten rings, ten answers, and the handset's LEDs blink each time.

What this shows

  • A ring command reaches the handset and its answer returns in about 21 ms on the first send, 10 of 10 times.
What this does not establish, and limits

What this does not establish

  • On one desk at about -19 dBm; no walk and no obstacles.

Limits to keep in mind

  • The timing is from the ring command written to the base's port to the handset's answer arriving on it.

Sources

Versions, sizes and timing

Answers10 of 10, median 21 ms, maximum 21 ms; -19 dBm at both endsthe data

Evidence

  • On 2026-10-11 the handset answered 10 of 10 rings on the first send, in a median 21 ms and at most 21 ms, measured from the log. the data

Other boards

What the status words mean

Works ran here and did what it shouldCould work some of it ran; real porting effort is left; hover for whatNot for this chip the chip or its vendor software cannot; hover for why

Around the house: mailbox, doorbell, panic, messages, tag

Expected result: Events show in Home Assistant as you trigger them: light the mailbox sensor, press S1, press S2.

What this shows

  • Radio events from a small board reach Home Assistant within 30 ms: mailbox, doorbell, panic and messages.
  • A keep-close tag is a 1 s heartbeat; losing it for about 3 s raises an alarm.
What this does not establish, and limits

What this does not establish

  • One of 8 parent messages did not reach the board. The suspected cause is that the board listens in 80 ms windows between its own sends; it was not checked.
  • On one desk; range was not measured.

Limits to keep in mind

  • The 4-minute window closed 2 s after the panic button, so later S2 presses were not captured; the messages were rerun in a separate 90-second window.

Sources

Versions, sizes and timing

Home Assistant delay12 to 28 ms per eventthe data
Tag235 heard of 237 sentthe data

Evidence

  • On 2026-10-11 mailbox open and close, the doorbell, panic and kid messages each reached Home Assistant in 12 to 28 ms, and 235 of 237 tag heartbeats were heard. the data
  • 7 of 8 parent messages showed on the handset, and a tag alarm came 3.0 s after the tag went quiet. subghz end user demos notes

Other boards

What the status words mean

Works ran here and did what it shouldCould work some of it ran; real porting effort is left; hover for whatNot for this chip the chip or its vendor software cannot; hover for why

Result grid

Project
LP-MSPM0G3507MSPM0G3507 chip
LP-MSPM0L1306MSPM0L1306 chip
LP-EM-CC2340R5CC2340R52 chip
LAUNCHXL-F2800137TMS320F2800137 chip
Sub-1 GHz home radio demos
LP-MSPM0G3507
LP-MSPM0L1306Not for this chipNo radio
LP-EM-CC2340R5Not for this chipNo sub-1 GHz radio on this chip; it is 2.4 GHz only
LAUNCHXL-F2800137Not for this chipNo radio on this chip

Works ran here and did what it shouldShould work it builds; only naming, packaging or build glue is in the way; hover for whichCould work some of it ran; real porting effort is left; hover for whatNot for this chip the chip or its vendor software cannot; hover for why

Experiments (1)

StatusWhat was triedResult
WorksCan one TI radio and an MSPM0 run family demos: walkie-talkie, fox hunt, key finder, smart house?
MSPM0 G5187, 2026-10-11
All five demos work as built. One-way voice passed 122 of 122 frames. Fox hunt heard 64 of 64 beacons, hot to cool. The key finder answered 10 of 10 in 21 ms. The house node sent mailbox, doorbell, panic, kid messages...

Source files