Part 1
요약·해설
수신 audio를 처리하지 않는 driver 개발용 transfer sample입니다.
PDM
2
1 · 2
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
10667F5F40EF9D6C29C9A2FDFF59E7047437DEC0D85E9726C0FB74500CF0DD25
.. zephyr:code-sample:: dmic
:name: Digital Microphone (DMIC)
:relevant-api: audio_dmic_interface
Perform PDM transfers using different configurations.
Overview
********
This is a very simple application intended to show how to use the :ref:`Audio DMIC
API <audio_dmic_api>` and also to be an aid in developing drivers to implement this API.
It performs two PDM transfers with different configurations (using one channel
and two channels) but does not in any way process the received audio data.
Requirements
************
The device to be used by the sample is specified by defining a devicetree node
label named ``dmic_dev``.
The sample has been tested on :ref:`nrf52840dk_nrf52840` (nrf52840dk/nrf52840)
and :ref:`nrf5340dk_nrf5340` (nrf5340dk/nrf5340/cpuapp), and provides overlay
files for both of these boards.
Building and Running
********************
The code can be found in :zephyr_file:`samples/drivers/audio/dmic`.
To build and flash the application:
.. zephyr-app-commands::
:zephyr-app: samples/drivers/audio/dmic
:board: nrf52840dk/nrf52840
:goals: build flash
:compact:
Part 3
한국어 전문 번역
개요
이 sample은 Audio DMIC API의 사용법을 보여주고, 이 API를 구현하는 driver 개발을 돕기 위한 매우 간단한 application입니다. 한 channel과 두 channel을 사용하는 서로 다른 구성으로 두 번의 PDM transfer를 수행하지만, 수신한 audio data는 어떤 방식으로도 처리하지 않습니다.
요구 사항
Sample에서 사용할 device는 dmic_dev라는 devicetree node label로 지정합니다.
이 sample은 nrf52840dk/nrf52840과 nrf5340dk/nrf5340/cpuapp에서 시험되었으며, 두 board 모두에 대한 overlay 파일을 제공합니다.
Build와 실행
Code는 samples/drivers/audio/dmic에서 찾을 수 있습니다.
Application을 build하고 flash하려면 다음 명령을 사용합니다.
west build -b nrf52840dk/nrf52840 samples/drivers/audio/dmic
west flash
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.