STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

ADC output with offset in some unknown region

We are migrating project from F303 to G473, but the ADC output of G473 confused us with a strange problem, and with same circuit with F303 project below:sampling time: 66nssampling period: 1.16usvoltage range: 1~3VVdda / Vref: 3.3VHere is thre proble...

0693W00000Lw4aFQAR.jpg 0693W00000Lw4ZeQAJ.png 0693W00000Lw4amQAB.png 0693W00000Lw4b6QAB.png

Resolved! STM32F746: SAI doesn't work in TDM mode

Good day everyone.Trying to make SAI work in TDM mode with DMA on STM32F746.Need to transmit 8 stereo channels, the sample is 16-bit long. So 16 * 2 * 8 = 256 bit frame.Init code: hsai_BlockA1.Instance = SAI2_Block_A; hsai_BlockA1.Init.Protocol = S...

Clear SPI TX FIFO

I`m working with STM32G0 and SPI in slave mode.Is it possible to clear TX FIFO buffer without any master`s clock?In HAL library there is a function called "HAL_SPIEx_FlushRxFIFO", but no method to clear TX FIFO,

ADoro.2 by Associate III
  • 2392 Views
  • 3 replies
  • 0 kudos

F4 loops bug in O3, runs fine with O2

Hi, I'm having the weirdest bug with this code. It's just 2 for loops expecting to count from 0 to 5 and 0 to 8.When compiling with O3, i becomes very high and the execution gets stuck in the loops. Running STM32 Cube IDE 1.9.0STM32Cube FW_F4 V1.27.0...

0693W00000LvzpNQAR.png
Romain1 by Associate III
  • 1729 Views
  • 7 replies
  • 0 kudos