sparkfun / Arduino_Apollo3

Arduino core to support the Apollo3 microcontroller from Ambiq Micro
83 stars 37 forks source link

PDM Gain setting doesn't work #467

Closed tgruetzm closed 2 years ago

tgruetzm commented 2 years ago

In any of the PDM examples changing the gain setting on the board does not seem to affect the actual gain of the output. The output amplitudes are the same regardless. I tried digging through the code but can't seem to see anything wrong.

.eRightGain = AM_HAL_PDM_GAIN_P90DB, //Found empirically