ESP32-S31-Korvo-1

Source: https://docs.espressif.com/projects/esp-dev-kits/en/latest/esp32s31/esp32-s31-korvo-1/user_guide.html#esp32-s31-korvo-1-v1-1

[中文]

This user guide will help you get started with ESP32-S31-Korvo-1 V1.1 and provides detailed information about this development board.

The ESP32-S31-Korvo-1 V1.1 is a multimedia development board based on the ESP32-S31-WROOM-3 module for smart audio and HMI applications. It features a dual-microphone array, speaker output, a microSD card slot, and an onboard DVP camera; supports speech recognition and voice wake-up; and comes with a 4.3-inch LCD subboard (ESP32-S3-LCD-EV-Board-SUB3).

ESP32-S31-Korvo-1 V1.1 (with ESP32-S31-WROOM-3 module on board)

ESP32-S31-Korvo-1 V1.1 (with ESP32-S31-WROOM-3 module on board)

The ESP32-S31-Korvo-1 V1.1 main board can work with the LCD subboard ESP32-S3-LCD-EV-Board-SUB3. This document mainly introduces the ESP32-S31-Korvo-1 V1.1 main board. For more information about the LCD subboard, please refer to the ESP32-S3-LCD-EV-Board User Guide.

The document consists of the following major sections:

Getting Started

This section briefly introduces ESP32-S31-Korvo-1 V1.1 and explains how to perform the initial hardware setup and how to flash firmware onto the board.

Description of Components

ESP32-S31-Korvo-1 V1.1 (click to enlarge)

ESP32-S31-Korvo-1 V1.1 (click to enlarge)

The following list describes the key components on the board in a clockwise direction.

No.ComponentDescription
1USB Type-C Port (Power)Power input only; no data communication.
2USB Type-C Port (UART)Can power the board, flash firmware to the chip, and communicate with the ESP32-S31 via the onboard USB-to-UART bridge.
3USB-to-UART BridgeSingle-chip USB-to-UART bridge supporting up to 3 Mbps.
4Power SwitchSlide toward ON to apply 5 V power; slide away from ON to disconnect 5 V power.
5USB 2.0 Type-A PortConnected to the ESP32-S31 USB 2.0 OTG High-Speed interface and supports the USB 2.0 standard. When used for USB communication, ESP32-S31 acts as a USB Host connected to downstream USB devices, providing up to 500 mA output current.
6Buck ConverterBuck DC-DC converter for 3.3 V system power.
75 V Power-on LEDLights when USB power is connected to the board.
8SwitchTPS2051C USB power switch with 500 mA current limit.
9Right Speaker Output PortRight-channel speaker output; can drive a 4 Ω, 3 W speaker. The pin spacing is 2.00 mm (0.08”).
10Right MicrophoneOnboard right analog microphone routed to the audio codec.
115 V to 3.3 V LDOConverts 5 V to 3.3 V for the audio circuitry.
12Right Audio PA ChipNS4150B low-EMI 3 W mono class-D amplifier driving the right speaker from the codec output.
13Function ButtonsFour buttons: PLAY, SET, VOL-, and VOL+, connected to ESP32-S31-WROOM-3 for UI control and audio application testing via dedicated APIs.
14Audio Codec ChipES8389 low-power stereo codec with dual ADC/DAC, low-noise preamp, headphone driver, digital effects, analog mixing, and gain control. Connected to the ESP32-S31 over I2S and I2C for hardware audio processing independent of application software.
15Left Audio PA ChipNS4150B low-EMI 3 W mono class-D amplifier driving the left speaker from the codec output.
16Left MicrophoneOnboard left analog microphone routed to the audio codec.
17Left Speaker Output PortLeft-channel speaker output; can drive a 4 Ω, 3 W speaker. The pin spacing is 2.00 mm (0.08”).
18RGB LEDAddressable RGB LED driven by GPIO37.
No.ComponentDescription
193.3 V to 1.8 V LDO (NC)Converts 3.3 V to 1.8 V for 1.8 V SPI NAND flash. Not populated by default (NC).
20SPI NAND Flash (NC)Quad SPI NAND flash sharing ESP32-S31-WROOM-3 signals with the microSD interface. Not populated by default (NC).
21LCD ConnectorConnector for the LCD subboard.
22ESP32-S31-WROOM-3ESP32-S31-WROOM-3 is a general-purpose module supporting 2.4 GHz Wi-Fi 6, Bluetooth 5.4, Bluetooth Classic, and IEEE 802.15.4 (Zigbee 3.0 and Thread 1.4). The module integrates ESP32-S31, 16 MB SPI flash, and 16 MB PSRAM, and uses an onboard PCB antenna.
23microSD Card SlotSupports 4-bit microSD for audio storage and playback. SDIO 3.0 capable.
243.3 V to 2.8 V LDOConverts 3.3 V to 2.8 V for the camera module.
253.3 V to 1.5 V LDOConverts 3.3 V to 1.5 V for the camera module.
26Camera ConnectorConnector for the onboard camera module for image transfer.
27Reset ButtonSystem reset.
28Boot ButtonFirmware download: hold Boot, press and release Reset to enter download mode; flash over the serial port.

