STM32 MCUs products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F302CBT6 Master clock Configuration - I2S

Hello!I am trying to configure Master clock output frequency for I2S interfacing with the TI tlv320aic3254 but there is no Master clock or i2s setting on the clock configuration.As i see in the Clock tree in the datasheet there are master clock optio...

PPats.1 by Associate II
  • 211 Views
  • 2 replies
  • 0 kudos

Resolved! How can I configure 2 DMA for 2 i2s modules? [Solved]

Hi, I am trying to use a 4 I2s microphone. And I am using cubemx.I made work both of them with a sinple DMA transfer.I used I2s half duplex reciever 16of32bits sample rate 48Khz and DMA for 48*2 samples with uint16_t format. For that I used DMA1 str...

tcg by Associate III
  • 188 Views
  • 6 replies
  • 0 kudos

Resolved! HAL I2S Receive DMA mode stuck in BUSY mode

On a stm32 mcu, using HAL_I2S_Receive_DMA the clock generation is started. At first, the application went into a hard fault and nothing is subsequently written in the data receive buffer.HardFault_Handler:08000942:  push  {r7}08000944:  add   r7, sp,...

jess by Associate II
  • 234 Views
  • 2 replies
  • 0 kudos

Resolved! STM32H7 SAI / I2S max input clock "sai_x_ker_ck"

Hello,what is the maximum input clock for the SAIs and I2Ss for the H7 ?I mean "sai_x_ker_ck" and "spi_ker_ck".I couldn't find it in neither RM nor DS.Is it dependent on some AHB / APB or D1/2/3 clock?98.304 MHz is working (it is also in the RM's exa...

LCE by Lead III
  • 143 Views
  • 3 replies
  • 0 kudos

Send (by DMA) on SPI/I2S scrambles data , maybe wrong endian -> : how to change endianess (on H743) ? (also on conversion int32 -> double float and back to int.)

project audio-player : sending data by DMA -> SPI/I2S to DAC :at first i read from SDcard (void bytes) as it is, to playbuffer, send it by circular DMA ("halfword") on I2S (16 bit) to DAC (as standard I2S 2 x 16 bit frames); working perfect.to use hi...

AScha.3 by Principal
  • 223 Views
  • 1 replies
  • 2 kudos

STM32H743 I2S DATA MISSING IN THE RIGHT ALIGNMENT

Hello Experts,I am working on i2s of stm32h743. The Manual says when the alignment is left the zeros are sifted from 0 to 7 in case of 24bit data length which is correct work but when I change the alignment right the zero does not appear on 24 to 31b...

sainti by Associate II
  • 89 Views
  • 1 replies
  • 0 kudos

I2S clock strobing

The stm32u5xx_hal_sai.c sets up the I2S clock strobing like this:static HAL_StatusTypeDef SAI_InitI2S(SAI_HandleTypeDef *hsai, uint32_t protocol, uint32_t datasize, uint32_t nbslot) { HAL_StatusTypeDef status = HAL_OK;   hsai->Init.Protocol ...