esp-sdr-zephyr

A Zephyr module that turns the Wi-Fi radio of five ESP32 chips into a software defined radio (raw I/Q receive, and transmit on all but the classic ESP32), an IEEE 802.15.4 software radio built on it, a Zigbee coordinator, and the apps that use them.

About these docs

Structure

The docs open with an overview, ESP-SDR on Zephyr: safety, getting started and the library at a glance. Five parts follow, each building on the one before:

  1. The radio follows the signal through the analog radio: the receive and transmit paths, tuning, gain, filters, impairments and crystal calibration.

  2. Samples in and out starts where the samples leave the ADC and enter the DAC: burst capture, gapless receive, transmit, paced streams and host transports.

  3. Modulation and coding turns those samples into packets and back: the channelizer, IEEE 802.15.4, GFSK and Bluetooth LE, burst detection, QAM and OFDM, error correction.

  4. Applications puts the first three parts to work: the apps, their internals and the MCH2022 badge.

  5. Reference holds what the parts look up: chip notes, code placement, testing, the ZigBit reference and the register pages.

A guide page opens with what it covers and where it sits, then gives the concepts, the implementation, the differences between chips, the measurements and the limits. The API reference (below) documents the headers.

Goal

The docs explain how the Wi-Fi radio of these chips works as a software defined radio, and how the library, the modems and the apps are built on it. Bench measurements back the claims, with their date and setup.

Audience

  • Developers who build on esp_sdr or extend the apps: Parts 1 to 3, then the reference.

  • Users of the apps: the overview and Part 4.

The pages assume C, Zephyr (west, Kconfig, devicetree) and basic signal processing.

Scope

The docs cover the esp_sdr library, the IEEE 802.15.4 software radio, the Zigbee coordinator and the apps. Which chip has which radio is in The radio (Chip lineup), which chip has which sample path in Samples in and out (Sample paths per chip).

They leave out:

  • Productive or certified use: see Safety in ESP-SDR on Zephyr.

  • The Zigbee stack’s API, which its headers in include/zigbee/ document.

API reference

The API reference of the library is generated with Doxygen from include/: API reference. The library’s groups follow the order of the parts; the IEEE 802.15.4 groups come after them.

Contents

Indices