Start Application Development

Before powering up the board, please make sure that it is in good condition with no obvious sign of damage.

Required Hardware

  • ESP32-S31-Korvo-1 V1.1
  • LCD subboard: ESP32-S3-LCD-EV-Board-SUB3
  • One or two speakers
  • Two USB 2.0 cables (Standard-A to Type-C)
  • Computer running Windows, Linux, or macOS

Note

Be sure to use a good-quality USB cable. Some cables are for charging only and do not provide the needed data lines nor work for programming the board.

Optional Hardware

  • microSD card

Hardware Setup

  1. Connect the LCD subboard to the LCD Connector.
  2. Connect one or two speakers to the speaker output port(s).
  3. Plug in two USB cables from the PC to both USB ports on the board.
  4. Turn on the power switch.
  5. The red power LED should light.

Software Setup

Please proceed to ESP-IDF Get Started, which will help you set up the development environment quickly and then flash an application onto your board.

To validate the board peripherals, you can also flash the factory demo .

Note

The board uses USB ports to communicate with the computer. Most operating systems (Windows, Linux, macOS) come with the required drivers pre-installed and the board is recognized automatically once plugged in. If the device cannot be recognized or a serial connection cannot be established, refer to Establish Serial Connection with ESP32-S31 for detailed driver installation steps.

Espressif provides board peripheral management components for many development boards to help you initialize and use key onboard peripherals such as LCD, audio codec, keys, and LEDs more easily and efficiently. Please visit the esp_board_manager component on the ESP Component Registry for support coverage.

Other Development Framework Options

In addition to ESP-IDF, this board supports the following frameworks and options for different user needs:

  • Espressif Bluetooth LE ecosystem: Develop Bluetooth LE applications using solutions such as ESP-BLE-MESH and ESP-BLE-AUDIO to accelerate time-to-market and mass production.
  • ESP-Brookesia: Human-machine interaction framework for AIoT devices for graphical UI and smart display applications.
  • ESP-GMF: Espressif general multimedia framework with audio/video processing components for multimedia applications.
    • Bluetooth audio: Unified Bluetooth audio APIs supporting Bluetooth Classic and LE Audio.
  • ESP Video Components: Camera, video streaming, and video processing components for image capture and video applications.
  • ESP-Matter: Build Matter and Thread devices suited to low-power and battery-powered scenarios.

Contents and Packaging

The package contains:

  • ESP32-S31-Korvo-1 V1.1 main board (with the camera module installed)
  • LCD subboard: ESP32-S3-LCD-EV-Board-SUB3

Ordering Information

The development board is available in the variant listed in the table below.

Part NumberOn-board ModuleFlashPSRAMAntenna
ESP32-S31-Korvo-1ESP32-S31-WROOM-316 MB16 MBPCB on-board antenna

