STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

best way to reset circular DMA

I am sending an audio stream from memory to SAI2 on an STM32L476JG. There will be moments where I disable the DMA based on external asynchronous events. Can someone tell me the appropriate way to then reset the DMA so that when it begins again it i...

SWenn.1 by Senior III
  • 469 Views
  • 1 replies
  • 0 kudos

How to update TIM2->CCR3 register on runtime ?

I am using STM32F429ZIT6 - NucleoMy application needs to generate pulses on specific encoder position like this : I was able to setup TIM2 Channel 1&2 in encoder Mode, TIM2 Channel 3 Output Compare (no output) as master to TIM1 Channel 1 in One pulse...

0693W00000KbLo1QAF.png
DPatr.2 by Associate III
  • 1489 Views
  • 4 replies
  • 0 kudos

How to configure GPIO output for a given timer?

Hello,I have a very straightforward question but I am not able to find the answer in the user manual. I am using the L476RG nucleo board and setting the TIM5 registers to output a PWM. How can I select the output pin? Is it fixed or does it have som...

Tommino by Senior
  • 2739 Views
  • 1 replies
  • 0 kudos

STM32L011F4 ADC Reading problem

In a previous project, I configured the PA0, PA1 PA2 inputs as ADC and read them with DMA without any problems. Since I need to use PA0 and PA1 for another job, I shifted the ADC inputs to PA7 and PB1. but I was not able to read these channels with D...

Resolved! SAI / I2S w/ multiple sampling rates & Audio Clock Input (I2S_CKIN)

In all the STM32s that have I2S / SAIs and ethernet that I've checked, there is this fixed oversampling ratio of 256 between master clock and sampling rate.When using the internal PLL to get the sampling clocks, no problem (amazing how good and stabl...

LCE by Principal II
  • 1352 Views
  • 4 replies
  • 0 kudos

Configuring STM32H743ZI2 FDCAN as normal can

Firstly, I have a can transceiver that worked in STM32F7 nucleo board with interrupt mode configuration. So my transceiver works properly I guess.Now, I am trying to configure H743ZI2 to create normal can frames. My setup is 2 H743ZI2's and used same...

EKosa.1 by Associate III
  • 2035 Views
  • 4 replies
  • 0 kudos