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

STM32G474 ADC offset

There is only 4 offset registers OFR1...OFR4, does it mean I can set offset for 4 channels only? Or they are dedicated to injected channels?

Tx to Rx UART DMA loopback

Hello,The Tx and Rx pins of UART 4 in my code are shorted. I want to send an incrementing array from the Tx pin and receive it back from the Rx pin.For this I wrote a for loop that increments every element of the array. The for loop is run from the c...

skon.1 by Senior
  • 1303 Views
  • 3 replies
  • 0 kudos

Resolved! Sending data via I2C doesnt work properly

Hi,I want to controll a ST7032 Display Modul via I2C with a STM32G071G8 MCU. Unfortunately I can't manage to send data bytes to the Display. For sending data I use the HAL function HAL_I2C_Master_Transmit() as followed: (for testing)HAL_I2C_Master_Tr...

0693W000004GpfxQAC.png
HReet by Associate
  • 711 Views
  • 2 replies
  • 0 kudos

STLINKV3 VCP1 & VCP2 BREAK & RTS command

Dear All,I try to use the 2 VCP on the STLinkV3 and I have some problem with standard command...I cannot Send a BREAK command on the TX line I cannot send RST ON/OFF command on the RST line of the VCP2When I use this command nothing append... Any ide...

FDarr.1 by Associate II
  • 475 Views
  • 0 replies
  • 0 kudos

Resolved! How to trigger ADC conversion via timer correctly?

Dear Community,for some time I've tried to set up the hardware of a STM32F429ZI to periodically trigger a discontinuous ADC conversion with 2 channels.I'm using TIM1 in PWM mode to generate CC interrupts with TIM CH3. The timer is running in center m...

CBrom.1 by Associate II
  • 3785 Views
  • 4 replies
  • 0 kudos

STM32H745 TIMER peripheral to memory DMA

Hi,I'm trying to get a timer with external clock (ETR2) to trigger a DMA transfer from GPIO to memory on a STM32H745 with no luck.I'm using cubeMX to generate the code below.The timer seems working. TIM2_IRQHandler is triggered periodically.However n...

Mvan .31 by Associate II
  • 731 Views
  • 2 replies
  • 0 kudos

STM32L451RE - How to detect a wakeup event in shutdown mode?

STM32L451RE - How to detect a Wakeup event in shutdown mode?Hi,I connected a Accelerometer interrupt on Wakeup Pin 2. In Standby mode "HAL_PWR_EnterSTANDBYMode();" I can wakeup MCU by moving Accelerometer.After that, the flags "PWR_FLAG_WUF2" and "PW...

CGern.1 by Associate
  • 493 Views
  • 0 replies
  • 0 kudos

LPTIM pulse counter

Hi,I am using stm32L431, in the documentation says that when using LPTIM pulse counter the 5 first pulses is lost, after this the counter works fine. But in my project this situation is not acceptable, because in some cases I use less than 5 pulses.I...

GFont.1 by Associate III
  • 738 Views
  • 2 replies
  • 0 kudos