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

What is exactly a peripheral reset on STM32H7

Hello,It's not clear for me what a peripheral reset (registers RCC_xxxRSTR) is doing. I didn't find the details in the reference manual. I assume it resets the internal state machine of the periph, its FIFOs, but for example does it also reset its co...

Gpeti by Senior II
  • 5244 Views
  • 5 replies
  • 1 kudos

How to program the Option Bytes on a G0?

I'm trying to program the option bytes on an STM32G0B1 but it keeps timing out at the end of the program sequence and never actually succeeds, no matter how many times I try.I enable the Flash peripheralI (successfully) unlock the flashI (successfull...

JKaz.1 by Associate III
  • 1105 Views
  • 2 replies
  • 0 kudos

Resolved! How can I use timer (TIM22) in STM32L031K6 to get interrupt on OC on channel 1 and generate PWM signal on channel 2?

In my application I want to use timer to turn on LED for around 300ms and simultaneously generate PWM signal of freq 2.7kHz (for buzzer) on PA10 pin. Is there any way I can achieve this?(NOTE: I have already used TIM2 and TIM21 timers. TIM21 is also ...

Resolved! Why HAL_I2C_Mem_Read returns only 0?

Hi,I am using stm32f1 and HUT21D sensor (Temperature and humidity sensor). The sensor use i2c for communication. I am using IAR and cubeMX.For cube: I used default setting for i2c.For IAR: I shared the main.c below.Can anyone help on why only get 0.#...

ATavo.1 by Associate III
  • 4251 Views
  • 12 replies
  • 0 kudos

Resolved! STM32f072R stuck at 16mhz (RESOLVED)

HI i got a problèm on an stm32f0.after a reset the µC is at 8mhz but i'm only able to climb to 16mhz when i want to go to 48MHZ , did someone have idea of where does the problem come from.the µc are not new because i work on protoboard and i cant cha...

Laxel.1 by Associate II
  • 1139 Views
  • 5 replies
  • 0 kudos

STM32G4 - HardFault on Voltage Drop

Hi!I currently am trying to investigate random hardfault errors if i connect some addon board to my current project. What is happening is: On connection, VCC drops to 1,8V minimum, while being under 2,5V for ~ 2us. The result of this is either a rese...

ToBi by Associate
  • 724 Views
  • 2 replies
  • 0 kudos