STM32 MCUs products

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

New possibilities for the ultra-low power segment!

STM32U0 is the first Cortex-M0+ with a static consumption of only 160 nA in standby mode with RTC (Real-Time Clock) and 16 nA in shutdown. It also achieves 118 points in CoreMark and targets SESIP level 3 and PSA level 1 focusing on firmware code pro...


STM32H755 stalls when SDMMC interface is enabled

Hi Folks,I experienced a weird problem when I tried to use the SDMMC interface on the STM32H755 Nucleo board.I set up a very basic test program. I use the template for the H755 Nucleo in CubeIDE. I set the H7 clock frequency to 480 MHz and the M4 clo...

Dual Bank Memory Variants

Folks,When you have a dual bank STM32, at run time, is it just one contiguous area of memory. So, for example, if you were running out of the top of bank 1 and the next instruction was in bank 2, would the program seamlessly just jump from running ou...

DiBosco by Senior
  • 2 replies
  • 0 kudos

Resolved! How to initialize and use TIM2 for output compare?

I am using the STM32F303CB controller.System Clock - 72MHz APB1ENR - 72MHz for TimerI followed the below steps as per the reference manual.Timer2 Initialization: RCC->APB1ENR|= RCC_APB1ENR_TIM2EN;   TIM2->ARR = 72000-1;   TIM2->CCR1= 4000;   TIM2->...

It always work ok for RTC. But sometimes HAL_RTC_MspInit retrun me HAL_TIMEOUT, which case would cause this error? I did not change my hardware and firmware for RTC, I use the internal clock for rtc.

It will occur @here: /** @addtogroup RTC_Private_Functions * @{ *//** * @brief Enter the RTC Initialization mode. * @note  The RTC Initialization mode is write protected, use the *     __HAL_RTC_WRITEPROTECTION_DISABLE() before calling this function....

ZXiao.1 by Associate II
  • 4 replies
  • 0 kudos

Resolved! Can a Timer Capture Compare be skipped if needed?

I'm using a Timer (TIM8) in a capture compare application for measuring timing between signals. In some cases I don't need the value so I have been skipping the read of the CCRx register. I'm using a HAL command as the code below shows:The HAL_TIM_R...

BTrem.1 by Senior II
  • 2 replies
  • 0 kudos

How to read VBATT Voltage from ADC

I Am using STM32F303CB.I want to read the VBATT voltage from ADC1_IN17 as VBATT is connected to ADC1 channel 17.Here my Code:void ADC1_Init(){   RCC->CFGR2 |= RCC_CFGR2_ADCPRE12_DIV1;   RCC->AHBENR |= RCC_AHBENR_ADC12EN;   RCC->AHBENR |= RCC_AHBENR_G...