STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! FatFs fails randomly with V1.11

Posted on May 11, 2018 at 15:32I'm using FatFs with SDMMC1 on a Nucleo STM32F722ZE with CubeMX 4.25.My project uses FatFs to manipulate a MicroSD card, but I noticed that many operations just fail randomly, usually with FR_DISK_ERR.  For example, in...

Configure Timer Input Capture

Posted on November 10, 2017 at 08:25Hello,I'm trying to measure the frequency of a PWM signal ( 600 Hz) with the Input Capture functionality with an STM32F103.I do these steps: Configure the Tim4 as Input Capture.  Timer Clock 64 MHz;Prescaler =...

Fede Rico by Associate III
  • 1326 Views
  • 7 replies
  • 0 kudos

Resolved! How to find global interrupt state of STM32 MCU?

Posted on May 13, 2018 at 11:22Hi,I'm working on a fairly complex code written by other employees at our company where interrupts are globally disabled and enabled in multiple places using:__enable_irq();and__disable_irq();Sometimes it is not clear ...

STM32F0 Timer interrupt problem

Posted on May 11, 2018 at 13:05I'm using STM32F030R8 @ 40MHz and TIM6. I want to wait for some time without blocking main function, so i used TIM6 - code below:TIM6->CR1 |= TIM_CR1_ARPE | TIM_CR1_OPM;//auto-reload, one-pulse TIM6->PSC = 4000-1;//100...

zenobik by Associate II
  • 883 Views
  • 5 replies
  • 0 kudos

Howto configure timer for half bridge

Posted on May 06, 2018 at 14:03Hello I am prototyping with an STM32F3xxxx and trying to figure out how to configure a timer/s to operate a half bridge smps.The normal situation would be that there is a divide by two circuit in the block labelled 'ou...

Roger H by Associate II
  • 778 Views
  • 2 replies
  • 0 kudos

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
  • 2812 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
  • 1253 Views
  • 7 replies
  • 0 kudos