cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for an I2S with DMA example for reading from a MEMS microphone.

MOCle.1
Associate

I'm building a micropython firmware for running tensorflow lite for microcontroller examples.

One of the main reference examples is called micro_speech and involves reading audio from a MEMS microphone at 16Khz using DMA and I2S and then feeding it into a neural network to detect certain keywords.

Micropython has an I2S API that works on ESP32, RP2040 and STM32F4 and STM32F7's but there are HAL differences for STM32H7's.

I'm looking for an example of an I2S with DMA audio input scenario that I can copy the I2S DMA setup and incorporate it into the micropython I2S api.

0 REPLIES 0