I'm doing an application with MP45DT02 MEMS audio sensor omnidirectional digital microphone.

I'd like to use a STM32F4 MCU to control it, but I don't know much about it. Can I take input from the audio sensor and read it with the CS43L22 DAC unit? If so, how?

Also, are there any libraries available that I can use to drive these components?

  • 1
    \$\begingroup\$ Start off with embedding some links to the devices and try and clean up your question a bit using capital letters where appropriate and finishing sentences a bit better; "i cant it" isn't a proper end to a sentence. The bit about libraries - you are losing me here. \$\endgroup\$ – Andy aka Jul 26 '14 at 20:09

It appears to be a device with digital output using PDM (Pulse Density Modulation), which is the 1-bit oversampled output of a sigma-delta ADC-- it's similar to what's used in SACD. A microcontroller should be able to convert it to the more usual PCM format by digital filtering and resampling, provided it has enough processing power. Since the CS43L22 appears to take PCM data for input, you have no escape but to perform this conversion if you want to use it.

An alternative, which I believe should work, is to just output the data digitally via a GPIO, perform analog filtering (lowpass filtering at a cutoff of, say, 20 kHz), and then input it to an audio amplifier.

  • \$\begingroup\$ so first of all thanks for your clarification and also are there any any application that i take a look at then help me out there,if you got something like this application,i'm very appreciated if you share it with me. thank you have a nice day \$\endgroup\$ – onur Jul 26 '14 at 21:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.