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

Reinitialization of UART and ADC

Greetings, I am trying to re- initialize the UART port  which i have already initalized with different settings. I Have used HAL_UART_DeInit() before initializing. The problem i face is after the function is run i see the same configuration which i r...

STM32F407 using advanced timer TIM1 in output compare

I have been unsuccessful in using TIM1 in Output Compare mode. I was trying to use the code that works for the general purpose timers but I cannot get it to work with the advanced timer TIM1. I read online that it is because it was an advanced timer ...

jlaufer by Associate III
  • 895 Views
  • 1 replies
  • 0 kudos

ADC reread problem

Hi, the charging logic is implemented based on ADC values and I've designed the logic to capture the peak value from the PWM waveform using an oscilloscope. The main logic works fine during the first charging cycle, but when I try to charge for the s...

KOPRO by Associate III
  • 599 Views
  • 2 replies
  • 0 kudos

Resolved! Hard fault handler

Hello,I am using the STM32U575ZIT6 microcontroller and enabling the TrustZone option. When executing projects, the HardFault handler triggers when switching to the non-secure zone, displaying the message "No source available for <signal handler calle...

regarding issues in STM32L051 with simcom a7670c

#include "main.h" /* Private includes ----------------------------------------------------------*//* USER CODE BEGIN Includes */#include <stdio.h>#include <stdlib.h>#include <string.h> /* USER CODE END Includes */ /* Private typedef -----------------...

sree1996 by Associate
  • 599 Views
  • 0 replies
  • 0 kudos

Resolved! How to sleep when USB_VBUS on stm32f105 is low?

I have a self-powered device.  It appears as a USB CDC device /dev/ttyACM0, when plugged into a Linux host.  The device port is wired to USB_VBUS, so that pin will only be high when connected to a USB host.I would like to detect the presence of the U...

CDew.1 by Associate III
  • 1180 Views
  • 4 replies
  • 2 kudos

Shutdown issue with wakeup reason

Hi all,I have the following question related with an issue in LOW power modes in STM32 L4.We have developed a board with a STM32L4+. In this board we set the shutdown mode (by HAL_PWREx_EnterSHUTDOWNMode) and we wake from a wake-up pin (we are using ...

Resolved! G431RB 32 Bit Timer

I am attempting to set up an encoder on STM32G431RB using Tim 2 which is 32bit but it is only counting up to a 16bit value and going negative. I looked at the register through SFR and only the first 16 bits are active, is there another setting I need...

2.jpg 1.jpg

STM32 ADC3 acquisition twice

I would like to use the ADC3 of the STM32H7 series chip to realize that the voltage is collected once, and then the voltage is collected at a different point (meaning is it necessary to use two channels, because I see several channel choices in there...

hanqingze by Associate III
  • 332 Views
  • 0 replies
  • 0 kudos