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

How do I set ADC DMA sample rate?

Hi there,I'm using DMA to circular sample ADC channels. I'm getting the ADC complete interrupt - its all good. The question is, how do I set the sampling rate of the DMA, let's say that I need those samples every 2 milisec - how to I set the DMA to p...

LSmil.1 by Associate II
  • 1225 Views
  • 3 replies
  • 0 kudos

Resolved! Problem using DMA and a timer while CPU is in sleep mode

I'm completely baffled as to how to make DMA and sleep mode work together on an STM32F0. I presume though that the issue is not family specific. It appears when the CPU enters sleep mode via the WFI instruction, DMA stops working. If a busy loop is u...

neoxic by Associate II
  • 2309 Views
  • 3 replies
  • 0 kudos

STM32L431 VBAT issue -- CLOSED

For whatever reason, I can't delete this post. It is closed, see resolution below.--------------------------Hello. We made a board that powers the VBAT pin of a ​STM32L431RCT6 directly from a coin cell battery. The LSE and RTC work well. But we reali...

JLemi by Associate III
  • 601 Views
  • 0 replies
  • 0 kudos

I2C bus monitor

I want to make i2c monitor that can read data sent by slave with specific address (0x42). So monitor has to capture sequence of​1. Start2. Slave address (write)3. Command byte 4. Repeated start 5. Slave address (read)And then start reading actual dat...

GBoft.1 by Associate
  • 2103 Views
  • 3 replies
  • 0 kudos

Phase correct PWM using timer 4 of STM32F407 micorcontroller

Hi, I am using the 176 Pin STM32F407 microcontroller. I want to generate the phase correct PWM using timer 4 ch1 and ch2, so please guide me for the same. The wave form is attached for driving a dual input boost converter. The "gate driver" image is ...

skhan.2 by Associate
  • 879 Views
  • 0 replies
  • 0 kudos

Resolved! STM32 DIMMER LEDS BRIGHTNESS

I have 36 leds on my board. I will connect dimmer my board. How can i adjust leds brightness with dimmer? Because i need to manage 36 output pins. How can i do it?

KAnahar by Associate III
  • 2639 Views
  • 2 replies
  • 0 kudos

Resolved! STM32L4 DFSDM clipping

Any ideas why values would be non linear in the approximately the upper 1 to 2 bits?For the setup below, it is linear to between -17000 to +14000. Doubling the + output only yields around +18000. These are raw values. This really acts like an overflo...

0693W00000QNKABQA5.png
_EFrie by Senior
  • 3429 Views
  • 3 replies
  • 0 kudos