Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
boards/ | 11-Mar-2024 | - | 48 | 41 | ||
src/ | 11-Mar-2024 | - | 138 | 98 | ||
CMakeLists.txt | D | 11-Mar-2024 | 187 | 9 | 5 | |
README.rst | D | 11-Mar-2024 | 971 | 35 | 25 | |
prj.conf | D | 11-Mar-2024 | 49 | 5 | 3 | |
sample.yaml | D | 11-Mar-2024 | 353 | 17 | 16 |
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