CODEC

Sample List

This chapter introduces the details of the CODEC sample. The RTL87x2G provides the following examples for the CODEC peripheral.

Functional Overview

Uplink Channel (Recording Channel): This device has an analog microphone and two digital microphone inputs with PDM interfaces for recording applications. Downlink Channel (Playback Channel): The monophonic analog DAC output only supports differential mode, used for external audio amplifier connection. CODEC I2S is used as the I2S Slave interface for the internal audio codec. The audio format supports I2S, Left-Justified, PCM Mode-A, and PCM Mode-B.

Feature List

  • Supports two uplink channels: channel0 / channel1.

  • Supports AMIC and DMIC encoding.

  • Supports one downlink channel: supports analog DAC output.

  • Configurable uplink and downlink sampling frequencies.

  • The I2S interface can support audio protocols like I2S, Left-Justified, PCM, etc.

  • RX supports 8/16-bit data length.

  • TX supports 8/16/24-bit channel length.

  • Supports 5-band EQ functions.