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

Strange Characters Received with UART

Hello,I use the STM32F767 microprocessor on my PCB design. After sending back the converted data to a PC with UART, I got strange characters (in Picture1). Normally, I am supposed to get the numbers like in Picture2. The characters look like Chinese ...

AE104 by Senior
  • 4630 Views
  • 8 replies
  • 0 kudos

Force a timer to interrupt as soon as possible

Hello,I have a timer TIM2 interrupting every 2ms (that's working).When I receive SPI data from SPI3_IRQHandler, I want to launch the interrupt of this timer TIM2_IRQHandler as soon as possible (eg in the next 10us).Then, the timer will continue to in...

jean by Senior
  • 1533 Views
  • 9 replies
  • 0 kudos

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
  • 5229 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
  • 1094 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
  • 4209 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
  • 1133 Views
  • 5 replies
  • 0 kudos