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 to sample at the middle of a PWM signal - STM32G071

This question has been asked in various forms before but I have not found an answer. I am using TIM2 to generate a center aligned PWM signal as shown in the image. I want to sample the ADC at the center of the PWM. I am using the TRGO signal of the ...

GDB loading of STM32F072 device

Occasionally debug gets stuck while loading and never gets to main with the console showing:Program received signal SIGINT, Interrupt.0xfffffffe in ?? ()Once in this mode, the only way to recover is to use the STM32CubeProgrammer to clear the target ...

CScho.1 by Associate
  • 602 Views
  • 1 replies
  • 0 kudos

STM32F030 HAL_UART_Transmit problem

Hi,I am trying to receive and trasnmit data with STM32F030C8 mcu, i can receive any data from serial monitor, but when i try to use HAL_UART_Transmit to send data, i can not see anything on serial monitor. Any advise?uint8_t data[25];//this my data b...

er3481 by Senior
  • 593 Views
  • 3 replies
  • 0 kudos

On my STM32F103C8 my code execution jumps intoto Error_Handler() function but I cannot find who generates the error?

I have a simple code I'm using I2C and TIM2 timer interrupt at 100us. Initially I suspected the issue comes from HAL_TIM_PeriodElapsedCallback but the code inside this function is really few instructions.In the main.c there are two calls of Error_Ha...

CSand by Associate III
  • 815 Views
  • 3 replies
  • 1 kudos

HSI48 and CRS accuracy issue

Hi all, I am using the STM32H755 Nucleo board to test a proof of concept clock recovery solution. I am using the CRS external GPIO sync pin with a 1kHz refclk to synchronise the HSI48, and output the synchronised clock on MCO1. The issue I am having...

MJack.1 by Associate III
  • 1784 Views
  • 2 replies
  • 0 kudos