Skip to main content

reSpeaker Flex with XIAO ESP32S3

Overview

The reSpeaker Flex ESP32 version integrates a pre-soldered XIAO ESP32S3 module on the core board, providing built-in Wi-Fi and Bluetooth connectivity for wireless control and edge processing. Powered by the XMOS XVF3800 voice processor, the system maintains the same modular architecture where the microphone array board connects to the core board through a flexible 24-pin FPC cable, allowing flexible placement inside device enclosures. It supports both circular and linear 4-microphone arrays, enabling either 360° omnidirectional capture or directional front-facing pickup. The system can operate through USB (UAC 2.0) or I2S, while the integrated ESP32S3 enables IoT connectivity, local control, and easier integration with embedded applications.

reSpeaker Flex XVF3800 Linear with XIAO ESP32S3 reSpeaker Flex XVF3800 Circular with XIAO ESP32S3

Features

  • Split modular design: Core board and microphone array board are physically separate, connected via FPC ribbon cable for flexible placement in any product chassis

  • Choice of microphone configurations: Swap between circular 4-mic array (360° pickup, 44mm spacing) or linear 4-mic array (180° front directivity, 33mm spacing) using the same core board

  • XMOS XVF3800 audio processing: Full suite of AEC, AGC, DoA, multi-channel beamforming, VAD, noise suppression, and de-reverberation

  • Dual operation modes: USB UAC 2.0 for plug-and-play with PCs and SBCs; I2S mode for direct embedded integration

  • Dual USB connectivity: USB-C port and PH2.0 locking port both support UAC 2.0 audio and DFU firmware upgrade

  • On-board speaker amplifier: Supports driving 10W 4 Ohms speakers via JST connector, with 3.5mm AUX headphone output

  • XIAO ESP32S3 support: Pre-solidered module adds Wi-Fi/Bluetooth, with I2S and I2C buses wired directly to XVF3800 for wireless control and audio forwarding

  • Firmware flexibility: Dual USB firmware variants (2-channel and 6-channel), I2S firmware, DFU upgrade via dfu-util, and configuration persistence across power cycles

  • Python SDK: Adjustable recording format, volume, algorithm parameters, and channel routing via Python

Main Components

pir

Core Board

Component / FeatureDescription
Main Audio ProcessorXMOS XVF3800 (firmware v3.2.1), handles all audio DSP including AEC, beamforming, DoA, and noise suppression
Audio CodecTLV320AIC3104, handles audio conversion and DAC output
FPC Mic Array Interface24-pin FPC connector with locking latch, supports up to 8-mic arrays with 2 GPIO lines
USB-C PortUAC 2.0 audio, DFU firmware upgrade, and power
PH2.0 PortLocking latch connector; provides the same UAC 2.0 audio and DFU support as the USB-C port
3.5 mm AUX JackSide-exit headphone output driven from the on-board DAC
Speaker JST ConnectorUpright-mount connector that drives speakers up to 10W at 4Ω; solder pad preserved for hard-wired speaker connection
External Power TerminalSupplies 12V to the whole system and supports 10W speaker loads (P1 priority)
RST ButtonHardware reset for the XVF3800
SafeMode (Boot) ButtonHold during power-on to enter safe mode for firmware recovery
PWR LEDGreen power-on indicator
Debug PadReserved pad for XMOS XTAG4 (not soldered at the factory)
XMOS 3800 IO HeadersExposed pin headers/pads for I2C, I2S, 5V/GND, speaker pins, and remaining XVF3800 IO
Mounting Holes4 × M3 mounting holes
XIAO ESP32S3Supports soldering XIAO ESP32S3 when used as the host device
XIAO ESP32S3 GPIORemaining GPIO can be used for IO and peripheral expansion

Circular Array Board

pir

Component / FeatureDescription
Microphones4× PDM MEMS microphones with 44 mm spacing arranged in a circular layout
Pickup Pattern360° omnidirectional audio capture
InterfaceFPC connector to the core board
Mounting3 × M3 mounting holes for enclosure or housing attachment

