Skip to content

respeaker/ReSpeaker_Lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ReSpeaker Lite

Powered by XMOS XU316 AI Sound and Audio chipset, this dev board excels in audio processing with its integrated dual microphone array, ideal for speech recognition and voice control. Featuring advanced onboard audio front-end algorithms, the XU316 chip provides interference cancellation, echo cancellation, and noise suppression. It supports I2S and USB connections and is compatible with Seeed Studio XIAO ESP32S3 (Sense), Adafruit QT Py, Raspberry Pi, and PC.

Latest XMOS Firmware

The Respeaker Lite provides two types of XMOS firmware: I2S firmware and USB firmware. Regardless of whether it comes with XIAO ESP32S3, both firmware types can be used. When using the USB firmware, the Respeaker Lite receives and outputs audio data through the USB interface, essentially acting as a USB sound card that can record and play audio at the same time. When using the I2S firmware, the Respeaker Lite receives and outputs audio data through the I2S interface. In this scenario, users can easily obtain high-quality far-field recordings with a host MCU (e.g., XIAO ESP32S3), and build their speech recognition and voice assistant applications quickly.

If you are new to update XMOS firmware, please refer to our DFU guide.

Releases and Change Logs:

  • USB Firmware: v2.0.7
  • I2S Firmware: v1.0.9
  • USB 48K Firmware: TODO
  • I2S 48K Firmware: v1.0.9, device name is "ReSpeaker Lite(48K)", I2S runs on 48KHz
  • Older versions

I2C interface of ReSpeaker Lite (only supported by I2S Firmware)

ReSpeaker Lite supports XMOS Command Transport Protocol over I2C. In this Protocol, the Resource ID is an 8-bit identifier that identifies the resource within the device that the command is for. Currently, there are 2 Resource ID(RESID): 240(0xF0) and 241(0xF1) supported by ReSpeaker Lite.

The I2C address of ReSpeaker Lite is 0x42. Its D4 pin is SDA and D5 pin is SCL.

RESID 240(0xF0): I2C DFU service

RESID 241(0xF1): Configuration service

Note:

  • Learn more about the XMOS VNR value: here

Audio Codec on ReSpeaker Lite

TLV320AIC3204 is the audio codec of Respeaker Lite, which is primarily used for playing sound through the 3.5mm jack or the speaker. This audio codec can be configured via I2C, and it shares the same I2C bus with the XMOS XU316 and XIAO ESP32S3, with an I2C address of 0x18. Here is an example of configuring the output volume with XIAO ESP32S3:

Use ReSpeaker Lite with XIAO ESP32S3

DIY

Pin Out

The headphone jack detection circuit

Defaultly, ReSpeaker Lite outputs audio via the speaker connected to the JST 2Pin Connector(hereinafter referred to as JST speaker). When an external headphone or speaker is plugged into the 3.5mm Jack, the JST speaker is muted and the audio output is switched to the external device. Here are the hardware circuit of ReSpeaker Lite to achieve this feature:

  • AUDIO_PA_EN pin is set to high by XMOS XU316 by default. User can use I2C interface RESID 241 CMD 0x10 to control this pin.
  • MICDET pin is connected to GND when the 3.5mm jack is empty and it is floating when the 3.5mm jack is fully engaged

Disable the headphone jack detection circuit

If users need control the audio output path by themselves, the following steps can be done:

  1. Short MICDET pin to GND to diable the headphone jack detection:
    • Note that please use tape to cover the microphones to protect them when soldering and cleaning

  1. Control audio output path by controlling AIC3204:
    • Send 0x40 to Page 1 Register 0x12 and 0x13 to disable LOL & LOR driver (JST speaker)
    • Or send 0x40 to Page 1 Register 0x10 and 0x11 to disable HPL & HPR driver (3.5mm Jack)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages