I2S output
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 NXP MIMXRT1060-EVK (mimxrt1060_evkb)
Building and Running
The code can be found in samples/drivers/i2s/output.
To build and flash the application:
west build -b mimxrt1060_evkb samples/drivers/i2s/output
west flash