Skip to content

[STM32] Interrupts in cmodules do not preempt the main loop #12828

Discussion options

You must be logged in to vote

That's curious, I'm not really sure why it's needing to disable interrupts like that.... however I'd expect the wfi / re-enable should really kick in for the timer interrupt as well anyway and work without any particular delay to timer interrupt.
It'd be worth a test with the irq disable/enable lines commented out to just see what happens.

Replies: 2 comments 18 replies

Comment options

andrewleech
Oct 30, 2023
Collaborator Sponsor

You must be logged in to vote
17 replies
@andrewleech
Comment options

andrewleech Oct 30, 2023
Collaborator Sponsor

@Meekdai
Comment options

@Meekdai
Comment options

@andrewleech
Comment options

andrewleech Oct 30, 2023
Collaborator Sponsor

Answer selected by Meekdai
@Meekdai
Comment options

@andrewleech
Comment options

andrewleech Nov 2, 2023
Collaborator Sponsor

@Meekdai
Comment options

@andrewleech
Comment options

andrewleech Nov 2, 2023
Collaborator Sponsor

Comment options

andrewleech
Nov 3, 2023
Collaborator Sponsor

You must be logged in to vote
1 reply
@Meekdai
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants