Skip to content

Commit a7e7e0b

Browse files
audio: add note on hardcoded frequency
1 parent 480d3cc commit a7e7e0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

microphone/drv_audio_pdm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ ret_code_t drv_audio_init(nrf_pdm_mode_t mode, uint64_t timestamp)
181181
//! position. The HW in the uC is designed for this frequency but Nordic
182182
//! does not support it oficially as it's not considered tested enough
183183
//! https://devzone.nordicsemi.com/f/nordic-q-a/15150/single-pdm-microphone-at-higher-pcm-sampling-rate
184+
//! NOTE: Change the clock frequency in the `drv_audio_pdm_event_handler` function if this is changed.
184185
pdm_cfg.clock_freq = 0x0A000000UL;
185186
local_freq = pdm_cfg.clock_freq;
186187

0 commit comments

Comments
 (0)