For more information about available variants, visit the ESP Product Selector and select the Development Board tab. If you cannot find the variant you need in the table or Product Selector, or if you have special customization requirements, contact Espressif Sales.

Retail Orders

If you order a few samples, each board comes in an individual package in either an antistatic bag or any other packaging depending on your retailer.

For retail orders, please go to Get Samples.

Wholesale Orders

If you order in bulk, the boards come in large cardboard boxes.

For wholesale orders, please go to Contact Us.

Hardware Reference

Block Diagram

The main components of ESP32-S31-Korvo-1 V1.1 and their interconnections are shown in the block diagram below.

ESP32-S31-Korvo-1 V1.1 electrical block diagram (click to enlarge)

ESP32-S31-Korvo-1 V1.1 electrical block diagram (click to enlarge)

Power Supply Description

USB Power

Both USB Type-C ports can power the board: the Power port is power-only, while the UART port can supply power and carry data. When driving high-power speakers and using the USB Type-A port to power external devices at the same time, ensure the total input current to the board meets 3 A. Use a dedicated cable for USB power delivery, separate from the USB cable used for flashing applications.

ESP32-S31-Korvo-1 V1.1 - USB power supply (click to enlarge)

ESP32-S31-Korvo-1 V1.1 - USB power supply (click to enlarge)

Separate Audio Power

ESP32-S31-Korvo-1 V1.1 provides independent power supplies for audio components to reduce digital noise in audio signals and improve overall performance.

ESP32-S31-Korvo-1 V1.1 - audio power supply (click to enlarge)

ESP32-S31-Korvo-1 V1.1 - audio power supply (click to enlarge)

ES8389 Audio Codec Notes

ESP32-S31-Korvo-1 V1.1 uses the ES8389 audio codec. When transferring audio data with the SoC, note the following:

  • Both DAC and ADC signals must be sent to the SoC in TDM (Time Division Multiplexing) format.
  • Pin 4 (MCLK) of the ES8389 can be muxed to TDMIN via register configuration.

ESP32-S31-Korvo-1 V1.1 - ES8389 audio codec schematic (click to enlarge)

ESP32-S31-Korvo-1 V1.1 - ES8389 audio codec schematic (click to enlarge)

microSD Card and SPI NAND Flash

The microSD card and SPI NAND flash functions share GPIO20–GPIO25 on the ESP32-S31-WROOM-3 module. The board uses the microSD card function by default. To switch to the SPI NAND flash function, perform hardware rework: remove R7, R65, R66, R67, R68, and R69, and populate R22, R23, R1, R2, R3, R4, C6, R20, and U4. Note that ESP32-S31 supports both 1.8 V and 3.3 V NAND flash. For 1.8 V NAND flash, you must also populate R134, C66, C80, R100, U1, C82, and C67; for 3.3 V NAND flash, populate R135.

ESP32-S31-Korvo-1 V1.1 - microSD card function (click to enlarge)

ESP32-S31-Korvo-1 V1.1 - microSD card function (click to enlarge)

ESP32-S31-Korvo-1 V1.1 - SPI NAND flash function (click to enlarge)

ESP32-S31-Korvo-1 V1.1 - SPI NAND flash function (click to enlarge)

Pin Assignment Table

The table below lists the ESP32-S31-WROOM-3 module signals routed to onboard peripherals, grouped by peripheral.

ESP32-S31-WROOM-3 pin assignment

