Hello Nordic Team,
I am using the nRF5340 Audio DK and I want to implement a simple audio loopback — where the board captures voice from the on-board PDM microphone and simultaneously plays it back through the headphone output (I²S / PCM) in real time.
My goal:
-
Capture audio from the built-in microphone.
-
Output the same signal immediately to the headphone jack (DAC path).
-
No Bluetooth streaming, just local loopback for testing.
Could you please guide me on:
-
Which nRF Connect SDK (NCS) example I can base this on (e.g.,
nrf5340_audio,nrf5340_audio_dk_app, or a simpler PDM/I2S sample)? -
How to enable both PDM input and I2S output simultaneously on the nRF5340 Audio DK.
-
Any configuration needed in
overlay.conf,dts, oraudio_system.cfor loopback operation. -
Whether this can be done in Zephyr directly (e.g., using the
drivers/audioori2sAPIs).
My setup:
-
Board: nRF5340 Audio DK (PCA10121)
-
NCS version: (v2.8.0)
-
Toolchain: nRF Connect for VS Code
-
Goal: Local mic → headphone loopback test
Thank you for your help and guidance.
Best regards,
Nishant Gaurav