medium10 pts · first answer countsgpioconcurrency
Atomic GPIO writes
Main code does GPIOA->ODR |= PIN1 while an ISR changes PIN2 on the same port. Pin changes are sometimes lost. What is the clean fix on STM32?
Discussion 0
Join free to post in the discussion.
Related questions
- Floating input pinEmbedded Systems Engineer
- Toggling an LED pinEmbedded Systems Engineer
- Sizing an LED resistorEmbedded Systems Engineer
- Heavy work in an interruptEmbedded Systems Engineer
- printf in an interruptEmbedded Systems Engineer
- One press, many interruptsEmbedded Systems Engineer
- What an open-drain output can doEmbedded Systems Engineer
- Button wired to ground with pull-upEmbedded Systems Engineer