PeripheralSignalGPIODescription
Audio I2SI2S_MCLKGPIO2Master clock
I2S_SCLKGPIO3Serial clock
I2S_LRCLKGPIO4Frame clock (left/right channel select)
I2S_SDOUTGPIO5Audio output data line (DAC playback)
I2S_DSINGPIO6Audio input data line (ADC recording)
Audio I2CI2C_SDAGPIO0I2C data line for ES8389
I2C_SCLGPIO1I2C clock line for ES8389
SystemPA_CTRLGPIO7Enable control for left/right audio PA chips
WS2812_CTRLGPIO37Addressable RGB LED control
ADC BUTTONGPIO42Function buttons (PLAY/SET/VOL-/VOL+) via resistor divider ADC
UART0U0TXDGPIO58UART0 transmit (USB-to-UART bridge)
U0RXDGPIO59UART0 receive (USB-to-UART bridge)
microSD / SPI NANDSDIO_DATA0GPIO20Default microSD; SPI2_CLK when switched to SPI NAND
SDIO_DATA1GPIO21Default microSD; SPI2_D when switched to SPI NAND
SDIO_DATA2GPIO22Default microSD; SPI2_Q when switched to SPI NAND
SDIO_DATA3GPIO23Default microSD; SPI2_CS when switched to SPI NAND
SDIO_CLKGPIO24Default microSD; SPI2_HOLD when switched to SPI NAND
SDIO_CMDGPIO25Default microSD; SPI2_WP when switched to SPI NAND
SD_CTRLGPIO39microSD power/switch control; also Boot Mode 1
USB 2.0USB2.0_DPUSB_DPUSB 2.0 D+
USB2.0_DMUSB_DMUSB 2.0 D-
RGB LCDDB0 (B3)GPIO8LCD data bit 0
DB1 (B4)GPIO9LCD data bit 1
DB2 (B5)GPIO10LCD data bit 2
DB3 (B6)GPIO11LCD data bit 3
DB4 (B7)GPIO12LCD data bit 4
DB5 (G2)GPIO13LCD data bit 5
DB6 (G3)GPIO14LCD data bit 6
DB7 (G4)GPIO15LCD data bit 7
DB8 (G5)GPIO16LCD data bit 8
DB9 (G6)GPIO17LCD data bit 9
DB10 (G7)GPIO18LCD data bit 10
DB11 (R3)GPIO19LCD data bit 11
DB12 (R4)GPIO33LCD data bit 12
DB13 (R5)GPIO34LCD data bit 13
DB14 (R6)GPIO35LCD data bit 14
DB15 (R7)GPIO36LCD data bit 15
LCD_CSGPIO38LCD chip select; also Boot Mode 0 and GM_FK
LCD_PCLKGPIO40LCD pixel clock; also Boot Mode 2
LCD_H_ENGPIO43LCD data enable
LCD_H_SYNCGPIO44LCD horizontal sync
LCD_V_SYNCGPIO45LCD vertical sync
LCD_MOSIGPIO60LCD SPI MOSI; also Boot Mode 3
LCD_SCKGPIO61LCD SPI clock; also Boot Mode 4
DVP cameraCAM_D0GPIO46Camera data bit 0
CAM_D1GPIO47Camera data bit 1
CAM_D2GPIO48Camera data bit 2
CAM_D3GPIO49Camera data bit 3
CAM_D4GPIO50Camera data bit 4
CAM_D5GPIO51Camera data bit 5
CAM_D6GPIO52Camera data bit 6
CAM_D7GPIO53Camera data bit 7
CAM_PCLKGPIO54Camera pixel clock
CAM_XCLKGPIO55Camera master clock
CAM_V_SYNCGPIO56Camera vertical sync
CAM_H_SYNCGPIO57Camera horizontal sync
GM_FKGPIO38Camera GM_FK; shared with LCD_CS and Boot Mode 0

Hardware Setup Options

Automatic Download

There are two ways to put the ESP development board into download mode:

  • Manually press the Boot and RST buttons, then release RST first and Boot afterwards.
  • Let software perform automatic download using the serial port DTR and RTS signals to control EN and GPIO61. For details, see the ESP32-S31-Korvo-1 V1.1 schematic (PDF).

Hardware Revision Details

  • ESP32-S31-Korvo-1 V1.1: Matte black solder mask; larger PCB footprint; LCD subboard stacks on top of the main board when assembled. GPIO mapping is unchanged from V1.0.
  • ESP32-S31-Korvo-1 V1.0: First revision with green solder mask; LCD subboard extended beyond the board edge so onboard functions remained exposed for debugging.

For further design documentation for the board, please contact us at sales@espressif.com.

See Disclaimer and Copyright Notice.