I am using STM32F100. I wrote a very long code for my timer interrupt. If the processing time of this code exceeds the interrupt duration, can a pin I SET be RESET?
I have a relay connected to my PB13 output.Even though I keep the PB13 pin, to which the relay is connected, in the '1' position, it occasionally switches to the '0' position. This causes the relay to chatter. And I can’t find what’s causing this iss...
"When I power the system through the USB port, the LED toggles. However, when I apply external voltage without disconnecting the USB, the LED stops toggling. Could the points you mentioned still be relevant to this issue?
void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)
{
if (GPIO_Pin == GPIO_PIN_1)
{
Button++;
}
}If I write only this code into EXTI then the Button variable increases uncontrollably.