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

How to sure LSI of stm32f103 started?

My product has a 5% chance of that LSI didn't start when system Power up. So IWDG not functional due to LSI missed.Here is my code to start LSI******************************LSI_CNT = 0; RCC_LSICmd(ENABLE); while( RCC_GetFlagStatus(RCC_FLAG_LSIRDY) =...

lzyos by Associate II
  • 800 Views
  • 2 replies
  • 0 kudos

Resolved! STM32F103 TIM Encoder mode not working

Hello I am trying to read the Quadrature optical encoder using TIM2 with STM32F103. I've done the Timer settings. But the TIM2->CNT Always zero. I measured the Timer channels with the oscilloscope. The encoder signals reach TIM_CH1 and TIM_CH2.(PA0, ...

Resolving Hard Fault with STM32F407

I've been working on debugging a hard fault occuring on an STM32F4-discovery board. For context, I'm working with a custom USB library which is used to communicate with an Android device in Accessory mode (this code uses usbh_core, etc and is similar...

Not able to do the calibration of the RTC on STM32F103C8T6

We are trying to implement RTC on STM32F103C8T6 bluepill using arduino IDE while implementing this we are not able to do the calibration of the RTC on STM32F103C8T6blue bill using Arduino IDE, can anyone suggest a possible solution for this problem.

ABhag by Associate
  • 718 Views
  • 3 replies
  • 0 kudos

The *.stldr file generated by MX25LM51245G_STM32L4R9I-DISCO (@ ST-LINK Utility 4.2.0.0) can't work for STM32L4R9I-DISCO device. Please give me some advices. Thanks.

The *.stldr file generated by MX25LM51245G_STM32L4R9I-DISCO (@ ST-LINK Utility 4.2.0.0) can't work for STM32L4R9I-DISCO device. ​​Step1. According to the readme.txt in the directory of "C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\...

xxues by Associate II
  • 5313 Views
  • 23 replies
  • 0 kudos

Resolved! STM32F7: Timers in encoder mode

I would like to know whether the general purpose timers Timer 1,8,2,3,4,5 in the STM32 F7 series can be configured in encoder mode?I am doing a comparison between F7 and H7 series Microcontrollers. I need to count my motor rotations through timers in...

SRoy by Associate II
  • 992 Views
  • 3 replies
  • 0 kudos