Registers

nRF5340 Product Specification

Instances

Instance Domain Base address TrustZone Split access Description
Map Att DMA

PDM0 : S
PDM0 : NS

APPLICATION

0x50026000
0x40026000

US S SA No

Pulse density modulation (digital microphone) interface

Register overview

Register Offset TZ Description
TASKS_START 0x000

Starts continuous PDM transfer

TASKS_STOP 0x004

Stops PDM transfer

SUBSCRIBE_START 0x080

Subscribe configuration for task START

SUBSCRIBE_STOP 0x084

Subscribe configuration for task STOP

EVENTS_STARTED 0x100

PDM transfer has started

EVENTS_STOPPED 0x104

PDM transfer has finished

EVENTS_END 0x108

The PDM has written the last sample specified by SAMPLE.MAXCNT (or the last sample after a STOP task has been received) to Data RAM

PUBLISH_STARTED 0x180

Publish configuration for event STARTED

PUBLISH_STOPPED 0x184

Publish configuration for event STOPPED

PUBLISH_END 0x188

Publish configuration for event END

INTEN 0x300

Enable or disable interrupt

INTENSET 0x304

Enable interrupt

INTENCLR 0x308

Disable interrupt

ENABLE 0x500

PDM module enable register

PDMCLKCTRL 0x504

PDM clock generator control

MODE 0x508

Defines the routing of the connected PDM microphones' signals

GAINL 0x518

Left output gain adjustment

GAINR 0x51C

Right output gain adjustment

RATIO 0x520

Selects the ratio between PDM_CLK and output sample rate. Change PDMCLKCTRL accordingly.

PSEL.CLK 0x540

Pin number configuration for PDM CLK signal

PSEL.DIN 0x544

Pin number configuration for PDM DIN signal

MCLKCONFIG 0x54C

Master clock generator configuration

SAMPLE.PTR 0x560

RAM address pointer to write samples to with EasyDMA

SAMPLE.MAXCNT 0x564

Number of samples to allocate memory for in EasyDMA mode