Skip to content
RED SAGSkills
medium10 pts · first answer countsfirmwaregpioconcurrency

Lost GPIO pin changes

Main code does GPIOA->ODR |= LED and an ISR does GPIOA->ODR &= ~RELAY on the same port. Occasionally the relay turns back on by itself. What is the best fix on an STM32?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions