An I2S (Interactive Two-Way Serial) interface is a type of serial communication protocol used for transferring data between devices.

It is commonly used in computer networking, as well as in audio processing and digital electronics.

I2S interfaces typically use a combination of fast and slow data transfer rates to make efficient use of communication bandwidth and minimize noise and errors.

One of the key features of I2S interfaces is their ability to support full-duplex communication, which allows for the simultaneous transfer of data in both directions.

This makes I2S a popular choice for high-speed data transfer applications.

Pin

Name also Name func RPI GPIO RPI pin
BCLK   Bit clock line G18 PIN 12
WS LRCK Word clock line G19 PIN 35
SD SDIN / SDOUT At least one multiplexed data line G21 PIN 40

Solution

ref

https://en.wikipedia.org/wiki/I%C2%B2S