Posted on April 26, 2015 at 17:04Hello, I have seen and implemented timer based delay function either based on TIM or systick, and they rely on a variable being inc/dec by the ISR till it satisfies a certain condition inside the Delay loop which all...
Posted on October 29, 2014 at 03:58
Hi,
I am trying to create a debounce delay (10ms at 8MHz clock) using TIM4CH1. Is the following the right way to do it?
The TIM4_Configuration function is called at program startup, then whenever I...
Posted on July 04, 2014 at 12:00I am developing an application based on the STM32VL Discovery board centred around the STM32F100RBT6B microcontroller. The application interfaces with an SPI TFT LCD based on ST7735, a set of user push buttons, SPI EE...
Posted on January 04, 2014 at 13:40
Hello,
I am using STM32VLDISCOVERY and connected 4 tiny push buttons to Pins PB12, PB13, PB14 and PB I am using external pull-up resistors of 100K each (I guess 10K would be much better).
Using the...
Posted on October 25, 2013 at 19:52Hello, I am attaching an export of a small project I built using existing STM32 examples that uses this board to display a clock with date and time. Using the user button, you can toggle between the time and date d...
Posted on April 26, 2015 at 19:41
I think I may have found a solution based on a post in the same forum.
To resolve the issue of CPU waking up due to a different interrupt, the __WFI() call within the delay function can be enclosed in a whil...
Posted on October 30, 2014 at 11:42
Hi,
I do not think that there is a need to involve Output compare as all what I need is software delay without any hardware reflection on external pins.
Here is another way for doing it.
...
Posted on October 30, 2014 at 11:38
Hi,
I found a work around by masking the EXTI interrupt when first EXTI interrupt is received for the correct user action and activating it back once the SW debouncing is completed within the Timer service...
Posted on October 29, 2014 at 12:29Hi, Yes, what I do is the following: Configure PB12-15 as input pull-up with interrupt on rising/falling, and PB8-PB11 as output low.PB12-15 are connected to the 4 columns of the keypad, and PB8-11 are connecte...
Posted on October 29, 2014 at 04:04
Hi,
I am seeing this problem on the STM32VL discovery board. Once in the EXTI ISR, I disable the interrupt and clear the pending bit. Is this the right way to disable the interrupt?
void EXTI15_10_I...