NEWSFEVER
Technology worth discussing24 / 7 · RU + EN
Back to feedHardware & Chips

MeshCore repeater runs directly on Semtech’s LR2021 radio chip

An experimental port lets the LR2021 handle repeater operations after an external microcontroller loads the program and goes to sleep.

Published: 22 Nov 2026, 15:00 UTC
An abstract radio chip with a glowing processing core relays packets beside a dimmed external controller.
Conceptual illustration: a radio chip handles repeater operations while an external microcontroller sleeps.

The author of an article published on Habr reported porting MeshCore repeater firmware directly to Semtech’s LR2021 radio chip. A conventional mesh node uses a separate microcontroller to control the radio and forward packets. In this experiment, that controller loads the program into the LR2021 and then sleeps while the radio chip handles subsequent operations.

The implementation uses the chip’s internal 32 MHz Synopsys ARCv2 EM processor and its 4 KB patch RAM, which is intended for Semtech patches. The author credits Claude with helping reverse-engineer the chip and port the code. Custom software cooperates with the built-in firmware by intercepting events. To initiate transmission, the chip sends SPI commands to itself by switching its internal pull-up and pull-down resistors.

The repeater supports direct and flood routing, trace packets and advertisements. It has a transmission queue for four maximum-size messages and a 64-entry deduplication table. There are compromises: the author did not port cryptographic operations, so the advertisement is signed in advance and loaded into memory, leaving its timestamp unchanged.

The author also demonstrated radio-data processing inside the LR2021, increasing FFT processing speed from 6.6 to 462 frames per second after optimization. In another test, a scanner detected 89 of 90 transmissions across 20 randomly selected frequency options. The author considers running an entire mesh node on the chip probably too complicated and impractical, while offloading individual functions appears more promising.

Original source: habr.com ↗

Comments on source platforms

Rank is the maximum of the latest discussion counts. These are source metrics.

Хабр