esp-sdr-zephyr
Raw I/Q receive and transmit on the ESP32-S3/C6 Wi-Fi radio, for Zephyr
Loading...
Searching...
No Matches
API reference

API reference of the esp_sdr library, raw I/Q receive and transmit on the Wi-Fi radio of the ESP32-S3, ESP32-C6, ESP32-C5, ESP32-S31 and the classic ESP32, and of the IEEE 802.15.4 software PHY and radio driver built on it. A group limited to some chips names them in its brief; the matrix of sample paths per chip is in Samples in and out.

Groups

The topics list the library's groups in the order the guides teach them, then the IEEE 802.15.4 groups. Each group below names its header and the guide that explains it.

The library's groups are subgroups of ESP-SDR library; the IEEE 802.15.4 groups are subgroups of IEEE 802.15.4.

The radio

Group Header Guide
Radio esp_sdr.h Transceiver, Tuning
Receive esp_sdr_rx.h Gain, Filters, Burst capture
Clip guard esp_sdr_gain_guard.h Gain
Transmit, with Loop playback esp_sdr_tx.h Transmit
Crystal calibration esp_sdr_cal.h Crystal calibration
LTE synchronization signals esp_sdr_lte.h Crystal calibration

Samples in and out

Group Header Guide
Triggered snapshots esp_sdr_trig.h Burst capture
Continuous receive, with Bursts inside a run esp_sdr_ring.h Gapless receive
Gapless receive esp_sdr_gapless.h Gapless receive
Diagnostic-bus ring esp_sdr_diag.h Gapless receive
Diagnostic-bus ring on the ESP32-S31 esp_sdr_diag16.h Gapless receive
Dump-engine ring on the ESP32-S31 esp_sdr_dumpring.h Gapless receive
DAC-engine replay esp_sdr_replay.h Transmit
CPU-paced streaming esp_sdr_paced.h Paced streams

Modulation and coding

Group Header Guide
Channelized burst capture esp_sdr_chancap.h Channelizer
Signal processing helpers esp_sdr_dsp.h
Software PHY, in IEEE 802.15.4 ieee154_phy.h IEEE 802.15.4
Radio driver diagnostics, in IEEE 802.15.4 ieee154_esp_sdr.h IEEE 802.15.4

Support

Group Header Guide
Code and data placement esp_sdr_place.h Code placement
CPU profiler esp_sdr_prof.h Code placement

Headers outside the groups

These headers belong to no group; each has a file page only.

Header What
esp_sdr_xtensa.h ESP32-S3 CPU helpers: the cycle counter and the vector unit (PIE)
esp_sdr_ring_stage.h The receiver's output staged in internal RAM for a consumer on the other CPU
esdr_link.h The framed serial link between a host and apps/osmosdr_serial
esdr_fpga.h The esp-sdr gateware on the MCH2022 badge's iCE40UP5K
mch2022_coproc.h What apps/mch2022_coproc adds to the stock firmware of the MCH2022 badge's RP2040

esdr_fpga_regs.h, generated from the gateware, has no @file block and shows as source only.

SoC and Kconfig dependencies

Declarations that depend on the SoC or on Kconfig are all listed here; each says what it needs.

Not in this reference

The Zigbee stack of lib/zigbee (include/zigbee/, portable C behind the Z-Stack ZNP protocol of apps/zstack) documents its headers in plain comments and is not part of this reference.

Guides

The guides explain what the API does and why. Sphinx builds them from doc/ and publishes them with this reference: the overview, ESP-SDR on Zephyr, then five parts:

Source

The code is on GitHub: esp-sdr-zephyr.