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

STM32F407 Sector Flash Erase forces WWDG reset

Hello all,I am facing following problem:Trying to perform an erase operation of a flash sector forces a WWDG reset. The WWDG is initialized with following settings: hwwdg.Instance = WWDG; hwwdg.Init.Prescaler = WWDG_PRESCALER_8; hwwdg.Init.Wind...

Footprint of a Microcontroller

HelloI found this article of ST about an LCA of a microcontroller: https://www.st.com/content/st_com/en/about/st_approach_to_sustainability/sustainability-priorities/sustainable-technology/eco-design/footprint-of-a-microcontroller.htmlIs it possible ...

32kHz crystal for 32F411EDISCOVERY board

HelloI want to add a 32kHz crystal on a F411 discovery board for the LSE.On the schematics, X2 has the value XTAL_32K_20PPM but is not fitted.Does someone has some hints for choosing the right crystal ?Bests

Hello, I am new to STM32 and I am trying to generate PWM signal of 10 KHZ and 50% duty cycle and i am not able to achive it and I am using STM32L476VG DISCO board and for reference I have attached the code. Thank you

/*CODE to generate PWM signal of 50%*/#include "stm32l476xx.h"#include "pwm.h"void pwm_init(void){ /*RCC configuration*/ RCC->AHB2ENR|=RCC_AHB2ENR_GPIOEEN;//ENABLE GPIOE RCC->APB2ENR|=RCC_APB2ENR_TIM1EN;// ENABLE CLOCK ACCESS TO TIM1 //RCC->APB1ENR1|...

PKuma.23 by Associate II
  • 1424 Views
  • 5 replies
  • 0 kudos

DMA stay in busy state when using HAL_I2C_Slave_Receive_DMA

Hello,I'm working on 2 NUCLEO-F767ZI Demo Board.I'm using STM32CubeMX with last firmware package to generate the code and STM32CubeIDE to modify it and debug it.One of the board is used as an I2C Master, the other as I2C Slave. Every thing work fine ...

ANauz.1 by Senior II
  • 1515 Views
  • 2 replies
  • 0 kudos

Resolved! I need to use PG10-NRST as a GPIO. So I check the Reference manual to find out how to do it. I find that it can be done if I modify the field NRST_MODE to 2 and I really do this. But it doesn't work.The mcu still reset when PG10-NRST comes a low level.

Here is my code in main() to config field NRST_MODE: HAL_FLASH_Unlock(); HAL_FLASH_OB_Unlock(); gFlashOBST.OptionType = OPTIONBYTE_USER; gFlashOBST.USERType  = OB_USER_NRST_MODE; gFlashOBST.USERConfig = FLASH_OPTR_NRST_MODE_1; HAL_FLASHEx_OBProgram(&...

fhu.11 by Associate II
  • 1769 Views
  • 7 replies
  • 0 kudos