Skip to content

Commit cf47e07

Browse files
lrgirdwolgirdwood
authored andcommitted
docs: platforms: add ESP32-C6 platform support and loopback bridge
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
1 parent 9d8d6b5 commit cf47e07

4 files changed

Lines changed: 27 additions & 6 deletions

File tree

architectures/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ System & Software Architecture
1111
The SOF software ecosystem supports two foundational deployment models tailored for different device form-factors:
1212

1313
1. **Host-Based Architecture**: Where the audio DSP is coupled to an application processor running a general-purpose operating system (**Linux**, **Android**, or **ChromeOS**). The host manages firmware lifecycle, parses topologies, and streams audio over DMA memory windows via inter-processor communication (IPC).
14-
2. **Hostless (Standalone / Embedded) Architecture**: Where SOF firmware runs autonomously directly on a microcontroller or standalone DSP (such as the **ESP32-P4** or **Teensy 4.1 / i.MX RT1062**) atop Zephyr RTOS without requiring a host CPU or external operating system.
14+
2. **Hostless (Standalone / Embedded) Architecture**: Where SOF firmware runs autonomously directly on a microcontroller or standalone DSP (such as the **ESP32-P4 / ESP32-C6** or **Teensy 4.1 / i.MX RT1062**) atop Zephyr RTOS without requiring a host CPU or external operating system.
1515

1616
Host-Based System & Software Architecture
1717
=========================================
@@ -194,7 +194,7 @@ The host-side driver is integrated directly upstream in the mainline Linux kerne
194194
Hostless (Standalone) Embedded Architecture
195195
===========================================
196196

197-
In hostless deployments (such as smart speakers, conference microphones, standalone audio bridges, hearing aids, IoT voice endpoints, and embedded test cards like the **ESP32-P4** and **Teensy 4.1 / i.MX RT1062**), SOF executes completely autonomously without requiring a host processor or general-purpose operating system:
197+
In hostless deployments (such as smart speakers, conference microphones, standalone audio bridges, hearing aids, IoT voice endpoints, and embedded test cards like the **ESP32-P4**, **ESP32-C6**, and **Teensy 4.1 / i.MX RT1062**), SOF executes completely autonomously without requiring a host processor or general-purpose operating system:
198198

