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

I am using STM32F407vg, i wrote a code for ADC while debugging value is not updating no errors as well in the code. i connected a 10K potentiometer to PA0, i checked with DMM no issues. I am adding my code snippet please let me know the mistake.

/* Includes ------------------------------------------------------------------*/ #include "main.h" #include "stm32f4xx_rcc.h" #include "stm32f4xx_gpio.h" #include "stm32f4xx_adc.h"   /* Private variables ----------------------------------------------...

psati by Associate II
  • 525 Views
  • 1 replies
  • 0 kudos

reset timer count value

i wrote a program and i want to turn on the led after passing a 500 and 750 , 1000ms.i use out put compare and use active on mach timer mode.but it only work one time , i realize that i should reset my timer and count value but i don't know how?plea...

Aes.1 by Associate
  • 576 Views
  • 1 replies
  • 0 kudos

Variables in domain D2 are not initialized ... here's why

By default, the variables in the D2 domain (SRAM1, SRAM2 and SRAM3) are not initialized by the linker because DATA_IN_D2_SRAM is not defined in the file system_stm32h7xx.c.DATA_IN_D2_SRAM is used by SystemInit () which is called by the STM32H7xx_Star...

JVERN.18 by Associate III
  • 1162 Views
  • 3 replies
  • 0 kudos

Weird problem with UART

I work with STM32L475.First I configure UARTint main(void) { /* Configure the system clock to 80 MHz */ SystemClock_Config(); GPIO_Setup();   USART_Setup(UART4, 115200);   USART_SendInt(UART4, 1234, 1); USART_SendInt(UART4, 0,...