• Home
  • History
  • Annotate
Name
Date
Size
#Lines
LOC

..--

boards/11-Mar-2024-4841

src/11-Mar-2024-13898

CMakeLists.txtD11-Mar-2024187 95

README.rstD11-Mar-2024971 3525

prj.confD11-Mar-202449 53

sample.yamlD11-Mar-2024353 1716

README.rst

1.. _dmic_sample:
2
3DMIC Sample
4###########
5
6Overview
7********
8
9This is a very simple application intended to show how to use the Audio DMIC
10API and also to be an aid in developing drivers to implement this API.
11It performs two PDM transfers with different configurations (using one channel
12and two channels) but does not in any way process the received audio data.
13
14Requirements
15************
16
17The device to be used by the sample is specified by defining a devicetree node
18label named ``dmic_dev``.
19The sample has been tested on :ref:`nrf52840dk_nrf52840` (nrf52840dk_nrf52840)
20and :ref:`nrf5340dk_nrf5340` (nrf5340dk_nrf5340_cpuapp), and provides overlay
21files for both of these boards.
22
23Building and Running
24********************
25
26The code can be found in :zephyr_file:`samples/drivers/audio/dmic`.
27
28To build and flash the application:
29
30.. zephyr-app-commands::
31   :zephyr-app: samples/drivers/audio/dmic
32   :board: nrf52840dk_nrf52840
33   :goals: build flash
34   :compact:
35