STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Flash write command error

Posted on May 11, 2018 at 22:55Hello Guys, I am using STM32 L476RG microcontroller. I am trying to program it with ST Link V2 and ST link utility. The utility recognizes my microcontroller however when I try to drag and drop the code, I get a fail.T...

Cube32MX - input capture overflow detection.

Posted on May 18, 2017 at 22:46Hi.I'm trying to use TIM1's channel 1 as a spindle RPM input capture. ( device is STM32F103C8 )Knowing that the spindle has a single pulse per revolution and is rated from 0 to 30K rpm, the frequency domain is 0 to 500...

arnaljl by Associate III
  • 3229 Views
  • 16 replies
  • 1 kudos

Using an external signal to clear TIM counter

Posted on May 11, 2018 at 20:57I'm using TIM2 as a PWM. I have an (periodic) external signal that should reset the TIM2 counter to zero, so that the PWM is synchronized to the external signal. In a previous naive setup, I used the external signal to...

jsvirzi by Associate II
  • 1628 Views
  • 7 replies
  • 0 kudos

RTC Interrupt not accurate when place a function in

Posted on May 12, 2018 at 15:32I just used RTC interrupt to measure msec timing. and  I got some problem.when i write naive code in interrupt there is no problem. timing is correct and no delay. the sample code is belowvoid RTC_IRQHandler(void){    ...

jd kim by Associate II
  • 316 Views
  • 0 replies
  • 0 kudos

problem writing to flash for the second time

Posted on May 12, 2018 at 13:57Hello everyone,I have used the following codes to (erase and then ) write to the flash in STM32F103RCT6, the problem is every time i call this function it writes every page only the first time. meaning when called for ...