STM32 MCUs products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Help setting up I2S microphone!

I am trying to receive audio data from an I2S microphone (https://www.adafruit.com/product/3421) using my STM32L476RG board and its Serial Audio Interface (SAI). I'm using cubeIDE and I have the SAI set up as in the pictures below, however I am not s...

wecox2020_0-1710870921467.png wecox2020_1-1710870961271.png

STM32U5A5: SAI1 as PDM MIC interface

Does anybody have an example code how to use SAI in STM32U5A5 as PDM interface?I use STM32U5A5, with LQFP64 package. So, I understand from datasheet: the SAI (I have just SAI1 available om pins), supports PDM interface (for MEMS MICs). My package has...

Resolved! Creating software based retriggerable one pulse timer

Hi, I want to create a timer with retriggerable pulse of specified length. Now I know timer can do it, but there is an issue with one pulse retriggerable mode that needs to be from outside trigger otherwise it dont work. My application is specific an...

HZaib.1 by Associate III
  • 1141 Views
  • 11 replies
  • 1 kudos

Audio glitches on SAI slave sub-blocks (STM32H7)

Hi all,I am using the SAI peripheral on the STM32H753 and I have it set-up as follows:SAI2A - Master TX, asynchronousSAI2B - Slave RX, synchronous with sub-block ASAI3A - Slave TX, synchronous with SAI2SAI3B - Slave RX, synchronous with SAI2(SAI2 SYN...

Slave-SAI-Glitch.PNG
sweera by Associate II
  • 669 Views
  • 7 replies
  • 1 kudos

STM32H7 SAI synchronization clarification

In the STM32H7 ref manual (RM0433 - Section 51.4.4), the following is said about configuring an SAI block in synchronous mode with the other SAI block in the same SAI peripheralI'm confused about the following statements:Typically, the audio block in...

SAI-synchro-manual.PNG
sweera by Associate II
  • 308 Views
  • 1 replies
  • 0 kudos

SAI with blocking mode

Hello, I have this code     // Initialiser le bloc A fresult= HAL_SAI_Init(&hsai_BlockA1); if (fresult != HAL_OK) { return HAL_ERROR; } // Initialiser le bloc B fresult= HAL_SAI_Init(&hsai_BlockB1); if (fresult != HAL_OK) { r...

DYann1_0-1704728511248.png DYann1_1-1704728708060.png
DYann.1 by Senior
  • 1909 Views
  • 28 replies
  • 1 kudos

Using SAI on the STM32H5

Hello Team , I am trying to use the SAI1_A on the STM32H563ZI and I am not able to read any data using the asynchronous RX Mode. The control keeps checking for status != SAI_FIFOSTATUS_EMPTY and there are no updates post that.(Although, I am using th...

Jansunil_0-1701939515169.png
Jansunil by Associate II
  • 265 Views
  • 0 replies
  • 0 kudos
Labels