README.rst
1.. zephyr:code-sample:: i2s-output
2 :name: I2S output
3 :relevant-api: i2s_interface
4
5 Send I2S output stream
6
7Overview
8********
9
10This sample demonstrates how to use an I2S driver to send an output stream of
11audio data. Currently, no codec is used with this sample. The I2S output can
12be verified with a signal analyzer.
13
14The sample will send a short burst of audio data, consisting of a sine wave.
15The I2S TX queue will then be drained, and audio output will stop.
16
17Requirements
18************
19
20The I2S device to be used by the sample is specified by defining
21a devicetree alias named ``i2s_tx``
22
23This sample has been tested on :zephyr:board:`mimxrt1060_evk` (mimxrt1060_evkb)
24
25Building and Running
26********************
27
28The code can be found in :zephyr_file:`samples/drivers/i2s/output`.
29
30To build and flash the application:
31
32.. zephyr-app-commands::
33 :zephyr-app: samples/drivers/i2s/output
34 :board: mimxrt1060_evk@B
35 :goals: build flash
36 :compact:
37