• Home
  • Annotate
  • current directory
Name Date Size #Lines LOC

..22-Aug-2025-

boards/22-Aug-2025-

src/22-Aug-2025-

CMakeLists.txt A D22-Aug-2025200 95

Kconfig A D22-Aug-2025657 3224

README.rst A D22-Aug-2025936 3423

prj.conf A D22-Aug-202551 43

sample.yaml A D22-Aug-2025374 1615

README.rst

1.. zephyr:code-sample:: i2s_codec
2   :name: I2S codec
3   :relevant-api: i2s_interface
4
5   Process an audio stream to codec.
6
7Overview
8********
9
10This sample demonstrates how to use an I2S driver in a simple processing of
11an audio stream. It configures and starts from memory buffer (sample sine wave) or from DMIC to
12record i2s data and send to codec with DMA.
13
14Requirements
15************
16
17This sample has been tested on mimxrt595_evk/mimxrt595s/cm33
18
19Building and Running
20********************
21
22The code can be found in :zephyr_file:`samples/drivers/i2s/i2s_codec`.
23
24To build and flash the application:
25
26.. zephyr-app-commands::
27   :zephyr-app: samples/drivers/i2s/i2s_codec
28   :board: mimxrt595_evk/mimxrt595s/cm33
29   :goals: build flash
30   :compact:
31
32To run you can connect earphones to the lineout connect and hear the sound
33from DMIC or from memory buffer. Sample sine wave is included for reference.
34