zephyr/samples/drivers/i2s/output
Khoa Tran bd47fd4f5d samples: i2s: Add support for i2s SSIE on Renesas RA boards
Add Renesas RA board support for these tests:
- samples/drivers/i2s/output

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-06-26 11:12:21 +02:00
..
boards samples: i2s: Add support for i2s SSIE on Renesas RA boards 2025-06-26 11:12:21 +02:00
src
CMakeLists.txt
prj.conf
README.rst boards: mimxrt1060_evk: Convert to variants 2024-12-20 22:59:59 +01:00
sample.yaml samples: drivers: i2s: Support mimxrt1170_evkb platform in i2s output 2025-05-15 16:16:28 +02:00

.. zephyr:code-sample:: i2s-output
   :name: I2S output
   :relevant-api: i2s_interface

   Send I2S output stream

Overview
********

This sample demonstrates how to use an I2S driver to send an output stream of
audio data. Currently, no codec is used with this sample. The I2S output can
be verified with a signal analyzer.

The sample will send a short burst of audio data, consisting of a sine wave.
The I2S TX queue will then be drained, and audio output will stop.

Requirements
************

The I2S device to be used by the sample is specified by defining
a devicetree alias named ``i2s_tx``

This sample has been tested on :zephyr:board:`mimxrt1060_evk` (mimxrt1060_evkb)

Building and Running
********************

The code can be found in :zephyr_file:`samples/drivers/i2s/output`.

To build and flash the application:

.. zephyr-app-commands::
   :zephyr-app: samples/drivers/i2s/output
   :board: mimxrt1060_evk@B
   :goals: build flash
   :compact: