We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6f7e41 commit f132517Copy full SHA for f132517
libraries/PDM/src/PDM.cpp
@@ -64,7 +64,9 @@ int PDMClass::begin(int channels, long sampleRate)
64
// configure the sample rate and channels
65
switch (sampleRate) {
66
case 16000:
67
+ #ifndef NRF52832_XXAA
68
NRF_PDM->RATIO = ((PDM_RATIO_RATIO_Ratio80 << PDM_RATIO_RATIO_Pos) & PDM_RATIO_RATIO_Msk);
69
+ #endif
70
nrf_pdm_clock_set(NRF_PDM_FREQ_1280K);
71
break;
72
case 41667:
0 commit comments