Hi,
We are using T4MC MCU for audio application. Is it possible for such MCU to work with digital MEMS microphone that produces PDM signal?
Thanks!
Tianlei
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
We are using T4MC MCU for audio application. Is it possible for such MCU to work with digital MEMS microphone that produces PDM signal?
Thanks!
Tianlei
Bruno Saraiva said:I am assuming that your mike outputs data via SPI bus, is that correct?
I wouldn't think so for PDM. I'd naively expect a pulse stream.
Bruno Saraiva said:but the TM4C MCU can surely receive the data from your microphone, and you will then convert it to your desired signal - is that your idea?
An obvious approach would be an analog filter.
Robert
Robert Adsett said:I wouldn't think so for PDM. I'd naively expect a pulse stream.
I was thinking of three other subjects at the same time, and certainly had some sort of synapsis short circuit going on! I should probably blur out my previous post...
The application note I thought about makes use of a I2S input - which is not a hardware available in TM4Cs...
And only to add an alternative approach - the use of a dedicated IC - here's a thread from the subject's TI's Forum:
https://e2e.ti.com/support/data_converters/audio_converters/f/64/t/553593
Bruno Saraiva said:I was thinking of three other subjects at the same time, and certainly had some sort of synapsis short circuit going on! I should probably blur out my previous post...
Can't imagine how that would happen ;)
Bruno Saraiva said:And only to add an alternative approach - the use of a dedicated IC - here's a thread from the subject's TI's Forum:
Probably better quality output than a simple analog filter.
Robert
Do note - while all such MCU vendors gravitate toward, "Kitchen Sink" (i.e. do more that (effectively/properly) designed to encompass) there are similarly priced/sized ARM MCUs w/ "in-built" I2S! (poster made specific mention of I2S)
Most always - all such "recreated/cobbled methods" cannot match the speed, performance, price nor robustness of a "designed to purpose" device! AND these "attempts" expend user time/effort/funds - to reach such (often disappointing) discovery!
Users must become "better Tech Investigators" (sail to/visit many shores) or they "Self-Limit" their choices & capabilities - never good!
Hi Tianlei,
Are you looking for a digital decimation filter in software to convert PDM to PCM? As noted by Bruno/cb1, there is no native I2S interface to take the microphone PDM input in TM4C. You will need to use dual SPI to emulate the I2S.