Data Sheet

4.12 I2C Interface 4 PERIPHERAL INTERFACE
4.12 I2C Interface
ESP32 has two I2C bus interfaces which can serve as I2C master or slave depending on the user’s configuration.
The I2C interfaces support:
Standard mode (100 kbit/s)
Fast mode (400 kbit/s)
Up to 5 MHz, but constrained by SDA pull up strength
7-bit/10-bit addressing mode
Dual addressing mode
Users can program command registers to control I2C interfaces to have more flexibility.
4.13 I2S Interface
Two standard I2S interfaces are available in ESP32. They can be operated in the master or slave mode, in full
duplex and half-duplex communication modes, and can be configured to operate with an 8-/16-/32-/40-/48-bit
resolution as input or output channels. BCK clock frequency from 10 kHz up to 40 MHz are supported. When one
or both of the I2S interfaces are configured in the master mode, the master clock can be output to the external
DAC/CODEC.
Both of the I2S interfaces have dedicated DMA controllers. PDM and BT PCM interfaces are supported.
4.14 Infrared Remote Controller
The infrared remote controller supports eight channels of infrared remote transmission and receiving. Through
programming the pulse waveform, it supports various infrared protocols. Eight channels share a 512 x 32-bit
block of memory to store the transmitting or receiving waveform.
4.15 Pulse Counter
The pulse counter captures pulse and counts pulse edges through seven modes. It has 8 channels; each channel
captures four signals at a time. The four input signals include two pulse signals and two control signals. When the
counter reaches a defined threshold, an interrupt is generated.
4.16 Pulse Width Modulation (PWM)
The Pulse Width Modulation (PWM) controller can be used for driving digital motors and smart lights. The controller
consists of PWM timers, the PWM operator and a dedicated capture sub-module. Each timer provides timing in
synchronus or independent form, and each PWM operator generates the waveform for one PWM channel. The
dedicated capture sub-module can accurately capture external timing events.
Espressif Systems 24 http://www.espressif.com