199199
* **Autonomous Zephyr Application**: SOF operates as a self-contained Zephyr RTOS native application. It initializes on-chip peripherals, configures audio clocks, and begins pipeline processing immediately upon boot without waiting for host firmware downloads or handshakes.
200200
* **Static Pre-Compiled Topologies**: Instead of relying on a host kernel driver to dynamically parse binary ``.tplg`` files at runtime, hostless systems utilize pre-compiled static topology graphs embedded directly in firmware flash ROM or compiled into static C data structures.
@@ -203,7 +203,7 @@ In hostless deployments (such as smart speakers, conference microphones, standal
203203
* **Local Controls & Embedded Telemetry**: Volume, mute, EQ profiles, and audio routing are controlled locally via GPIO buttons, rotary encoders, or local Zephyr application threads, with real-time diagnostic trace logging streamed over UART or USB CDC.
204204

205205
.. graphviz::
206-
:caption: SOF Hostless Embedded System Architecture (ESP32-P4 / Teensy 4.1)
206+
:caption: SOF Hostless Embedded System Architecture (ESP32-P4 / ESP32-C6 / Teensy 4.1)
207207
:align: center
208208

209209
digraph hostless_stack {
@@ -241,7 +241,7 @@ In hostless deployments (such as smart speakers, conference microphones, standal
241241

242242
// 2. HOSTLESS AUDIO DSP FIRMWARE (MIDDLE)
243243
subgraph cluster_firmware {
244-
label = "Hostless SOF Firmware (ESP32-P4 / Teensy 4.1 / Embedded MCU)";
244+
label = "Hostless SOF Firmware (ESP32-P4 / ESP32-C6 / Teensy 4.1 / Embedded MCU)";
245245
style = "filled,rounded";
246246
color = "#27ae60";
247247
fillcolor = "#eafaf1";

data/platforms.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,27 @@ platforms:
622622
status: Active Integration
623623
notes: "Essential test card for automated I2S/PDM loopback verification across Spider and Aphid"
624624

625+
- id: esp32_c6
626+
vendor: Espressif
627+
family: ESP32-C6
628+
name: ESP32-C6 Audio Node & Loopback Bridge
629+
dsp_arch: RISC-V Single-Core HP (RV32IMAC)
630+
cores: 1
631+
clock_range: "160 MHz"
632+
platform_clock: "40 MHz XTAL"
633+
memory: "512 KB HP SRAM / 320 KB ROM"
634+
audio_interfaces:
635+
- "I2S (Controller & Target mode, S16_LE stereo playback/capture)"
636+
- "Dynamic DAI Discovery & Static Volume Controls"
637+
- "Hardware Loopback Bridge (XIAO / Waveshare C6-Zero)"
638+
ipc_versions:
639+
- N/A
640+
zephyr_target: "xiao_esp32c6/esp32c6/hpcore, esp32c6_devkitc"
641+
target_alias: esp32-c6
642+
test_dut: "Seeed XIAO (Tx) / Waveshare C6-Zero (Rx) Pair"
643+
status: Active Integration
644+
notes: "Ultra-low-power RISC-V audio node with automated hardware loopback verification (PR #11200)"
645+
625646
- id: qemu_sim
626647
vendor: Emulation
627648
family: Simulation

faq/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ and implement software quirks:
270270

271271
Can SOF run without a host computer?
272272
====================================
273-
Yes. The **Hostless (Standalone) Architecture** allows SOF to run independently on microcontrollers and embedded processors such as the **Teensy 4.1 (ARM Cortex-M7)** and **ESP32-P4 (dual-core RISC-V)**. In hostless mode, pipelines are instantiated at boot from static ROM configurations, processing audio directly between local microphones, line-ins, codecs, and Bluetooth transceivers.
273+
Yes. The **Hostless (Standalone) Architecture** allows SOF to run independently on microcontrollers and embedded processors such as the **Teensy 4.1 (ARM Cortex-M7)**, **ESP32-P4 (dual-core RISC-V)**, and **ESP32-C6 (single-core RISC-V)**. In hostless mode, pipelines are instantiated at boot from static ROM configurations, processing audio directly between local microphones, line-ins, codecs, and Bluetooth transceivers.
274274

275275
What physical audio buses and peripherals are supported?
276276
========================================================

introduction/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Architecture Overview
3737
Sound Open Firmware supports two foundational deployment models tailored for diverse device form-factors:
3838

3939
* **Host-Based Architecture**: Where the audio DSP is coupled to a host application processor running **Linux**, **Android**, or **ChromeOS**. The host OS driver stack (mainline Linux ``sound/soc/sof/``) manages firmware lifecycle, dynamic topology loading, and power management (D0ix/D3), while audio data streams through host DMA memory windows via IPC (IPC3/IPC4).
40-
* **Hostless (Standalone / Embedded) Architecture**: Where SOF runs autonomously on microcontrollers and standalone DSPs (such as the **ESP32-P4** or **Teensy 4.1 / i.MX RT1062**) atop the Zephyr RTOS. These systems process audio directly between physical hardware peripherals (I2S, SoundWire, PDM microphones, and Bluetooth transceivers) using ROM-embedded static topologies.
40+
* **Hostless (Standalone / Embedded) Architecture**: Where SOF runs autonomously on microcontrollers and standalone DSPs (such as the **ESP32-P4 / ESP32-C6** or **Teensy 4.1 / i.MX RT1062**) atop the Zephyr RTOS. These systems process audio directly between physical hardware peripherals (I2S, SoundWire, PDM microphones, and Bluetooth transceivers) using ROM-embedded static topologies.
4141

4242
.. seealso::
4343
For complete system stack diagrams, hostless designs, real-time pipeline DAGs, and memory hierarchy details, refer to the comprehensive :ref:`Architecture & System Design <architectures>` documentation.

0 commit comments

Comments
 (0)