2025-06-08 9:26 AM
Hi,
I fell in love with this cute little uC and created all kinds of succesfull projects.
Now I have a problem. I want to decode DCF77 time signals. I bought me a few DCF77 receivers from China. They all work fine. I connected the data output of the DCF77 to the STM8S103 uC portpin PA1. I configured the port interrupt to only react on high-going edges. Even if the PA1 signal is low, when enabling the PA1 interrupt more than 1 interrupts are executed. I tried many things.
- inside the interrupt handler dummy read the GPIOA->IDR
- inside the interrupt handler keep track if its the first or next entry it turns out also the next entry is executed
- changed the interrupt type to raising-edge-only, same behaviour
But nothing helps,
who can help me out?