Part 1
요약·해설
짧은 burst 전송, TX queue drain과 devicetree alias 조건을 설명합니다.
Wave
Sine
Codec
None
Alias
i2s_tx
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
원문 SHA-256
2316529C2D3FE11BDC4AFEDC58872681603A3FAFD1AD186F6914D1C21DF01E38
.. 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 :ref:`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_evkb
:goals: build flash
:compact:
Part 3
한국어 전문 번역
개요
이 sample은 I2S driver를 사용해 audio data output stream을 전송하는 방법을 보여줍니다. 현재 이 sample은 CODEC을 사용하지 않으며 I2S output은 signal analyzer로 확인할 수 있습니다.
Sample은 sine wave로 구성된 짧은 audio data burst를 전송합니다. 그다음 I2S TX queue를 비우고 audio output을 중단합니다.
요구 사항
Sample에서 사용할 I2S device는 i2s_tx라는 devicetree alias로 지정합니다.
이 sample은 mimxrt1060_evkb에서 시험됐습니다.
Build와 실행
Code는 samples/drivers/i2s/output에서 찾을 수 있습니다.
Application을 build하고 flash하려면 다음 명령을 사용합니다.
west build -b mimxrt1060_evkb samples/drivers/i2s/output
west flash
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.