STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32L072 slow start-up time

I'm using a STM32L072CZT6 in a mobile application in which I need the MCU to start up as fast as it can. Currently the start-up time is 6ms. That appears to be too long based on this thread (Start-up time too long), although I haven't found a typical...

MBles.1 by Associate II
  • 3171 Views
  • 8 replies
  • 0 kudos

Resolved! Why does configuration tool code generator changes my code in main between /* USER CODE BEGIN 5 */ and /* USER CODE END 5 */? I thought user code sections where untouched? What can be wrong?

Everytime i run code generator, the main file is changed between User Code ? */ /* USER CODE END Header_StartDefaultTask */ void StartDefaultTask(void const * argument) { /* USER CODE BEGIN 5 */ /* Infinite loop */ for(;;) { LedTask(); ...

sde c.1 by Senior II
  • 444 Views
  • 3 replies
  • 0 kudos

Resolved! Hi, good morning, I have a compilation error what I add Flash functions such as HAL_FLASH_Unloc() ... I don't understand why, maybe I miss a setting in the project. The microcontroller is ESP32G070xx. Can anyone help me? Thank you very much Julian

#include "stm32g0xx_hal.h"  HAL_FLASH_Unlock();  FLASH_Erase_Sector( FLASH_SECTOR_11,VOLTAGE_RANGE_1 );  HAL_FLASH_Lock();ERROR:../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g070xx.h:531:31: error: expected declaration specifiers or '...' before ...

JMigl.1 by Associate
  • 694 Views
  • 3 replies
  • 0 kudos

rms value measurement in stm32f030c6t6

dear experts i am working on stm32f030c6t6 MCU i want to calculate the adc measurement of sine wave form at Gpio pin and that gpio pin has a adc channel also i am using the DMA here i am using another Adc channel for other purpose please check my cod...

Sbomm.1 by Associate
  • 1303 Views
  • 2 replies
  • 1 kudos

Resolved! USART 2 Transmit not working

Board : STM32F746GI configure USART1 with same configuration. USART1 is working fine. I did same configuration for USART2 also, but USART2 not working. I don't know what's happening.Thanks Manikandan D

Mani1 by Associate II
  • 1304 Views
  • 9 replies
  • 0 kudos