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

Resolved! Hi, I need to implement a PID controller on my Nucleo board STM32G474RE, is there any developed library for this particular controller or resources available that help me to implement the PID controller?

The following document explains the DSP library for STM32F10x which contains the functions for the PID controller, is it compatible with STM32G474RE? If not, would you please guide me about its implementation on a microcontroller? https://community.s...

WKhan.2 by Associate II
  • 13307 Views
  • 4 replies
  • 1 kudos

CANFD not receiving data

HELLO EVERBODY i want to test the canfd communication on my nuclue-h753 in normal mode, my goal is to transmit data from canbus1 and receive it on canbus2 and vicaversa i configured both CANFD1 AND CANFD2 on the board with classic can configuration ...

abeba.1 by Associate III
  • 589 Views
  • 0 replies
  • 0 kudos

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
  • 1051 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
  • 1818 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
  • 507 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
  • 1684 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
  • 771 Views
  • 0 replies
  • 0 kudos