Stonewall
STM32 Stops Responding After EXTI Debug
Symptom
Each ? from the host gets COUNT:0 until the feed roller first turns. From that edge on, no ? is ever answered. The registers and bit fields are on the Datasheet tab.
Circuit
Pass condition
Every ? gets one line, COUNT:<n>, where n counts PA1's edges so far. Rising and falling both count. The count stays in EXTI1's interrupt, as in the starter.
Notes
The bench turns the roller and sends each ? on USART1 RX, for as long as the board runs. The encoder's edges are clean and at least 1 ms apart.