Slow interrupts (~1 second)

To evaluate zephyr, device tree and the configuration system I have started a small test APP from zephyr&hello_world.

I have added console input (console_readchar()) and event on an gpio input pin.

For both character and input event, it takes appoximately a second from stimuli till the ISR hits.

What could be causing this?

I have compared autoconf.h between my project and peripheral_lbs (where it works) - but found no obvious missing configuration.

Parents
  • Hi Tage,

    Thanks for comparing the autoconf.h files. Any chance the difference lies in the rest of your code? Could you share your project with us, so I could try to replicate this? Usually it's sufficient to just copy prj.conf, cmakelists.txt, and your source code files. If you made a devicetree overlay, please share that as well.

    Best regards,

    Raoul

Reply
  • Hi Tage,

    Thanks for comparing the autoconf.h files. Any chance the difference lies in the rest of your code? Could you share your project with us, so I could try to replicate this? Usually it's sufficient to just copy prj.conf, cmakelists.txt, and your source code files. If you made a devicetree overlay, please share that as well.

    Best regards,

    Raoul

Children
Related