This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

nordic,nrf-pdm

Vendor: Nordic Semiconductor

Description

Nordic PDM (Pulse Density Modulation interface)

Properties

Properties not inherited from the base binding file.

Name

Type

Details

clk-pin

int

CLK pin

This property is required.

din-pin

int

DIN pin

This property is required.

clock-source

string

Clock source to be used by the PDM peripheral. The following options
are available:
- "PCLK32M": 32 MHz peripheral clock, synchronous to HFCLK
- "PCLK32M_HFXO": PCLK32M running off the 32 MHz crystal oscillator
  (HFXO) for better clock accuracy and jitter performance
- "ACLK": Audio PLL clock with configurable frequency (frequency for
  this clock must be set via the "hfclkaudio-frequency" property
  in the "nordic,nrf-clock" node); this clock source is only available
  in the nRF53 Series SoCs and it requires the use of HFXO

Default value: PCLK32M_HFXO

Legal values: 'PCLK32M', 'PCLK32M_HFXO', 'ACLK'

queue-size

int

Size of the queue of received audio data blocks to be used
by the driver.

Default value: 4