Skip to content
esp-labsESP32-S3 bench guide
All blocks

Connectivity

I2S

Digital audio in and out: microphones, amplifiers, codecs

built, not flashed

Loading the 3D view…

  • BCLK
  • WS
  • DIN
  • DOUT

Key facts

In our labs

8 labs use this block, across 1 tracks. Open a track to see them.

  • done by you
  • runs on the board
  • built, not flashed
  • planned

Key registers

I2S_RX_CONF_REGoffset 0x0020
I2S_RX_CONF_REG
BitsFieldWhat it does
20I2S_RX_PDM_ENPDM receive mode.
5I2S_RX_MONOMono mode.
3I2S_RX_SLAVE_MODTake BCK and WS from outside (slave).
2I2S_RX_STARTStart receiving.
0I2S_RX_RESETReset the receive unit.

Technical reference §28.14

I2S_TX_CONF_REGoffset 0x0024
I2S_TX_CONF_REG
BitsFieldWhat it does
26:24I2S_TX_CHAN_MODWhich channels carry data.
5I2S_TX_MONOMono mode.
2I2S_TX_STARTStart sending.
0I2S_TX_RESETReset the transmit unit.

Technical reference §28.14

I2S_RX_CONF1_REGoffset 0x0028
I2S_RX_CONF1_REG
BitsFieldWhat it does
17:13I2S_RX_BITS_MODBits per sample minus 1: 15 for 16-bit.
12:7I2S_RX_BCK_DIV_NUMBit-clock divider (never 1).

Technical reference §28.14

I2S_RX_CLKM_CONF_REGoffset 0x0030
I2S_RX_CLKM_CONF_REG
BitsFieldWhat it does
28:27I2S_RX_CLK_SELClock source: 0 XTAL, 1 PLL_D2, 2 PLL_F160M, 3 MCLK input.
26I2S_RX_CLK_ACTIVEReceive clock on.
7:0I2S_RX_CLKM_DIV_NUMWhole part of the clock divider.

Technical reference §28.14

Read the full sectionTechnical reference §28