Linear Array Board

pir

Component / FeatureDescription
Microphones4× PDM MEMS microphones with 33 mm spacing arranged in a linear layout
Pickup PatternFront-facing pickup pattern of approximately 180°, with rear sound suppressed
InterfaceFPC connector; cable can be routed from the side or rear
Mounting2 × M3 mounting holes

XIAO ESP32S3 Support

pir

pir

The reSpeaker Flex core board includes a dedicated footprint for soldering a Seeed Studio XIAO ESP32S3 module, enabling Wi-Fi and Bluetooth connectivity on top of the XVF3800's audio processing pipeline. The SKUs including XIAO (-C4-1 and -L4-1) ship with this module pre-populated; the base SKUs (-C4-0 and -L4-0) leave the footprint unpopulated. When the XIAO is fitted, the following connections are wired between it and the XVF3800:

  • I2S bus — dual-bus (playback and record) with shared BCLK, MCLK, and LRCLK for audio streaming in both directions
  • I2C bus — for reading and writing XVF3800 configuration parameters from the XIAO
  • RST line — XIAO can assert a hardware reset on the XVF3800 via a dedicated IO pin
  • Remaining XIAO IO — brought out to labelled pin headers/pads for user expansion

Pin Header

pir

pir

24 FPC cable

The FPC mic array interface is a 24-pin, 0.5mm pitch connector with a locking latch, and the 20cm FPC ribbon cable included in the box is keyed to this connector.

pir

PinSignal NameTypeFunction DescriptionNotes
1MIC_VDDPowerMicrophone power supply3.3V supply
2MIC_VDDPowerMicrophone power supplyDual pin for enhanced power stability
3GNDGNDPower return groundPower GND
4MIC_CLKOutGlobal clock signalCore signal, 2–4 MHz
5GNDGNDClock shielding groundDedicated ground for clock
6MIC_D1InData line 1CH1 microphone
7GNDGNDD1 isolation ground
8MIC_D2InData line 2CH2 microphone
9GNDGNDD2 isolation ground
10MIC_D3InData line 3CH3 microphone
11GNDGNDD3 isolation ground
12MIC_D4InData line 4CH4 microphone
13GNDGNDD4 isolation ground
14MIC_D5InData line 5CH5 microphone
15GNDGNDD5 isolation ground
16MIC_D6InData line 6CH6 microphone
17GNDGNDD6 isolation ground
18MIC_D7InData line 7CH7 microphone
19GNDGNDD7 isolation ground
20MIC_D8InData line 8CH8 microphone
21GNDGNDD8 isolation ground
22GPIO_1I/OGeneral-purpose input/outputExpansion function
23GPIO_2I/OGeneral-purpose input/outputExpansion function
24GNDGNDGPIO shielding groundAbsorbs GPIO noise

Getting Started

Hardware Preparation

  • USB Type-c Cable
  • Host Computer or Raspberry Pi

Flash the I2S firmware

To use the reSpeaker Flex with XIAO ESP32S3, please make sure the reSpeaker Flex firmware is the I2S version. Check Firmware Flash to flash the latest I2S firmware. Please vist for section

note

Usually, the reSpeaker Flex with the XIAO ESP32S3 comes with factory firmware configured for the I2S version.

Software Preparation

Install Arduino IDE

Download and Install the stable version of Arduino IDE according to your operating system


Install Arduino-ESP32

To start the installation process using the Boards Manager, follow these steps:

  • Install the current upstream Arduino IDE at the 1.8 level or later. The current version is at the arduino.cc website.

  • Start Arduino and open the Settings window.

  • Enter one of the release links above into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

pir

  • Open Boards Manager from the sidebar, search ESP32 and click INSTALL.

pir

  • Restart Arduino IDE.

Supportive Library

note

Please install the Arduino Audio Tools library in order to run the provided examples.

Tech Support & Product Discussion

Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.

Loading Comments...